qcrypto_signature_op_sign_nodgst

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:

libqcrypto

Returns:

QCRYPTO_R_EOK if successful or qcrypto_errno if an error occurred.