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

Macros

#define CRYS_CHACHA_INVALID_NONCE_ERROR   (CRYS_CHACHA_MODULE_ERROR_BASE + 0x01UL)
 
#define CRYS_CHACHA_ILLEGAL_KEY_SIZE_ERROR   (CRYS_CHACHA_MODULE_ERROR_BASE + 0x02UL)
 
#define CRYS_CHACHA_INVALID_KEY_POINTER_ERROR   (CRYS_CHACHA_MODULE_ERROR_BASE + 0x03UL)
 
#define CRYS_CHACHA_INVALID_ENCRYPT_MODE_ERROR   (CRYS_CHACHA_MODULE_ERROR_BASE + 0x04UL)
 
#define CRYS_CHACHA_DATA_IN_POINTER_INVALID_ERROR   (CRYS_CHACHA_MODULE_ERROR_BASE + 0x05UL)
 
#define CRYS_CHACHA_DATA_OUT_POINTER_INVALID_ERROR   (CRYS_CHACHA_MODULE_ERROR_BASE + 0x06UL)
 
#define CRYS_CHACHA_INVALID_USER_CONTEXT_POINTER_ERROR   (CRYS_CHACHA_MODULE_ERROR_BASE + 0x07UL)
 
#define CRYS_CHACHA_CTX_SIZES_ERROR   (CRYS_CHACHA_MODULE_ERROR_BASE + 0x08UL)
 
#define CRYS_CHACHA_INVALID_NONCE_PTR_ERROR   (CRYS_CHACHA_MODULE_ERROR_BASE + 0x09UL)
 
#define CRYS_CHACHA_DATA_IN_SIZE_ILLEGAL   (CRYS_CHACHA_MODULE_ERROR_BASE + 0x0AUL)
 
#define CRYS_CHACHA_GENERAL_ERROR   (CRYS_CHACHA_MODULE_ERROR_BASE + 0x0BUL)
 
#define CRYS_CHACHA_IS_NOT_SUPPORTED   (CRYS_CHACHA_MODULE_ERROR_BASE + 0xFFUL)
 

Detailed Description

Macro Definition Documentation

#define CRYS_CHACHA_CTX_SIZES_ERROR   (CRYS_CHACHA_MODULE_ERROR_BASE + 0x08UL)

Illegal user context size.

Definition at line 75 of file crys_chacha_error.h.

#define CRYS_CHACHA_DATA_IN_POINTER_INVALID_ERROR   (CRYS_CHACHA_MODULE_ERROR_BASE + 0x05UL)

Illegal data in pointer.

Definition at line 69 of file crys_chacha_error.h.

#define CRYS_CHACHA_DATA_IN_SIZE_ILLEGAL   (CRYS_CHACHA_MODULE_ERROR_BASE + 0x0AUL)

Illegal data in size.

Definition at line 79 of file crys_chacha_error.h.

#define CRYS_CHACHA_DATA_OUT_POINTER_INVALID_ERROR   (CRYS_CHACHA_MODULE_ERROR_BASE + 0x06UL)

Illegal data out pointer.

Definition at line 71 of file crys_chacha_error.h.

#define CRYS_CHACHA_GENERAL_ERROR   (CRYS_CHACHA_MODULE_ERROR_BASE + 0x0BUL)

General error.

Definition at line 81 of file crys_chacha_error.h.

#define CRYS_CHACHA_ILLEGAL_KEY_SIZE_ERROR   (CRYS_CHACHA_MODULE_ERROR_BASE + 0x02UL)

Illegal key size.

Definition at line 63 of file crys_chacha_error.h.

#define CRYS_CHACHA_INVALID_ENCRYPT_MODE_ERROR   (CRYS_CHACHA_MODULE_ERROR_BASE + 0x04UL)

Illegal operation mode.

Definition at line 67 of file crys_chacha_error.h.

#define CRYS_CHACHA_INVALID_KEY_POINTER_ERROR   (CRYS_CHACHA_MODULE_ERROR_BASE + 0x03UL)

Illegal key pointer.

Definition at line 65 of file crys_chacha_error.h.

#define CRYS_CHACHA_INVALID_NONCE_ERROR   (CRYS_CHACHA_MODULE_ERROR_BASE + 0x01UL)

The CRYS CHACHA module errors base address - 0x00F02200.

Illegal Nonce.

Definition at line 61 of file crys_chacha_error.h.

#define CRYS_CHACHA_INVALID_NONCE_PTR_ERROR   (CRYS_CHACHA_MODULE_ERROR_BASE + 0x09UL)

Illegal Nonce pointer.

Definition at line 77 of file crys_chacha_error.h.

#define CRYS_CHACHA_INVALID_USER_CONTEXT_POINTER_ERROR   (CRYS_CHACHA_MODULE_ERROR_BASE + 0x07UL)

Illegal user context.

Definition at line 73 of file crys_chacha_error.h.

#define CRYS_CHACHA_IS_NOT_SUPPORTED   (CRYS_CHACHA_MODULE_ERROR_BASE + 0xFFUL)

CHACHA is not supported.

Definition at line 83 of file crys_chacha_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.