3.6.4.6.1 Function aes_enable_callback()

Enable an AES callback.

enum status_code aes_enable_callback( struct aes_module *const module, const enum aes_callback_type type)

Table 3-27. Parameters
Data directionParameter nameDescription

[in, out]

module

Pointer to the software instance struct

[in]

type

Callback source type

Returns

Status of the callback enable operation.

Table 3-28. Return Values
Return valueDescription

STATUS_OK

The callback was enabled successfully

STATUS_ERR_INVALID_ARG

If an invalid callback type was supplied