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

Macros

#define CRYS_CHACHA_POLY_ADATA_INVALID_ERROR   (CRYS_CHACHA_POLY_MODULE_ERROR_BASE + 0x01UL)
 
#define CRYS_CHACHA_POLY_DATA_INVALID_ERROR   (CRYS_CHACHA_POLY_MODULE_ERROR_BASE + 0x02UL)
 
#define CRYS_CHACHA_POLY_ENC_MODE_INVALID_ERROR   (CRYS_CHACHA_POLY_MODULE_ERROR_BASE + 0x03UL)
 
#define CRYS_CHACHA_POLY_DATA_SIZE_INVALID_ERROR   (CRYS_CHACHA_POLY_MODULE_ERROR_BASE + 0x04UL)
 
#define CRYS_CHACHA_POLY_GEN_KEY_ERROR   (CRYS_CHACHA_POLY_MODULE_ERROR_BASE + 0x05UL)
 
#define CRYS_CHACHA_POLY_ENCRYPTION_ERROR   (CRYS_CHACHA_POLY_MODULE_ERROR_BASE + 0x06UL)
 
#define CRYS_CHACHA_POLY_AUTH_ERROR   (CRYS_CHACHA_POLY_MODULE_ERROR_BASE + 0x07UL)
 
#define CRYS_CHACHA_POLY_MAC_ERROR   (CRYS_CHACHA_POLY_MODULE_ERROR_BASE + 0x08UL)
 

Detailed Description

Macro Definition Documentation

#define CRYS_CHACHA_POLY_ADATA_INVALID_ERROR   (CRYS_CHACHA_POLY_MODULE_ERROR_BASE + 0x01UL)

The CRYS CHACHA POLY module errors base address - 0x00F02400.

Invalid Additional data.

Definition at line 61 of file crys_chacha_poly_error.h.

#define CRYS_CHACHA_POLY_AUTH_ERROR   (CRYS_CHACHA_POLY_MODULE_ERROR_BASE + 0x07UL)

Authentication error.

Definition at line 73 of file crys_chacha_poly_error.h.

#define CRYS_CHACHA_POLY_DATA_INVALID_ERROR   (CRYS_CHACHA_POLY_MODULE_ERROR_BASE + 0x02UL)

Invalid input data.

Definition at line 63 of file crys_chacha_poly_error.h.

#define CRYS_CHACHA_POLY_DATA_SIZE_INVALID_ERROR   (CRYS_CHACHA_POLY_MODULE_ERROR_BASE + 0x04UL)

Illegal data size.

Definition at line 67 of file crys_chacha_poly_error.h.

#define CRYS_CHACHA_POLY_ENC_MODE_INVALID_ERROR   (CRYS_CHACHA_POLY_MODULE_ERROR_BASE + 0x03UL)

Illegal encryption mode.

Definition at line 65 of file crys_chacha_poly_error.h.

#define CRYS_CHACHA_POLY_ENCRYPTION_ERROR   (CRYS_CHACHA_POLY_MODULE_ERROR_BASE + 0x06UL)

CHACHA Key generation error.

Definition at line 71 of file crys_chacha_poly_error.h.

#define CRYS_CHACHA_POLY_GEN_KEY_ERROR   (CRYS_CHACHA_POLY_MODULE_ERROR_BASE + 0x05UL)

Key generation error.

Definition at line 69 of file crys_chacha_poly_error.h.

#define CRYS_CHACHA_POLY_MAC_ERROR   (CRYS_CHACHA_POLY_MODULE_ERROR_BASE + 0x08UL)

MAC comparison error.

Definition at line 75 of file crys_chacha_poly_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.