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

Macros

#define CRYS_RND_DATA_OUT_POINTER_INVALID_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0x0UL)
 
#define CRYS_RND_CAN_NOT_GENERATE_RAND_IN_RANGE   (CRYS_RND_MODULE_ERROR_BASE + 0x1UL)
 
#define CRYS_RND_CPRNG_TEST_FAIL_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0x2UL)
 
#define CRYS_RND_ADDITIONAL_INPUT_BUFFER_NULL   (CRYS_RND_MODULE_ERROR_BASE + 0x3UL)
 
#define CRYS_RND_ADDITIONAL_INPUT_SIZE_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0x4UL)
 
#define CRYS_RND_DATA_SIZE_OVERFLOW_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0x5UL)
 
#define CRYS_RND_VECTOR_SIZE_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0x6UL)
 
#define CRYS_RND_RESEED_COUNTER_OVERFLOW_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0x7UL)
 
#define CRYS_RND_INSTANTIATION_NOT_DONE_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0x8UL)
 
#define CRYS_RND_TRNG_LOSS_SAMPLES_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0x9UL)
 
#define CRYS_RND_TRNG_TIME_EXCEED_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0xAUL)
 
#define CRYS_RND_TRNG_LOSS_SAMPLES_AND_TIME_EXCEED_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0xBUL)
 
#define CRYS_RND_IS_KAT_MODE_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0xCUL)
 
#define CRYS_RND_OPERATION_IS_NOT_SUPPORTED_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0xDUL)
 
#define CRYS_RND_STATE_VALIDATION_TAG_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0xEUL)
 
#define CRYS_RND_IS_NOT_SUPPORTED   (CRYS_RND_MODULE_ERROR_BASE + 0xFUL)
 
#define CRYS_RND_GEN_VECTOR_FUNC_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0x14UL)
 
#define CRYS_RND_WORK_BUFFER_PTR_INVALID_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0x20UL)
 
#define CRYS_RND_ILLEGAL_AES_KEY_SIZE_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0x21UL)
 
#define CRYS_RND_ILLEGAL_DATA_PTR_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0x22UL)
 
#define CRYS_RND_ILLEGAL_DATA_SIZE_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0x23UL)
 
#define CRYS_RND_ILLEGAL_PARAMETER_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0x24UL)
 
#define CRYS_RND_STATE_PTR_INVALID_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0x25UL)
 
#define CRYS_RND_TRNG_ERRORS_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0x26UL)
 
#define CRYS_RND_CONTEXT_PTR_INVALID_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0x27UL)
 
#define CRYS_RND_VECTOR_OUT_PTR_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0x30UL)
 
#define CRYS_RND_VECTOR_OUT_SIZE_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0x31UL)
 
#define CRYS_RND_MAX_VECTOR_IS_TOO_SMALL_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0x32UL)
 
#define CRYS_RND_KAT_DATA_PARAMS_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0x33UL)
 
#define CRYS_RND_TRNG_KAT_NOT_SUPPORTED_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0x34UL)
 
#define CRYS_RND_SRAM_NOT_SUPPORTED_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0x35UL)
 
#define CRYS_RND_AES_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0x36UL)
 

Detailed Description

Macro Definition Documentation

#define CRYS_RND_ADDITIONAL_INPUT_BUFFER_NULL   (CRYS_RND_MODULE_ERROR_BASE + 0x3UL)

Illegal additional data buffer.

Definition at line 69 of file crys_rnd_error.h.

#define CRYS_RND_ADDITIONAL_INPUT_SIZE_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0x4UL)

Illegal additional data size.

Definition at line 71 of file crys_rnd_error.h.

#define CRYS_RND_AES_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0x36UL)

AES operation failure.

Definition at line 128 of file crys_rnd_error.h.

#define CRYS_RND_CAN_NOT_GENERATE_RAND_IN_RANGE   (CRYS_RND_MODULE_ERROR_BASE + 0x1UL)

Random generation in range failed .

Definition at line 65 of file crys_rnd_error.h.

#define CRYS_RND_CONTEXT_PTR_INVALID_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0x27UL)

Illegal context pointer.

Definition at line 113 of file crys_rnd_error.h.

#define CRYS_RND_CPRNG_TEST_FAIL_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0x2UL)

CPRNGT test failed.

Definition at line 67 of file crys_rnd_error.h.

#define CRYS_RND_DATA_OUT_POINTER_INVALID_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0x0UL)

RND module on the CRYS layer base address - 0x00F00C00

Illegal output pointer.

