23 #define SHA224_SIZE 28 24 #define SHA224_STATESIZE 32 25 #define SHA224_BLOCKSIZE 64 43 #define SHA256_SIZE 32 44 #define SHA256_STATESIZE 32 45 #define SHA256_BLOCKSIZE 64 58 crypto_sha256_hmac_v(&msg, &msg_len, 1,
key, key_len, digest);
65 #define SHA384_SIZE 48 66 #define SHA384_STATESIZE 64 67 #define SHA384_BLOCKSIZE 128 85 crypto_sha384_hmac_v(&msg, &msg_len, 1,
key, key_len, digest);
92 #define SHA512_SIZE 64 93 #define SHA512_STATESIZE 64 94 #define SHA512_BLOCKSIZE 128 108 crypto_sha512_hmac_v(&msg, &msg_len, 1,
key, key_len, digest);
crypto_sha384_context_t crypto_sha512_context_t
Definition: sha2.h:96
uint32_t count
Definition: sha2.h:71
uint32_t count
Definition: sha2.h:29
static CRYPTO_FUNC_HMAC(sha256)
Definition: sha2.h:56
CRYPTO_FUNC_FINAL(sha224)
CRYPTO_FUNC_SET_STATE(sha224)
CRYPTO_FUNC_GET_STATE(sha224)
void size_t const void * key
Definition: blake2s.h:33
crypto_sha224_context_t crypto_sha256_context_t
Definition: sha2.h:47
#define SHA224_BLOCKSIZE
Definition: sha2.h:25
CRYPTO_FUNC_HMAC_V(sha256)
#define SHA384_BLOCKSIZE
Definition: sha2.h:67
CRYPTO_FUNC_UPDATE(sha224)