qcrypto_signature_op_sign_nodgst
QNX SDP8.0QNX OS System Security GuideAPIConfiguration
Sign a signature digest
Synopsis:
#include <qcrypto/qcrypto_plugin.h>
typedef int(* qcrypto_signature_op_sign_nodgst)(qcrypto_state_ctx_t *sctx,
const uint8_t *digest,
size_t size,
uint8_t *sig,
size_t *sigsize);
Arguments:
- sctx
- The algorithm state context object.
- digest
- The input digest.
- size
- The input digest size.
- sig
- The signature buffer.
- sigsize
- The combined size of the signature buffer and retrieved signature.
Library:
libqcryptoReturns:
QCRYPTO_R_EOK if successful or qcrypto_errno
if an error occurred.
Page updated: