| Updated: October 28, 2024 | 
Verify a signature in a single operation
#include <qcrypto/qcrypto.h>
int qcrypto_signature_verify_oneshot(qcrypto_ctx_t *ctx,
                                     const uint8_t *data,
                                     size_t size,
                                     const uint8_t *sig,
                                     size_t sigsize,
                                     int *status)
This function combines qcrypto_signature_update() and qcrypto_signature_verify() in one operation for cases where the data size is known in advance, is small enough that it can be passed in a single operation, or both.
QCRYPTO_R_EOK if successful or qcrypto_errno if an error occurred.