qcrypto_signature_op_sign

Sign a signature

Synopsis:

#include <qcrypto/qcrypto_plugin.h>
typedef int(* qcrypto_signature_op_sign)(qcrypto_state_ctx_t *sctx,
            uint8_t *sig,
            size_t *sigsize);

Arguments:

sctx
The algorithm state context object.
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.