20 #define SHA1_STATESIZE 20
21 #define SHA1_BLOCKSIZE 64
25 #define crypto_sha1_context_t ESP_SHA1_CTX
26 #define crypto_sha1_init ESP_SHA1_Init
27 #define crypto_sha1_update ESP_SHA1_Update
28 #define crypto_sha1_final ESP_SHA1_Final
51 ESP_hmac_sha1_v(
key, key_len, 1, &msg, &msg_len, digest);
56 ESP_hmac_sha1_v(
key, key_len, count, msg, msg_len, digest);
65 crypto_sha1_hmac_v(&msg, &msg_len, 1,
key, key_len, digest);
void size_t const void * key
Definition: blake2s.h:33
#define SHA1_BLOCKSIZE
Definition: sha1.h:21
CRYPTO_FUNC_GET_STATE(sha1)
#define SHA1_STATESIZE
Definition: sha1.h:20
CRYPTO_FUNC_SET_STATE(sha1)
static CRYPTO_FUNC_HMAC(sha1)
Definition: sha1.h:63
uint32_t count
Message length in bytes.
Definition: sha1.h:34