nrfxlib API 2.7.99
Loading...
Searching...
No Matches

Type declarations and APIs for the HMAC-SHA512 algorithm. More...

Macros

#define ocrypto_hmac_sha512_BYTES   (64)
 

Functions

void ocrypto_hmac_sha512 (uint8_t r[(64)], const uint8_t *key, size_t key_len, const uint8_t *in, size_t in_len)
 
void ocrypto_hmac_sha512_aad (uint8_t r[(64)], const uint8_t *key, size_t key_len, const uint8_t *in, size_t in_len, const uint8_t *aad, size_t aad_len)
 

Incremental HMAC-SHA-512 generator.

This group of functions can be used to incrementally compute the HMAC-SHA-512 authenticator for a given message.

void ocrypto_hmac_sha512_init (ocrypto_hmac_sha512_ctx *ctx, const uint8_t *key, size_t key_len)
 
void ocrypto_hmac_sha512_update (ocrypto_hmac_sha512_ctx *ctx, const uint8_t *in, size_t in_len)
 
void ocrypto_hmac_sha512_final (ocrypto_hmac_sha512_ctx *ctx, uint8_t r[(64)])
 

Detailed Description

Type declarations and APIs for the HMAC-SHA512 algorithm.

HMAC-SHA512 is an algorithm for message authentication using the cryptographic hash function SHA512 and a reusable secret key. Users in possession of the key can verify the integrity and authenticity of the message.

See also
RFC 2104 - HMAC: Keyed-Hashing for Message Authentication