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

◆ ocrypto_poly1305()

void ocrypto_poly1305 ( uint8_t  r[(16)],
const uint8_t *  in,
size_t  in_len,
const uint8_t  k[(32)] 
)

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

Poly1305 message authentication tag.

The Poly1305 authentication of a given input message in is computed using key k and put into r.

Parameters
[out]rGenerated authentication tag.
inInput data.
in_lenLength of in.
kAuthentication key.