![]() |
nrfxlib API 3.3.99
|
| void ocrypto_kmac128_init | ( | ocrypto_kmac_ctx * | ctx, |
| const uint8_t * | key, | ||
| size_t | key_len, | ||
| const uint8_t * | s, | ||
| size_t | s_len ) |
#include <crypto/nrf_oberon/include/ocrypto_kmac.h>
KMAC128 initialization.
The generator state ctx is initialized by this function.
| [out] | ctx | Generator state. |
| key | Key. | |
| key_len | Length of key. | |
| s | Customization bit string. | |
| s_len | Length of s. |