devcrypto_mac_op_init
QNX SDP8.0QNX OS System Security GuideAPIConfiguration
Initialize a MAC algorithm state
Synopsis:
#include <dev/crypto/devcrypto_plugin.h>
typedef int(* devcrypto_mac_op_init)(devcrypto_state_ctx_t *sctx,
const uint8_t *key,
uint32_t keysize);
Arguments:
- sctx
- The state context.
- key
- The MAC key buffer.
- keysize
- The size of the MAC key buffer.
Library:
devcrReturns:
EOK if successful or errno
if an error occurred.
Page updated: