Updated: October 28, 2024 |
Sign a signature digest
#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);
QCRYPTO_R_EOK if successful or qcrypto_errno if an error occurred.