nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ ocrypto_hmac_sha256_init()

void ocrypto_hmac_sha256_init ( ocrypto_hmac_sha256_ctx *  ctx,
const uint8_t *  key,
size_t  key_len 
)

#include <crypto/nrf_oberon/include/ocrypto_hmac_sha256.h>

HMAC-SHA-256 initialization.

The generator state ctx is initialized by this function.

Parameters
[out]ctxGenerator state.
keyHMAC key.
key_lenLength of key.