Mistake on this page?
Report an issue in GitHub or email us
Macros
CryptoCell AES-CCM specific errors

Macros

#define CRYS_AESCCM_INVALID_USER_CONTEXT_POINTER_ERROR   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x00UL)
 
#define CRYS_AESCCM_ILLEGAL_KEY_SIZE_ERROR   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x01UL)
 
#define CRYS_AESCCM_INVALID_KEY_POINTER_ERROR   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x02UL)
 
#define CRYS_AESCCM_INVALID_ENCRYPT_MODE_ERROR   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x03UL)
 
#define CRYS_AESCCM_USER_CONTEXT_CORRUPTED_ERROR   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x04UL)
 
#define CRYS_AESCCM_DATA_IN_POINTER_INVALID_ERROR   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x05UL)
 
#define CRYS_AESCCM_DATA_OUT_POINTER_INVALID_ERROR   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x06UL)
 
#define CRYS_AESCCM_DATA_IN_SIZE_ILLEGAL   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x07UL)
 
#define CRYS_AESCCM_DATA_OUT_DATA_IN_OVERLAP_ERROR   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x08UL)
 
#define CRYS_AESCCM_DATA_OUT_SIZE_INVALID_ERROR   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x09UL)
 
#define CRYS_AESCCM_ADDITIONAL_BLOCK_NOT_PERMITTED_ERROR   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x0AUL)
 
#define CRYS_AESCCM_ILLEGAL_DMA_BUFF_TYPE_ERROR   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x0BUL)
 
#define CRYS_AESCCM_ILLEGAL_PARAMETER_SIZE_ERROR   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x0CUL)
 
#define CRYS_AESCCM_ILLEGAL_PARAMETER_PTR_ERROR   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x0DUL)
 
#define CRYS_AESCCM_ILLEGAL_DATA_TYPE_ERROR   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x0EUL)
 
#define CRYS_AESCCM_CCM_MAC_INVALID_ERROR   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x0FUL)
 
#define CRYS_AESCCM_LAST_BLOCK_NOT_PERMITTED_ERROR   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x10UL)
 
#define CRYS_AESCCM_ILLEGAL_PARAMETER_ERROR   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x11UL)
 
#define CRYS_AESCCM_NOT_ALL_ADATA_WAS_PROCESSED_ERROR   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x13UL)
 
#define CRYS_AESCCM_NOT_ALL_DATA_WAS_PROCESSED_ERROR   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x14UL)
 
#define CRYS_AESCCM_ADATA_WAS_PROCESSED_ERROR   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x15UL)
 
#define CRYS_AESCCM_ILLEGAL_NONCE_SIZE_ERROR   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x16UL)
 
#define CRYS_AESCCM_ILLEGAL_TAG_SIZE_ERROR   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x17UL)
 
#define CRYS_AESCCM_CTX_SIZES_ERROR   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x28UL)
 
#define CRYS_AESCCM_ILLEGAL_PARAMS_ERROR   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x29UL)
 
#define CRYS_AESCCM_IS_NOT_SUPPORTED   (CRYS_AESCCM_MODULE_ERROR_BASE + 0xFFUL)
 

Detailed Description

Macro Definition Documentation

#define CRYS_AESCCM_ADATA_WAS_PROCESSED_ERROR   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x15UL)

Additional data was already processed (must be processed only once).

Definition at line 101 of file crys_aesccm_error.h.

#define CRYS_AESCCM_ADDITIONAL_BLOCK_NOT_PERMITTED_ERROR   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x0AUL)

Illegal call to process additional data.

Definition at line 81 of file crys_aesccm_error.h.

#define CRYS_AESCCM_CCM_MAC_INVALID_ERROR   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x0FUL)

CCM MAC compare failure.

Definition at line 91 of file crys_aesccm_error.h.

#define CRYS_AESCCM_CTX_SIZES_ERROR   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x28UL)

Illegal context size.

Definition at line 108 of file crys_aesccm_error.h.

#define CRYS_AESCCM_DATA_IN_POINTER_INVALID_ERROR   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x05UL)

Invalid data in pointer.

Definition at line 71 of file crys_aesccm_error.h.

#define CRYS_AESCCM_DATA_IN_SIZE_ILLEGAL   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x07UL)

