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

◆ ocrypto_poly1305_update()

void ocrypto_poly1305_update ( ocrypto_poly1305_ctx * ctx,
const uint8_t * in,
size_t in_len )

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

Poly1305 generator.

The generator state ctx is updated to authenticate a message chunk in.

This function can be called repeatedly on arbitrarily small chunks of the message until the whole message has been processed.

Parameters
ctxGenerator state.
inInput data.
in_lenLength of in.
Remarks
Initialization of the generator state ctx through ocrypto_poly1305_init is required before this function can be called.