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

Macros

#define CRYS_HMAC_INVALID_USER_CONTEXT_POINTER_ERROR   (CRYS_HMAC_MODULE_ERROR_BASE + 0x0UL)
 
#define CRYS_HMAC_ILLEGAL_OPERATION_MODE_ERROR   (CRYS_HMAC_MODULE_ERROR_BASE + 0x1UL)
 
#define CRYS_HMAC_USER_CONTEXT_CORRUPTED_ERROR   (CRYS_HMAC_MODULE_ERROR_BASE + 0x2UL)
 
#define CRYS_HMAC_DATA_IN_POINTER_INVALID_ERROR   (CRYS_HMAC_MODULE_ERROR_BASE + 0x3UL)
 
#define CRYS_HMAC_DATA_SIZE_ILLEGAL   (CRYS_HMAC_MODULE_ERROR_BASE + 0x4UL)
 
#define CRYS_HMAC_INVALID_RESULT_BUFFER_POINTER_ERROR   (CRYS_HMAC_MODULE_ERROR_BASE + 0x5UL)
 
#define CRYS_HMAC_INVALID_KEY_POINTER_ERROR   (CRYS_HMAC_MODULE_ERROR_BASE + 0x6UL)
 
#define CRYS_HMAC_UNVALID_KEY_SIZE_ERROR   (CRYS_HMAC_MODULE_ERROR_BASE + 0x7UL)
 
#define CRYS_HMAC_LAST_BLOCK_ALREADY_PROCESSED_ERROR   (CRYS_HMAC_MODULE_ERROR_BASE + 0xBUL)
 
#define CRYS_HMAC_ILLEGAL_PARAMS_ERROR   (CRYS_HMAC_MODULE_ERROR_BASE + 0xCUL)
 
#define CRYS_HMAC_CTX_SIZES_ERROR   (CRYS_HMAC_MODULE_ERROR_BASE + 0xEUL)
 
#define CRYS_HMAC_IS_NOT_SUPPORTED   (CRYS_HMAC_MODULE_ERROR_BASE + 0xFUL)
 

Detailed Description

Macro Definition Documentation

#define CRYS_HMAC_CTX_SIZES_ERROR   (CRYS_HMAC_MODULE_ERROR_BASE + 0xEUL)

Illegal context size.

Definition at line 80 of file crys_hmac_error.h.

#define CRYS_HMAC_DATA_IN_POINTER_INVALID_ERROR   (CRYS_HMAC_MODULE_ERROR_BASE + 0x3UL)

Illegal data in pointer.

Definition at line 66 of file crys_hmac_error.h.

#define CRYS_HMAC_DATA_SIZE_ILLEGAL   (CRYS_HMAC_MODULE_ERROR_BASE + 0x4UL)

Illegal data in size.

Definition at line 68 of file crys_hmac_error.h.

#define CRYS_HMAC_ILLEGAL_OPERATION_MODE_ERROR   (CRYS_HMAC_MODULE_ERROR_BASE + 0x1UL)

Illegal operation mode.

Definition at line 62 of file crys_hmac_error.h.

#define CRYS_HMAC_ILLEGAL_PARAMS_ERROR   (CRYS_HMAC_MODULE_ERROR_BASE + 0xCUL)

Illegal parameters.

Definition at line 78 of file crys_hmac_error.h.

#define CRYS_HMAC_INVALID_KEY_POINTER_ERROR   (CRYS_HMAC_MODULE_ERROR_BASE + 0x6UL)

Illegal key buffer pointer.

Definition at line 72 of file crys_hmac_error.h.

#define CRYS_HMAC_INVALID_RESULT_BUFFER_POINTER_ERROR   (CRYS_HMAC_MODULE_ERROR_BASE + 0x5UL)

Illegal result buffer pointer.

Definition at line 70 of file crys_hmac_error.h.

#define CRYS_HMAC_INVALID_USER_CONTEXT_POINTER_ERROR   (CRYS_HMAC_MODULE_ERROR_BASE + 0x0UL)

The CRYS HMAC module errors

Illegal context pointer.

Definition at line 60 of file crys_hmac_error.h.

#define CRYS_HMAC_IS_NOT_SUPPORTED   (CRYS_HMAC_MODULE_ERROR_BASE + 0xFUL)

HMAC is not supported.

Definition at line 82 of file crys_hmac_error.h.

#define CRYS_HMAC_LAST_BLOCK_ALREADY_PROCESSED_ERROR   (CRYS_HMAC_MODULE_ERROR_BASE + 0xBUL)

Last block was already processed (may happen if previous block was not a multiple of block size).

Definition at line 76 of file crys_hmac_error.h.

#define CRYS_HMAC_UNVALID_KEY_SIZE_ERROR   (CRYS_HMAC_MODULE_ERROR_BASE + 0x7UL)

Illegal key size.

Definition at line 74 of file crys_hmac_error.h.

#define CRYS_HMAC_USER_CONTEXT_CORRUPTED_ERROR   (CRYS_HMAC_MODULE_ERROR_BASE + 0x2UL)

Context is corrupted.

Definition at line 64 of file crys_hmac_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.