add blake2b hash

This commit is contained in:
Kelvin Sherlock
2017-04-08 15:40:56 -04:00
parent 5924bd43e6
commit 7c5fef9b71
6 changed files with 601 additions and 2 deletions
+3
View File
@@ -183,6 +183,9 @@ const char *crypt_build_settings =
#if defined(LTC_BLAKE2S)
" BLAKE2S\n"
#endif
#if defined(LTC_BLAKE2B)
" BLAKE2B\n"
#endif
#if defined(LTC_CHC_HASH)
" CHC_HASH\n"
#endif
+3
View File
@@ -74,6 +74,9 @@ static const crypt_size _crypt_sizes[] = {
#ifdef LTC_BLAKE2S
_SZ_STRINGIFY_S(blake2s_state),
#endif
#ifdef LTC_BLAKE2B
_SZ_STRINGIFY_S(blake2b_state),
#endif
#ifdef LTC_CHC_HASH
_SZ_STRINGIFY_S(chc_state),
#endif