SX_INTERRUPTS_ENABLE

C

typedef int (*FUNC_SX_INTERRUPTS_ENABLE)(void);
#define SX_INTERRUPTS_ENABLE                           ((FUNC_SX_INTERRUPTS_ENABLE)(*(uint32_t *)(API_TABLE_BASE_ADDRESS + ATO_SX_INTERRUPTS_ENABLE)))

Description

Prepares the hardware to use hardware interrupts. This function may be called only once, before any function that starts an aead, blkcipher, or hash operation. remark - hardware interrupts are not available for cmmask.

Parameters

Returns

SX_OK

SX_INTERRUPTS_DISABLE

C

typedef int (*FUNC_SX_INTERRUPTS_DISABLE)(void);
#define SX_INTERRUPTS_DISABLE                          ((FUNC_SX_INTERRUPTS_DISABLE)(*(uint32_t *)(API_TABLE_BASE_ADDRESS + ATO_SX_INTERRUPTS_DISABLE)))

Description

Disables all hardware interrupts.

This function may be called only when there is no ongoing hardware processing.

Parameters

Returns

SX_OK