]> git.codecow.com Git - Monocypher.git/commit
Renamed crypto_sign_blake2b_ctx back to crypto_sign_ctx
authorLoup Vaillant <loup@loup-vaillant.fr>
Sun, 1 Dec 2019 11:01:15 +0000 (12:01 +0100)
committerLoup Vaillant <loup@loup-vaillant.fr>
Sun, 1 Dec 2019 11:01:15 +0000 (12:01 +0100)
commit10dbba8069ae91e7f30c53e49f7e9a3c5213cb5a
tree74c0b9ebddb7ac3403e519536ebf62cca053b45b
parentd83434fc5bb361c78efa4bc1e93db315b5fc4e64
Renamed crypto_sign_blake2b_ctx back to crypto_sign_ctx

Also renamed crypto_check_blake2b_ctx back to crypto_check_ctx.

This serves two purposes: avoid breaking the API when users upgrade from
Monocypher 2.x, and keep the idea that Blake2b is the default hash (the
default settings are implied and need not be named).

Note that although old code is not broken, it will still have warnings.
Those are easily silenced by casting to (void*).
src/monocypher.c
src/monocypher.h
tests/test.c