nrfxlib API 2.8.99
Loading...
Searching...
No Matches

◆ ocrypto_hkdf_sha1()

void ocrypto_hkdf_sha1 ( uint8_t * r,
size_t r_len,
const uint8_t * key,
size_t key_len,
const uint8_t * salt,
size_t salt_len,
const uint8_t * info,
size_t info_len )

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

HKDF-SHA1 algorithm.

A new pseudo-random key of length r_len is derived from an input key key, a salt salt and additional information info. The new key is put into r.

Parameters
[out]rOutput key.
r_lenLength of r.
keyInput key.
key_lenLength of key.
saltSalt.
salt_lenLength of salt salt.
infoAdditional information.
info_lenLength of info.