qcrypto_digest_copy()
QNX SDP8.0QNX OS System Security GuideAPIConfiguration
Copy a digest state
Synopsis:
#include <qcrypto/qcrypto.h>int qcrypto_digest_copy(qcrypto_ctx_t *ctx,
                        qcrypto_ctx_t **newctx)Arguments:
- ctx
 - The source algorithm context object.
 - newctx
 - A pointer to the copied algorithm context object.
 
Library:
libqcryptoDescription:
Copies the current, non-finalized, digest context information 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: 
