qcrypto_algorithm_op_init
QNX SDP8.0QNX OS System Security GuideAPIConfiguration
Initialize an algorithm
Synopsis:
#include <qcrypto/qcrypto_plugin.h>
typedef int(* qcrypto_algorithm_op_init)(qcrypto_state_ctx_t *sctx);
Arguments:
- sctx
- The algorithm state context object.
Library:
libqcryptoDescription:
This function is called when an algorithm is requested to allow plugins to allocate resources and prepare the algorithm for use. The algorithm parameters are passed back to the function so that plugins can use them if they need to.
Returns:
QCRYPTO_R_EOK if successful or qcrypto_errno
if an error occurred.
Page updated: