qcrypto_digest_op_copy
QNX SDP8.0QNX OS System Security GuideAPIConfiguration
Copy a digest state object
Synopsis:
#include <qcrypto/qcrypto_plugin.h>
typedef int(* qcrypto_digest_op_copy)(qcrypto_state_ctx_t *sctx,
qcrypto_state_ctx_t *new_sctx);
Arguments:
- sctx
- The source algorithm state context object.
- new_sctx
- The destination algorithm state context object.
Library:
libqcryptoDescription:
This function copies the current, non-finalized state of a digest so that the digest operation can be continued from the last update.
Returns:
QCRYPTO_R_EOK if successful or qcrypto_errno
if an error occurred.
Page updated: