![]() |
nrfxlib API 3.3.99
|
| void ocrypto_hkdf_sha256 | ( | 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_sha256.h>
HKDF-SHA256 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.
| [out] | r | Output key. |
| r_len | Length of r. | |
| key | Input key. | |
| key_len | Length of key. | |
| salt | Salt. | |
| salt_len | Length of salt salt. | |
| info | Additional information. | |
| info_len | Length of info. |