CRM_INTERRUPTS_ENABLE

C

typedef int (*FUNC_CRM_INTERRUPTS_ENABLE)(void);
#define CRM_INTERRUPTS_ENABLE                           ((FUNC_CRM_INTERRUPTS_ENABLE)(*(uint32_t *)(API_TABLE_BASE_ADDRESS + ATO_CRM_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

CRM_OK

CRM_INTERRUPTS_DISABLE

C

typedef int (*FUNC_CRM_INTERRUPTS_DISABLE)(void);
#define CRM_INTERRUPTS_DISABLE                          ((FUNC_CRM_INTERRUPTS_DISABLE)(*(uint32_t *)(API_TABLE_BASE_ADDRESS + ATO_CRM_INTERRUPTS_DISABLE)))

Description

Disables all hardware interrupts.

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

Parameters

Returns

CRM_OK