Definition at line 63 of file crys_rnd_error.h.

#define CRYS_RND_DATA_SIZE_OVERFLOW_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0x5UL)

Data size overflow.

Definition at line 73 of file crys_rnd_error.h.

#define CRYS_RND_GEN_VECTOR_FUNC_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0x14UL)

Illegal generate vector function pointer.

Definition at line 96 of file crys_rnd_error.h.

#define CRYS_RND_ILLEGAL_AES_KEY_SIZE_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0x21UL)

Illegal AES key size.

Definition at line 101 of file crys_rnd_error.h.

#define CRYS_RND_ILLEGAL_DATA_PTR_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0x22UL)

Illegal data pointer.

Definition at line 103 of file crys_rnd_error.h.

#define CRYS_RND_ILLEGAL_DATA_SIZE_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0x23UL)

Illegal data size.

Definition at line 105 of file crys_rnd_error.h.

#define CRYS_RND_ILLEGAL_PARAMETER_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0x24UL)

Illegal parameter.

Definition at line 107 of file crys_rnd_error.h.

#define CRYS_RND_INSTANTIATION_NOT_DONE_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0x8UL)

Instantiation was not yet called.

Definition at line 79 of file crys_rnd_error.h.

#define CRYS_RND_IS_KAT_MODE_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0xCUL)

RND is in Known Answer Test mode.

Definition at line 87 of file crys_rnd_error.h.

#define CRYS_RND_IS_NOT_SUPPORTED   (CRYS_RND_MODULE_ERROR_BASE + 0xFUL)

RND is not supported.

Definition at line 93 of file crys_rnd_error.h.

#define CRYS_RND_KAT_DATA_PARAMS_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0x33UL)

Illegal Known Answer Tests parameters.

Definition at line 122 of file crys_rnd_error.h.

#define CRYS_RND_MAX_VECTOR_IS_TOO_SMALL_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0x32UL)

Maximal vector size is too small.

Definition at line 120 of file crys_rnd_error.h.

#define CRYS_RND_OPERATION_IS_NOT_SUPPORTED_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0xDUL)

RND operation not supported.

Definition at line 89 of file crys_rnd_error.h.

#define CRYS_RND_RESEED_COUNTER_OVERFLOW_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0x7UL)

Reseed counter overflow - in case this error was returned instantiation or reseeding operation must be called.

Definition at line 77 of file crys_rnd_error.h.

#define CRYS_RND_SRAM_NOT_SUPPORTED_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0x35UL)

SRAM memory is not defined.

Definition at line 126 of file crys_rnd_error.h.

#define CRYS_RND_STATE_PTR_INVALID_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0x25UL)

Illegal RND state pointer.

Definition at line 109 of file crys_rnd_error.h.

#define CRYS_RND_STATE_VALIDATION_TAG_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0xEUL)

RND validity check failed.

Definition at line 91 of file crys_rnd_error.h.

#define CRYS_RND_TRNG_ERRORS_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0x26UL)

TRNG errors.

Definition at line 111 of file crys_rnd_error.h.

#define CRYS_RND_TRNG_KAT_NOT_SUPPORTED_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0x34UL)

TRNG Known Answer Test not supported.

Definition at line 124 of file crys_rnd_error.h.

#define CRYS_RND_TRNG_LOSS_SAMPLES_AND_TIME_EXCEED_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0xBUL)

TRNG loss of samples and time exceeded limitations.

Definition at line 85 of file crys_rnd_error.h.

#define CRYS_RND_TRNG_LOSS_SAMPLES_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0x9UL)

TRNG loss of samples.

Definition at line 81 of file crys_rnd_error.h.

#define CRYS_RND_TRNG_TIME_EXCEED_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0xAUL)

TRNG Time exceeded limitations.

Definition at line 83 of file crys_rnd_error.h.

#define CRYS_RND_VECTOR_OUT_PTR_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0x30UL)

Illegal output vector pointer.

Definition at line 116 of file crys_rnd_error.h.

#define CRYS_RND_VECTOR_OUT_SIZE_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0x31UL)

Illegal output vector size.

Definition at line 118 of file crys_rnd_error.h.

#define CRYS_RND_VECTOR_SIZE_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0x6UL)

Illegal vector size.

Definition at line 75 of file crys_rnd_error.h.

#define CRYS_RND_WORK_BUFFER_PTR_INVALID_ERROR   (CRYS_RND_MODULE_ERROR_BASE + 0x20UL)

Illegal work buffer pointer.

Definition at line 99 of file crys_rnd_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.