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

Macros

#define SASI_FATAL_ERROR   CRYS_FATAL_ERROR
 
#define SASI_OUT_OF_RESOURCE_ERROR   CRYS_OUT_OF_RESOURCE_ERROR
 
#define SASI_ILLEGAL_RESOURCE_VAL_ERROR   CRYS_ILLEGAL_RESOURCE_VAL_ERROR
 
#define SASI_AES_INVALID_USER_CONTEXT_POINTER_ERROR   (CRYS_AES_MODULE_ERROR_BASE + 0x00UL)
 
#define SASI_AES_INVALID_IV_OR_TWEAK_PTR_ERROR   (CRYS_AES_MODULE_ERROR_BASE + 0x01UL)
 
#define SASI_AES_ILLEGAL_OPERATION_MODE_ERROR   (CRYS_AES_MODULE_ERROR_BASE + 0x02UL)
 
#define SASI_AES_ILLEGAL_KEY_SIZE_ERROR   (CRYS_AES_MODULE_ERROR_BASE + 0x03UL)
 
#define SASI_AES_INVALID_KEY_POINTER_ERROR   (CRYS_AES_MODULE_ERROR_BASE + 0x04UL)
 
#define SASI_AES_KEY_TYPE_NOT_SUPPORTED_ERROR   (CRYS_AES_MODULE_ERROR_BASE + 0x05UL)
 
#define SASI_AES_INVALID_ENCRYPT_MODE_ERROR   (CRYS_AES_MODULE_ERROR_BASE + 0x06UL)
 
#define SASI_AES_USER_CONTEXT_CORRUPTED_ERROR   (CRYS_AES_MODULE_ERROR_BASE + 0x07UL)
 
#define SASI_AES_DATA_IN_POINTER_INVALID_ERROR   (CRYS_AES_MODULE_ERROR_BASE + 0x08UL)
 
#define SASI_AES_DATA_OUT_POINTER_INVALID_ERROR   (CRYS_AES_MODULE_ERROR_BASE + 0x09UL)
 
#define SASI_AES_DATA_IN_SIZE_ILLEGAL   (CRYS_AES_MODULE_ERROR_BASE + 0x0AUL)
 
#define SASI_AES_DATA_OUT_DATA_IN_OVERLAP_ERROR   (CRYS_AES_MODULE_ERROR_BASE + 0x0BUL)
 
#define SASI_AES_DATA_IN_BUFFER_SIZE_ERROR   (CRYS_AES_MODULE_ERROR_BASE + 0x0CUL)
 
#define SASI_AES_DATA_OUT_BUFFER_SIZE_ERROR   (CRYS_AES_MODULE_ERROR_BASE + 0x0DUL)
 
#define SASI_AES_ILLEGAL_PADDING_TYPE_ERROR   (CRYS_AES_MODULE_ERROR_BASE + 0x0EUL)
 
#define SASI_AES_INCORRECT_PADDING_ERROR   (CRYS_AES_MODULE_ERROR_BASE + 0x0FUL)
 
#define SASI_AES_CORRUPTED_OUTPUT_ERROR   (CRYS_AES_MODULE_ERROR_BASE + 0x10UL)
 
#define SASI_AES_DATA_OUT_SIZE_POINTER_INVALID_ERROR   (CRYS_AES_MODULE_ERROR_BASE + 0x11UL)
 
#define SASI_AES_DECRYPTION_NOT_ALLOWED_ON_THIS_MODE   (CRYS_AES_MODULE_ERROR_BASE + 0x12UL)
 
#define SASI_AES_ADDITIONAL_BLOCK_NOT_PERMITTED_ERROR   (CRYS_AES_MODULE_ERROR_BASE + 0x15UL)
 
#define SASI_AES_CTX_SIZES_ERROR   (CRYS_AES_MODULE_ERROR_BASE + 0x16UL)
 
#define SASI_AES_ILLEGAL_PARAMS_ERROR   (CRYS_AES_MODULE_ERROR_BASE + 0x60UL)
 
#define SASI_AES_CTR_ILLEGAL_BLOCK_OFFSET_ERROR   (CRYS_AES_MODULE_ERROR_BASE + 0x70UL)
 
#define SASI_AES_CTR_ILLEGAL_COUNTER_ERROR   (CRYS_AES_MODULE_ERROR_BASE + 0x71UL)
 
#define SASI_AES_IS_NOT_SUPPORTED   (CRYS_AES_MODULE_ERROR_BASE + 0xFFUL)
 

Detailed Description

Macro Definition Documentation

#define SASI_AES_ADDITIONAL_BLOCK_NOT_PERMITTED_ERROR   (CRYS_AES_MODULE_ERROR_BASE + 0x15UL)

Additional block operation is not permitted.

Definition at line 104 of file ssi_aes_error.h.

#define SASI_AES_CORRUPTED_OUTPUT_ERROR   (CRYS_AES_MODULE_ERROR_BASE + 0x10UL)

Output is corrupted.

Definition at line 98 of file ssi_aes_error.h.

#define SASI_AES_CTR_ILLEGAL_BLOCK_OFFSET_ERROR   (CRYS_AES_MODULE_ERROR_BASE + 0x70UL)

Illegal CTR block offset.

Definition at line 111 of file ssi_aes_error.h.

#define SASI_AES_CTR_ILLEGAL_COUNTER_ERROR   (CRYS_AES_MODULE_ERROR_BASE + 0x71UL)

Illegal counter (in CTR mode).

Definition at line 113 of file ssi_aes_error.h.

#define SASI_AES_CTX_SIZES_ERROR   (CRYS_AES_MODULE_ERROR_BASE + 0x16UL)

Illegal context size.

Definition at line 106 of file ssi_aes_error.h.

#define SASI_AES_DATA_IN_BUFFER_SIZE_ERROR   (CRYS_AES_MODULE_ERROR_BASE + 0x0CUL)

Illegal data in buffer size.

Definition at line 90 of file ssi_aes_error.h.

#define SASI_AES_DATA_IN_POINTER_INVALID_ERROR   (CRYS_AES_MODULE_ERROR_BASE + 0x08UL)

Illegal data in pointer.

Definition at line 82 of file ssi_aes_error.h.

#define SASI_AES_DATA_IN_SIZE_ILLEGAL   (CRYS_AES_MODULE_ERROR_BASE + 0x0AUL)

Illegal data in size.

Definition at line 86 of file ssi_aes_error.h.

#define SASI_AES_DATA_OUT_BUFFER_SIZE_ERROR   (CRYS_AES_MODULE_ERROR_BASE + 0x0DUL)

Illegal data out buffer size.

Definition at line 92 of file ssi_aes_error.h.

#define SASI_AES_DATA_OUT_DATA_IN_OVERLAP_ERROR   (CRYS_AES_MODULE_ERROR_BASE + 0x0BUL)

Illegal data out address.

Definition at line 88 of file ssi_aes_error.h.

#define SASI_AES_DATA_OUT_POINTER_INVALID_ERROR   (CRYS_AES_MODULE_ERROR_BASE + 0x09UL)

Illegal data out pointer.

Definition at line 84 of file ssi_aes_error.h.

#define SASI_AES_DATA_OUT_SIZE_POINTER_INVALID_ERROR   (CRYS_AES_MODULE_ERROR_BASE + 0x11UL)

Illegal output size.

Definition at line 100 of file ssi_aes_error.h.

#define SASI_AES_DECRYPTION_NOT_ALLOWED_ON_THIS_MODE   (CRYS_AES_MODULE_ERROR_BASE + 0x12UL)

Decryption operation is not permitted in this mode.

Definition at line 102 of file ssi_aes_error.h.

#define SASI_AES_ILLEGAL_KEY_SIZE_ERROR   (CRYS_AES_MODULE_ERROR_BASE + 0x03UL)

Illegal key size.

Definition at line 72 of file ssi_aes_error.h.

#define SASI_AES_ILLEGAL_OPERATION_MODE_ERROR   (CRYS_AES_MODULE_ERROR_BASE + 0x02UL)

Illegal operation.

Definition at line 70 of file ssi_aes_error.h.

#define SASI_AES_ILLEGAL_PADDING_TYPE_ERROR   (CRYS_AES_MODULE_ERROR_BASE + 0x0EUL)

Illegal padding type.

Definition at line 94 of file ssi_aes_error.h.

#define SASI_AES_ILLEGAL_PARAMS_ERROR   (CRYS_AES_MODULE_ERROR_BASE + 0x60UL)

Illegal parameters.

Definition at line 109 of file ssi_aes_error.h.

#define SASI_AES_INCORRECT_PADDING_ERROR   (CRYS_AES_MODULE_ERROR_BASE + 0x0FUL)

Incorrect padding.

Definition at line 96 of file ssi_aes_error.h.

#define SASI_AES_INVALID_ENCRYPT_MODE_ERROR   (CRYS_AES_MODULE_ERROR_BASE + 0x06UL)

Illegal operation.

Definition at line 78 of file ssi_aes_error.h.

#define SASI_AES_INVALID_IV_OR_TWEAK_PTR_ERROR   (CRYS_AES_MODULE_ERROR_BASE + 0x01UL)

Illegal IV or tweak pointer.

Definition at line 68 of file ssi_aes_error.h.

#define SASI_AES_INVALID_KEY_POINTER_ERROR   (CRYS_AES_MODULE_ERROR_BASE + 0x04UL)

Illegal key pointer.

Definition at line 74 of file ssi_aes_error.h.

#define SASI_AES_INVALID_USER_CONTEXT_POINTER_ERROR   (CRYS_AES_MODULE_ERROR_BASE + 0x00UL)

CRYS_AES_MODULE_ERROR_BASE - 0x00F00000.

Illegal user context.

Definition at line 66 of file ssi_aes_error.h.

#define SASI_AES_IS_NOT_SUPPORTED   (CRYS_AES_MODULE_ERROR_BASE + 0xFFUL)

AES is not supported.

Definition at line 115 of file ssi_aes_error.h.

#define SASI_AES_KEY_TYPE_NOT_SUPPORTED_ERROR   (CRYS_AES_MODULE_ERROR_BASE + 0x05UL)

Unsupported key type.

Definition at line 76 of file ssi_aes_error.h.

#define SASI_AES_USER_CONTEXT_CORRUPTED_ERROR   (CRYS_AES_MODULE_ERROR_BASE + 0x07UL)

User context corrupted.

Definition at line 80 of file ssi_aes_error.h.

#define SASI_FATAL_ERROR   CRYS_FATAL_ERROR

General fatal error.

Definition at line 58 of file ssi_aes_error.h.

#define SASI_ILLEGAL_RESOURCE_VAL_ERROR   CRYS_ILLEGAL_RESOURCE_VAL_ERROR

General Illegal resource value error.

Definition at line 62 of file ssi_aes_error.h.

#define SASI_OUT_OF_RESOURCE_ERROR   CRYS_OUT_OF_RESOURCE_ERROR

General out of resources error.

Definition at line 60 of file ssi_aes_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.