Illegal data in size.

Definition at line 75 of file crys_aesccm_error.h.

#define CRYS_AESCCM_DATA_OUT_DATA_IN_OVERLAP_ERROR   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x08UL)

Illegal data in or data out address.

Definition at line 77 of file crys_aesccm_error.h.

#define CRYS_AESCCM_DATA_OUT_POINTER_INVALID_ERROR   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x06UL)

Invalid data out pointer.

Definition at line 73 of file crys_aesccm_error.h.

#define CRYS_AESCCM_DATA_OUT_SIZE_INVALID_ERROR   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x09UL)

Illegal data out size.

Definition at line 79 of file crys_aesccm_error.h.

#define CRYS_AESCCM_ILLEGAL_DATA_TYPE_ERROR   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x0EUL)

Invalid data type.

Definition at line 89 of file crys_aesccm_error.h.

#define CRYS_AESCCM_ILLEGAL_DMA_BUFF_TYPE_ERROR   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x0BUL)

Illegal dma buffer type.

Definition at line 83 of file crys_aesccm_error.h.

#define CRYS_AESCCM_ILLEGAL_KEY_SIZE_ERROR   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x01UL)

Illegal key size.

Definition at line 63 of file crys_aesccm_error.h.

#define CRYS_AESCCM_ILLEGAL_NONCE_SIZE_ERROR   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x16UL)

Illegal Nonce size.

Definition at line 103 of file crys_aesccm_error.h.

#define CRYS_AESCCM_ILLEGAL_PARAMETER_ERROR   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x11UL)

Illegal parameter.

Definition at line 95 of file crys_aesccm_error.h.

#define CRYS_AESCCM_ILLEGAL_PARAMETER_PTR_ERROR   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x0DUL)

Invalid parameter pointer.

Definition at line 87 of file crys_aesccm_error.h.

#define CRYS_AESCCM_ILLEGAL_PARAMETER_SIZE_ERROR   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x0CUL)

Illegal parameter size.

Definition at line 85 of file crys_aesccm_error.h.

#define CRYS_AESCCM_ILLEGAL_PARAMS_ERROR   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x29UL)

Illegal parameters.

Definition at line 110 of file crys_aesccm_error.h.

#define CRYS_AESCCM_ILLEGAL_TAG_SIZE_ERROR   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x17UL)

Illegal tag (MAC) size.

Definition at line 105 of file crys_aesccm_error.h.

#define CRYS_AESCCM_INVALID_ENCRYPT_MODE_ERROR   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x03UL)

Invalid encryption mode.

Definition at line 67 of file crys_aesccm_error.h.

#define CRYS_AESCCM_INVALID_KEY_POINTER_ERROR   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x02UL)

Invalid key pointer.

Definition at line 65 of file crys_aesccm_error.h.

#define CRYS_AESCCM_INVALID_USER_CONTEXT_POINTER_ERROR   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x00UL)

CRYS AESCCM module errors. CRYS_AESCCM_MODULE_ERROR_BASE = 0x00F01500.

Invalid context pointer.

Definition at line 61 of file crys_aesccm_error.h.

#define CRYS_AESCCM_IS_NOT_SUPPORTED   (CRYS_AESCCM_MODULE_ERROR_BASE + 0xFFUL)

AESCCM is not supported.

Definition at line 112 of file crys_aesccm_error.h.

#define CRYS_AESCCM_LAST_BLOCK_NOT_PERMITTED_ERROR   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x10UL)

Illegal operation.

Definition at line 93 of file crys_aesccm_error.h.

#define CRYS_AESCCM_NOT_ALL_ADATA_WAS_PROCESSED_ERROR   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x13UL)

Additional data input size is incorrect.

Definition at line 97 of file crys_aesccm_error.h.

#define CRYS_AESCCM_NOT_ALL_DATA_WAS_PROCESSED_ERROR   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x14UL)

Text data input size is incorrect.

Definition at line 99 of file crys_aesccm_error.h.

#define CRYS_AESCCM_USER_CONTEXT_CORRUPTED_ERROR   (CRYS_AESCCM_MODULE_ERROR_BASE + 0x04UL)

Context is corrupted.

Definition at line 69 of file crys_aesccm_error.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.