Bump generichash minimum key and output size to 128 bits.

People who know what they are doing and who need a truncated output or a
shorter key can still do it.
But we should keep the chance for users to shoot themselves in the foot down
to a minimum.
This commit is contained in:
Frank Denis
2013-05-16 11:25:33 -07:00
parent 9578af69d2
commit 4d147466bc
@@ -6,9 +6,9 @@
#include "export.h"
#define crypto_generichash_blake2b_BYTES_MIN 1U
#define crypto_generichash_blake2b_BYTES_MIN 16U
#define crypto_generichash_blake2b_BYTES_MAX 64U
#define crypto_generichash_blake2b_KEYBYTES_MIN 0U
#define crypto_generichash_blake2b_KEYBYTES_MIN 16U
#define crypto_generichash_blake2b_KEYBYTES_MAX 64U
#define crypto_generichash_blake2b_BLOCKBYTES 128U