devcrypto_digest_op_copy

Copy a digest algorithm state

Synopsis:

#include <dev/crypto/devcrypto_plugin.h>
typedef int(* devcrypto_digest_op_copy)(devcrypto_state_ctx_t *ssctx,
            devcrypto_state_ctx_t *dsctx);

Arguments:

ssctx
The source state context.
dsctx
The destination state context.

Library:

devcr

Returns:

EOK if successful or errno if an error occurred.