Line data Source code
1 : #include "fd_hmac.h" 2 : 3 : #include "../sha256/fd_sha256.h" 4 : #include "../sha512/fd_sha512.h" 5 : 6 : #define HASH_ALG sha256 7 27197520 : #define HASH_BLOCK_SZ FD_SHA256_BLOCK_SZ 8 388536 : #define HASH_SZ FD_SHA256_HASH_SZ 9 : #include "fd_hmac_tmpl.c" 10 : 11 : #define HASH_ALG sha384 12 0 : #define HASH_BLOCK_SZ FD_SHA384_BLOCK_SZ 13 0 : #define HASH_SZ FD_SHA384_HASH_SZ 14 : #include "fd_hmac_tmpl.c" 15 : 16 : #define HASH_ALG sha512 17 0 : #define HASH_BLOCK_SZ FD_SHA512_BLOCK_SZ 18 0 : #define HASH_SZ FD_SHA512_HASH_SZ 19 : #include "fd_hmac_tmpl.c"