diff options
author | Mattias Andrée <maandree@kth.se> | 2024-09-01 16:34:46 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2024-09-01 16:34:46 +0200 |
commit | d737d34b436f673173695c4c772f0ddef9fe7837 (patch) | |
tree | f6bf400809124d411eaff38fe2c9d24842c8d23a /common.h | |
parent | m fix (diff) | |
download | libhashsum-d737d34b436f673173695c4c772f0ddef9fe7837.tar.gz libhashsum-d737d34b436f673173695c4c772f0ddef9fe7837.tar.bz2 libhashsum-d737d34b436f673173695c4c772f0ddef9fe7837.tar.xz |
Add support for BLAKE2 (but not tree-hashing)
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'common.h')
-rw-r--r-- | common.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -24,7 +24,10 @@ #if defined(SUPPORT_BLAKES) || defined(SUPPORT_BLAKEB) # define SUPPORT_BLAKE #endif -#if defined(SUPPORT_BLAKE) +#if defined(SUPPORT_BLAKE2S) || defined(SUPPORT_BLAKE2B) +# define SUPPORT_BLAKE2 +#endif +#if defined(SUPPORT_BLAKE) || defined(SUPPORT_BLAKE2) # define LIBHASHSUM_INCLUDE_LIBBLAKE_STATE #endif |