![]() |
nrfxlib API 3.3.99
|
| void ocrypto_kmac128 | ( | uint8_t * | r, |
| size_t | r_len, | ||
| const uint8_t * | key, | ||
| size_t | key_len, | ||
| const uint8_t * | in, | ||
| size_t | in_len, | ||
| const uint8_t * | s, | ||
| size_t | s_len ) |
#include <crypto/nrf_oberon/include/ocrypto_kmac.h>
KMAC128 Message Authentication Code function.
The KMAC128 output of a given input message in and key key is computed and put into r.
| [out] | r | Generated mac. |
| r_len | Length of r. | |
| key | Key. | |
| key_len | Length of key. | |
| in | Input data. | |
| in_len | Length of in. | |
| s | Customization bit string. | |
| s_len | Length of s. |