devcrypto_mac_op_update

Updated: April 19, 2023

Update a MAC algorithm state

Synopsis:

#include <dev/crypto/devcrypto_plugin.h>
typedef int(* devcrypto_mac_op_update)(devcrypto_state_ctx_t *sctx,
            const uint8_t *data,
            uint32_t size);

Arguments:

sctx
The state context.
data
The data buffer to digest.
size
The data buffer size.

Library:

devcr

Returns:

EOK if successful or errno if an error occurred.