devcrypto_digest_op_update

Update a digest algorithm state

Synopsis:

#include <dev/crypto/devcrypto_plugin.h>
typedef int(* devcrypto_digest_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.