qcrypto_signature_op_sign_oneshot

Sign a signature using a single operation

Synopsis:

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

Arguments:

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