devcrypto_digest_op_init

Initialize a digest algorithm state

Synopsis:

#include <dev/crypto/devcrypto_plugin.h>
typedef int(* devcrypto_digest_op_init)(devcrypto_state_ctx_t *sctx);

Arguments:

sctx
The state context.

Library:

devcr

Returns:

EOK if successful or errno if an error occurred.