devcrypto_algorithm_op_init
QNX SDP8.0QNX OS System Security GuideAPIConfiguration
Initialize an algorithm
Synopsis:
#include <dev/crypto/devcrypto_plugin.h>
typedef int(* devcrypto_algorithm_op_init)(devcrypto_state_ctx_t *sctx);
Arguments:
- sctx
- The state context.
Library:
devcrDescription:
This function is called when an algorithm is requested to allow plugins to allocate resources and prepare the algorithm for use.
Returns:
EOK if successful or errno
if an error occurred.
Page updated: