qcrypto_signature_sign_oneshot()
QNX SDP8.0QNX OS System Security GuideAPIConfiguration
Sign a signature using a single operation
Synopsis:
#include <qcrypto/qcrypto.h>int qcrypto_signature_sign_oneshot(qcrypto_ctx_t *ctx,
                                   const uint8_t *data,
                                   size_t size,
                                   uint8_t *sig,
                                   size_t *sigsize)Arguments:
- ctx
 - The algorithm context object.
 - data
 - The input data.
 - size
 - The input data size.
 - sig
 - The signature buffer.
 - sigsize
 - The combined size of the signature buffer and the retrieved signature.
 
Library:
libqcryptoDescription:
This function combines qcrypto_signature_update() and qcrypto_signature_sign() in one operation for cases where the data size is known in advance, it is small enough that it can be passed in a single operation, or both.
Returns:
QCRYPTO_R_EOK if successful or qcrypto_errno if an error occurred. 
Page updated: 
