Mistake on this page?
Report an issue in GitHub or email us
Macros
crys_dh_error.h File Reference

This file contains error codes definitions for CRYS DH module. More...

#include "crys_error.h"

Go to the source code of this file.

Macros

#define CRYS_DH_INVALID_ARGUMENT_POINTER_ERROR   (CRYS_DH_MODULE_ERROR_BASE + 0x0UL)
 
#define CRYS_DH_INVALID_ARGUMENT_SIZE_ERROR   (CRYS_DH_MODULE_ERROR_BASE + 0x1UL)
 
#define CRYS_DH_INVALID_ARGUMENT_OPERATION_MODE_ERROR   (CRYS_DH_MODULE_ERROR_BASE + 0x2UL)
 
#define CRYS_DH_INVALID_ARGUMENT_HASH_MODE_ERROR   (CRYS_DH_MODULE_ERROR_BASE + 0x3UL)
 
#define CRYS_DH_SECRET_KEYING_DATA_SIZE_ILLEGAL_ERROR   (CRYS_DH_MODULE_ERROR_BASE + 0x4UL)
 
#define CRYS_DH_INVALID_L_ARGUMENT_ERROR   (CRYS_DH_MODULE_ERROR_BASE + 0x5UL)
 
#define CRYS_DH_ARGUMENT_PRIME_SMALLER_THAN_GENERATOR_ERROR   (CRYS_DH_MODULE_ERROR_BASE + 0x6UL)
 
#define CRYS_DH_ARGUMENT_GENERATOR_SMALLER_THAN_ZERO_ERROR   (CRYS_DH_MODULE_ERROR_BASE + 0x7UL)
 
#define CRYS_DH_ARGUMENT_PRV_SIZE_ERROR   (CRYS_DH_MODULE_ERROR_BASE + 0x8UL)
 
#define CRYS_DH_ARGUMENT_BUFFER_SIZE_ERROR   (CRYS_DH_MODULE_ERROR_BASE + 0x9UL)
 
#define CRYS_DH_INVALID_SHARED_SECRET_VALUE_ERROR   (CRYS_DH_MODULE_ERROR_BASE + 0xAUL)
 
#define CRYS_DH_IS_NOT_SUPPORTED   (CRYS_DH_MODULE_ERROR_BASE + 0xFUL)
 
#define CRYS_DH_X942_HYBRID_SIZE1_BUFFER_ERROR   (CRYS_DH_MODULE_ERROR_BASE + 0x15UL)
 
#define CRYS_DH_SECRET_KEY_SIZE_NEEDED_ERROR   (CRYS_DH_MODULE_ERROR_BASE + 0x16UL)
 
#define CRYS_DH_SECRET_KEY_SIZE_OUTPUT_ERROR   (CRYS_DH_MODULE_ERROR_BASE + 0x17UL)
 
#define CRYS_DH_OTHERINFO_SIZE_ERROR   (CRYS_DH_MODULE_ERROR_BASE + 0x18UL)
 
#define CRYS_DH_INVALID_MODULUS_SIZE_ERROR   (CRYS_DH_MODULE_ERROR_BASE + 0x20UL)
 
#define CRYS_DH_INVALID_ORDER_SIZE_ERROR   (CRYS_DH_MODULE_ERROR_BASE + 0x21UL)
 
#define CRYS_DH_INVALID_SEED_SIZE_ERROR   (CRYS_DH_MODULE_ERROR_BASE + 0x22UL)
 
#define CRYS_DH_INVALID_J_FACTOR_PTR_OR_SIZE_ERROR   (CRYS_DH_MODULE_ERROR_BASE + 0x23UL)
 
#define CRYS_DH_INVALID_GENERATOR_PTR_OR_SIZE_ERROR   (CRYS_DH_MODULE_ERROR_BASE + 0x24UL)
 
#define CRYS_DH_CHECK_DOMAIN_PRIMES_NOT_VALID_ERROR   (CRYS_DH_MODULE_ERROR_BASE + 0x25UL)
 
#define CRYS_DH_CHECK_DOMAIN_GENERATOR_NOT_VALID_ERROR   (CRYS_DH_MODULE_ERROR_BASE + 0x26UL)
 
#define CRYS_DH_INVALID_PUBLIC_KEY_SIZE_ERROR   (CRYS_DH_MODULE_ERROR_BASE + 0x27UL)
 
#define CRYS_DH_CHECK_PUB_KEY_NOT_VALID_ERROR   (CRYS_DH_MODULE_ERROR_BASE + 0x28UL)
 
#define CRYS_DH_CHECK_GENERATOR_SIZE_OR_PTR_NOT_VALID_ERROR   (CRYS_DH_MODULE_ERROR_BASE + 0x29UL)
 
#define CRYS_DH_CHECK_SEED_SIZE_OR_PTR_NOT_VALID_ERROR   (CRYS_DH_MODULE_ERROR_BASE + 0x2AUL)
 
#define CRYS_DH_CHECK_GENERATOR_NOT_VALID_ERROR   (CRYS_DH_MODULE_ERROR_BASE + 0x2BUL)
 
#define CRYS_DH_PRIME_P_GENERATION_FAILURE_ERROR   (CRYS_DH_MODULE_ERROR_BASE + 0x2CUL)
 
#define CRYS_DH_INVALID_PUBLIC_KEY_ERROR   (CRYS_DH_MODULE_ERROR_BASE + 0x2DUL)
 
#define CRYS_DH_PASSED_INVALID_SEED_ERROR   (CRYS_DH_MODULE_ERROR_BASE + 0x2EUL)
 
#define CRYS_DH_PRIME_Q_GENERATION_FAILURE_ERROR   (CRYS_DH_MODULE_ERROR_BASE + 0x2FUL)
 
#define CRYS_DH_PKI_INTERNAL_ERROR   (CRYS_DH_MODULE_ERROR_BASE + 0x30UL)
 

Detailed Description

This file contains error codes definitions for CRYS DH module.

Definition in file crys_dh_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.