Security AES CCM declarations

nRF5 SDK v14.0.0

Module to declare Security AES CCM API. More...

Data Structures

struct sec_aes_ccm_req_t
AES CCM request. More...

Functions

void sec_init (void)
Function for initializing the security abstraction layer.
sec_aes_ccm_status_t sec_aes_ccm_enc ( sec_aes_ccm_req_t *req)
AES CCM encryption transformation. More...
sec_aes_ccm_status_t sec_aes_ccm_dec ( sec_aes_ccm_req_t *req)
AES CCM decryption transformation. More...

Detailed Description

Module to declare Security AES CCM API.

Enumeration Type Documentation

AES CCM Status enumeration.

Enumerator
AES_CCM_OK

AES CCM operation succeeded.

AES_ENGINE_FAIL

AES engine failed.

AES_CCM_FAIL

CCM algorithm failed.

AES_CCM_AUTH_FAIL

CCM authentication failed.

Function Documentation

AES CCM decryption transformation.

Performs synchronous decryption of a cipher.

Parameters
req Decryption request structure.
Returns
AES_CCM_OK on success, otherwise an implementation defined error.

AES CCM encryption transformation.

Performs synchronous encryption of data.

Parameters
req Encryption request structure.
Returns
AES_CCM_OK on success, otherwise an implementation defined error.