#define CRYS_RSA_15_ERROR_IN_DECRYPTED_BLOCK_PARSING (CRYS_RSA_MODULE_ERROR_BASE+0x55UL) |
Error in PKCS15 decrypted block parsing.
Definition at line 210 of file crys_rsa_error.h.
#define CRYS_RSA_15_ERROR_IN_DECRYPTED_DATA (CRYS_RSA_MODULE_ERROR_BASE+0x87UL) |
Error in decrypted data.
Definition at line 242 of file crys_rsa_error.h.
#define CRYS_RSA_15_ERROR_IN_DECRYPTED_DATA_SIZE (CRYS_RSA_MODULE_ERROR_BASE+0x86UL) |
Error in decrypted data size.
Definition at line 240 of file crys_rsa_error.h.
#define CRYS_RSA_BASE_MGF_MASK_TOO_LONG (CRYS_RSA_MODULE_ERROR_BASE+0x81UL) |
Illegal MGF mask.
Definition at line 230 of file crys_rsa_error.h.
#define CRYS_RSA_BASE_OAEP_DECODE_MESSAGE_TOO_LONG (CRYS_RSA_MODULE_ERROR_BASE + 0x25UL) |
OAEP decode message is too long.
Definition at line 134 of file crys_rsa_error.h.
#define CRYS_RSA_BASE_OAEP_DECODE_PARAMETER_STRING_TOO_LONG (CRYS_RSA_MODULE_ERROR_BASE + 0x23UL) |
OAEP decode parameter string is too long.
Definition at line 130 of file crys_rsa_error.h.
#define CRYS_RSA_BASE_OAEP_ENCODE_MESSAGE_TOO_LONG (CRYS_RSA_MODULE_ERROR_BASE + 0x24UL) |
OAEP encode message is too long.
Definition at line 132 of file crys_rsa_error.h.
#define CRYS_RSA_BASE_OAEP_ENCODE_PARAMETER_STRING_TOO_LONG (CRYS_RSA_MODULE_ERROR_BASE + 0x22UL) |
OAEP encode parameter string is too long.
Definition at line 128 of file crys_rsa_error.h.
#define CRYS_RSA_BER_ENCODING_OK CRYS_OK |
BER encoding passed.
Definition at line 200 of file crys_rsa_error.h.
#define CRYS_RSA_CAN_NOT_GENERATE_RAND_IN_RANGE (CRYS_RSA_MODULE_ERROR_BASE + 0x39UL) |
Random generation in range failed.
Definition at line 177 of file crys_rsa_error.h.
#define CRYS_RSA_CONV_TO_CRT_INVALID_TEMP_BUFF_POINTER_ERROR (CRYS_RSA_MODULE_ERROR_BASE + 0x20UL) |
Illegal temporary buffer pointer.
Definition at line 125 of file crys_rsa_error.h.
#define CRYS_RSA_DATA_POINTER_INVALID_ERROR (CRYS_RSA_MODULE_ERROR_BASE + 0x12UL) |
Illegal data in.
Definition at line 97 of file crys_rsa_error.h.
#define CRYS_RSA_DECRYPT_INVALID_OUTPUT_SIZE (CRYS_RSA_MODULE_ERROR_BASE+0x89UL) |
Illegal output size.
Definition at line 246 of file crys_rsa_error.h.
#define CRYS_RSA_DECRYPT_OUTPUT_SIZE_POINTER_ERROR (CRYS_RSA_MODULE_ERROR_BASE+0x8AUL) |
Illegal output size pointer.
Definition at line 248 of file crys_rsa_error.h.
#define CRYS_RSA_ENCODE_15_MSG_OUT_OF_RANGE (CRYS_RSA_MODULE_ERROR_BASE+0x52UL) |
Error in PKCS15 message.
Definition at line 204 of file crys_rsa_error.h.
#define CRYS_RSA_ENCODE_15_PS_TOO_SHORT (CRYS_RSA_MODULE_ERROR_BASE+0x53UL) |
Error in PKCS15 PS.
Definition at line 206 of file crys_rsa_error.h.
#define CRYS_RSA_ERROR_BER_PARSING (CRYS_RSA_MODULE_ERROR_BASE+0x51UL) |
Error in BER parsing.
Definition at line 202 of file crys_rsa_error.h.
#define CRYS_RSA_ERROR_IN_DECRYPTED_BLOCK_PARSING (CRYS_RSA_MODULE_ERROR_BASE+0x84UL) |
OAEP error in decrypted block parsing.
Definition at line 236 of file crys_rsa_error.h.
#define CRYS_RSA_ERROR_IN_RANDOM_OPERATION_FOR_ENCODE (CRYS_RSA_MODULE_ERROR_BASE+0x56UL) |
Error in random operation.
Definition at line 212 of file crys_rsa_error.h.
#define CRYS_RSA_ERROR_PSS_INCONSISTENT_VERIFY (CRYS_RSA_MODULE_ERROR_BASE+0x82UL) |
PSS verification failed.
Definition at line 232 of file crys_rsa_error.h.
#define CRYS_RSA_ERROR_VER15_INCONSISTENT_VERIFY (CRYS_RSA_MODULE_ERROR_BASE+0x57UL) |
PKCS15 verification failed.
Definition at line 214 of file crys_rsa_error.h.
#define CRYS_RSA_GENERATED_PRIV_KEY_IS_TOO_LOW (CRYS_RSA_MODULE_ERROR_BASE + 0x43UL) |
Illegal generated private key.
Definition at line 189 of file crys_rsa_error.h.
#define CRYS_RSA_GET_DER_HASH_MODE_ILLEGAL (CRYS_RSA_MODULE_ERROR_BASE+0x61UL) |
Illegal DER hash mode
Definition at line 222 of file crys_rsa_error.h.
#define CRYS_RSA_HASH_ILLEGAL_OPERATION_MODE_ERROR (CRYS_RSA_MODULE_ERROR_BASE + 0x17UL) |
Illegal hash operation mode.
Definition at line 108 of file crys_rsa_error.h.
#define CRYS_RSA_ILLEGAL_PARAMS_ACCORDING_TO_PRIV_ERROR (CRYS_RSA_MODULE_ERROR_BASE + 0x93UL) |
Illegal parameters.
Definition at line 250 of file crys_rsa_error.h.
#define CRYS_RSA_INTERNAL_ERROR (CRYS_RSA_MODULE_ERROR_BASE + 0x45UL) |
Internal error.
Definition at line 193 of file crys_rsa_error.h.
#define CRYS_RSA_INVALID_CRT_COEFF_VAL (CRYS_RSA_MODULE_ERROR_BASE + 0x11UL) |
Illegal CRT coefficient value (qInv).
Definition at line 95 of file crys_rsa_error.h.
#define CRYS_RSA_INVALID_CRT_COEFFICIENT_PTR_ERROR (CRYS_RSA_MODULE_ERROR_BASE + 0xBUL) |
Illegal CRT coefficient pointer (qInv_ptr) .
Definition at line 83 of file crys_rsa_error.h.
#define CRYS_RSA_INVALID_CRT_COEFFICIENT_SIZE_ERROR (CRYS_RSA_MODULE_ERROR_BASE + 0x37UL) |
Illegal CRT coefficient size (qInvsize) .
Definition at line 172 of file crys_rsa_error.h.
#define CRYS_RSA_INVALID_CRT_COEFFICIENT_SIZE_PTR_ERROR (CRYS_RSA_MODULE_ERROR_BASE + 0x32UL) |
Illegal CRT coefficient size pointer (qInvsize) .
Definition at line 161 of file crys_rsa_error.h.
#define CRYS_RSA_INVALID_CRT_FIRST_AND_SECOND_FACTOR_SIZE (CRYS_RSA_MODULE_ERROR_BASE + 0xEUL) |
Illegal CRT first and second factor size (Psize + Qsize).
Definition at line 89 of file crys_rsa_error.h.
#define CRYS_RSA_INVALID_CRT_FIRST_FACTOR_EXP_PTR_ERROR (CRYS_RSA_MODULE_ERROR_BASE + 0x9UL) |
Illegal CRT first exponent factor pointer (dP_ptr) .
Definition at line 79 of file crys_rsa_error.h.
#define CRYS_RSA_INVALID_CRT_FIRST_FACTOR_EXP_SIZE_ERROR (CRYS_RSA_MODULE_ERROR_BASE + 0x35UL) |
Illegal CRT first factor exponent size (dPsize) .
Definition at line 168 of file crys_rsa_error.h.
#define CRYS_RSA_INVALID_CRT_FIRST_FACTOR_EXP_SIZE_PTR_ERROR (CRYS_RSA_MODULE_ERROR_BASE + 0x30UL) |
Illegal CRT first factor exponent size pointer (dPsize) .
Definition at line 157 of file crys_rsa_error.h.
#define CRYS_RSA_INVALID_CRT_FIRST_FACTOR_EXPONENT_VAL (CRYS_RSA_MODULE_ERROR_BASE + 0xFUL) |
Illegal CRT first factor exponent value (dP).
Definition at line 91 of file crys_rsa_error.h.
#define CRYS_RSA_INVALID_CRT_FIRST_FACTOR_POINTER_ERROR (CRYS_RSA_MODULE_ERROR_BASE + 0x7UL) |
Illegal CRT first factor pointer (P_ptr) .
Definition at line 75 of file crys_rsa_error.h.
#define CRYS_RSA_INVALID_CRT_FIRST_FACTOR_SIZE (CRYS_RSA_MODULE_ERROR_BASE + 0xCUL) |
Illegal CRT first factor size (Psize).
Definition at line 85 of file crys_rsa_error.h.
#define CRYS_RSA_INVALID_CRT_FIRST_FACTOR_SIZE_ERROR (CRYS_RSA_MODULE_ERROR_BASE + 0x33UL) |
Illegal CRT first factor size (Psize) .
Definition at line 164 of file crys_rsa_error.h.
#define CRYS_RSA_INVALID_CRT_FIRST_FACTOR_SIZE_POINTER_ERROR (CRYS_RSA_MODULE_ERROR_BASE + 0x2EUL) |
Illegal CRT first factor size pointer (Psize) .
Definition at line 153 of file crys_rsa_error.h.
#define CRYS_RSA_INVALID_CRT_PARAMETR_SIZE_ERROR (CRYS_RSA_MODULE_ERROR_BASE + 0x3AUL) |
Illegal CRT parameter size.
Definition at line 179 of file crys_rsa_error.h.
#define CRYS_RSA_INVALID_CRT_SECOND_FACTOR_EXP_PTR_ERROR (CRYS_RSA_MODULE_ERROR_BASE + 0xAUL) |
Illegal CRT second exponent factor pointer (dQ_ptr) .
Definition at line 81 of file crys_rsa_error.h.
#define CRYS_RSA_INVALID_CRT_SECOND_FACTOR_EXP_SIZE_ERROR (CRYS_RSA_MODULE_ERROR_BASE + 0x36UL) |
Illegal CRT second factor exponent size (dQsize) .
Definition at line 170 of file crys_rsa_error.h.
#define CRYS_RSA_INVALID_CRT_SECOND_FACTOR_EXP_SIZE_PTR_ERROR (CRYS_RSA_MODULE_ERROR_BASE + 0x31UL) |
Illegal CRT second factor exponent size pointer (dQsize) .
Definition at line 159 of file crys_rsa_error.h.
#define CRYS_RSA_INVALID_CRT_SECOND_FACTOR_EXPONENT_VAL (CRYS_RSA_MODULE_ERROR_BASE + 0x10UL) |
Illegal CRT first factor exponent value (dQ).
Definition at line 93 of file crys_rsa_error.h.
#define CRYS_RSA_INVALID_CRT_SECOND_FACTOR_POINTER_ERROR (CRYS_RSA_MODULE_ERROR_BASE + 0x8UL) |
Illegal CRT second factor pointer (Q_ptr) .
Definition at line 77 of file crys_rsa_error.h.
#define CRYS_RSA_INVALID_CRT_SECOND_FACTOR_SIZE (CRYS_RSA_MODULE_ERROR_BASE + 0xDUL) |
Illegal CRT second factor size (Qsize).
Definition at line 87 of file crys_rsa_error.h.
#define CRYS_RSA_INVALID_CRT_SECOND_FACTOR_SIZE_ERROR (CRYS_RSA_MODULE_ERROR_BASE + 0x34UL) |
Illegal CRT second factor size (Qsize) .
Definition at line 166 of file crys_rsa_error.h.
#define CRYS_RSA_INVALID_CRT_SECOND_FACTOR_SIZE_POINTER_ERROR (CRYS_RSA_MODULE_ERROR_BASE + 0x2FUL) |
Illegal CRT second factor size pointer (Qsize) .
Definition at line 155 of file crys_rsa_error.h.
#define CRYS_RSA_INVALID_DECRYPRION_MODE_ERROR (CRYS_RSA_MODULE_ERROR_BASE + 0x42UL) |
Illegal decryption mode.
Definition at line 186 of file crys_rsa_error.h.
#define CRYS_RSA_INVALID_EXP_BUFFER_SIZE_POINTER (CRYS_RSA_MODULE_ERROR_BASE + 0x2BUL) |
Illegal exponent size pointer.
Definition at line 146 of file crys_rsa_error.h.
#define CRYS_RSA_INVALID_EXPONENT_POINTER_ERROR (CRYS_RSA_MODULE_ERROR_BASE + 0x2UL) |
Illegal exponent pointer.
Definition at line 65 of file crys_rsa_error.h.
#define CRYS_RSA_INVALID_EXPONENT_SIZE (CRYS_RSA_MODULE_ERROR_BASE + 0x6UL) |
Illegal exponent size.
Definition at line 73 of file crys_rsa_error.h.
#define CRYS_RSA_INVALID_EXPONENT_VAL (CRYS_RSA_MODULE_ERROR_BASE + 0x5UL) |
Illegal exponent value.
Definition at line 71 of file crys_rsa_error.h.
#define CRYS_RSA_INVALID_MESSAGE_BUFFER_SIZE (CRYS_RSA_MODULE_ERROR_BASE + 0x28UL) |
Illegal message buffer size.
Definition at line 140 of file crys_rsa_error.h.
#define CRYS_RSA_INVALID_MESSAGE_DATA_SIZE (CRYS_RSA_MODULE_ERROR_BASE + 0x13UL) |
Illegal message data size.
Definition at line 99 of file crys_rsa_error.h.
#define CRYS_RSA_INVALID_MESSAGE_DATA_SIZE_IN_NO_HASH_CASE (CRYS_RSA_MODULE_ERROR_BASE+0x58UL) |
Illegal message size (in no hash operation case).
Definition at line 216 of file crys_rsa_error.h.
#define CRYS_RSA_INVALID_MESSAGE_DATA_SIZE_IN_SSL_CASE (CRYS_RSA_MODULE_ERROR_BASE+0x59UL) |
Illegal message size.
Definition at line 218 of file crys_rsa_error.h.
#define CRYS_RSA_INVALID_MESSAGE_VAL (CRYS_RSA_MODULE_ERROR_BASE + 0x14UL) |
Illegal message value.
Definition at line 101 of file crys_rsa_error.h.
#define CRYS_RSA_INVALID_MOD_BUFFER_SIZE_POINTER (CRYS_RSA_MODULE_ERROR_BASE + 0x2AUL) |
Illegal modulus size pointer.
Definition at line 144 of file crys_rsa_error.h.
#define CRYS_RSA_INVALID_MODULUS_ERROR (CRYS_RSA_MODULE_ERROR_BASE + 0x40UL) |
Illegal modulus.
Definition at line 182 of file crys_rsa_error.h.
#define CRYS_RSA_INVALID_MODULUS_POINTER_ERROR (CRYS_RSA_MODULE_ERROR_BASE + 0x1UL) |
Illegal modulus pointer.
Definition at line 63 of file crys_rsa_error.h.
#define CRYS_RSA_INVALID_MODULUS_SIZE (CRYS_RSA_MODULE_ERROR_BASE + 0x0UL) |
CRYS RSA module on the CRYS layer base address - 0x00F00400
The CRYS RSA module errors
Illegal modulus size.
Definition at line 61 of file crys_rsa_error.h.
#define CRYS_RSA_INVALID_OUTPUT_POINTER_ERROR (CRYS_RSA_MODULE_ERROR_BASE + 0x1DUL) |
Illegal output pointer.
Definition at line 121 of file crys_rsa_error.h.
#define CRYS_RSA_INVALID_OUTPUT_SIZE_POINTER_ERROR (CRYS_RSA_MODULE_ERROR_BASE + 0x1FUL) |
Illegal output size pointer.
Definition at line 123 of file crys_rsa_error.h.
#define CRYS_RSA_INVALID_PRIV_KEY_STRUCT_POINTER_ERROR (CRYS_RSA_MODULE_ERROR_BASE + 0x4UL) |
Illegal private key structure pointer.
Definition at line 69 of file crys_rsa_error.h.
#define CRYS_RSA_INVALID_PTR_ERROR (CRYS_RSA_MODULE_ERROR_BASE + 0x41UL) |
Illegal pointer.
Definition at line 184 of file crys_rsa_error.h.
#define CRYS_RSA_INVALID_PUB_KEY_STRUCT_POINTER_ERROR (CRYS_RSA_MODULE_ERROR_BASE + 0x3UL) |
Illegal public key structure pointer.
Definition at line 67 of file crys_rsa_error.h.
#define CRYS_RSA_INVALID_SIGNATURE_BUFFER_POINTER (CRYS_RSA_MODULE_ERROR_BASE + 0x2CUL) |
Illegal signature pointer.
Definition at line 148 of file crys_rsa_error.h.
#define CRYS_RSA_INVALID_SIGNATURE_BUFFER_SIZE (CRYS_RSA_MODULE_ERROR_BASE + 0x29UL) |
Illegal signature buffer size.
Definition at line 142 of file crys_rsa_error.h.
#define CRYS_RSA_INVALID_USER_CONTEXT_POINTER_ERROR (CRYS_RSA_MODULE_ERROR_BASE + 0x16UL) |
Illegal context pointer.
Definition at line 106 of file crys_rsa_error.h.
#define CRYS_RSA_IS_NOT_SUPPORTED (CRYS_RSA_MODULE_ERROR_BASE+0xFFUL) |
RSA is not supported.
Definition at line 252 of file crys_rsa_error.h.
#define CRYS_RSA_KEY_GEN_CONDITIONAL_TEST_FAIL_ERROR (CRYS_RSA_MODULE_ERROR_BASE + 0x38UL) |
Key generation conditional test failed.
Definition at line 174 of file crys_rsa_error.h.
#define CRYS_RSA_KEY_GEN_DATA_STRUCT_POINTER_INVALID (CRYS_RSA_MODULE_ERROR_BASE + 0x26UL) |
Illegal key generation data struct pointer.
Definition at line 136 of file crys_rsa_error.h.
#define CRYS_RSA_KEY_GENERATION_FAILURE_ERROR (CRYS_RSA_MODULE_ERROR_BASE + 0x44UL) |
Key generation error.
Definition at line 191 of file crys_rsa_error.h.
#define CRYS_RSA_MGF_ILLEGAL_ARG_ERROR (CRYS_RSA_MODULE_ERROR_BASE + 0x18UL) |
Illegal MGF value.
Definition at line 110 of file crys_rsa_error.h.
#define CRYS_RSA_MODULUS_EVEN_ERROR (CRYS_RSA_MODULE_ERROR_BASE + 0x15UL) |
Modulus even error.
Definition at line 104 of file crys_rsa_error.h.
#define CRYS_RSA_OAEP_DECODE_ERROR (CRYS_RSA_MODULE_ERROR_BASE+0x85UL) |
OAEP decoding error.
Definition at line 238 of file crys_rsa_error.h.
#define CRYS_RSA_OAEP_L_POINTER_ERROR (CRYS_RSA_MODULE_ERROR_BASE+0x88UL) |
Illegal L pointer.
Definition at line 244 of file crys_rsa_error.h.
#define CRYS_RSA_OAEP_VER21_MESSAGE_TOO_LONG (CRYS_RSA_MODULE_ERROR_BASE+0x83UL) |
OAEP message too long.
Definition at line 234 of file crys_rsa_error.h.
#define CRYS_RSA_PKCS15_VERIFY_BER_ENCODING_HASH_TYPE (CRYS_RSA_MODULE_ERROR_BASE+0x60UL) |
PKCS#1 Ver 1.5 verify hash input inconsistent with hash mode derived from signature.
Definition at line 220 of file crys_rsa_error.h.
#define CRYS_RSA_PKCS1_15_BLOCK_TYPE_NOT_SUPPORTED (CRYS_RSA_MODULE_ERROR_BASE+0x54UL) |
PKCS15 block type is not supported.
Definition at line 208 of file crys_rsa_error.h.
#define CRYS_RSA_PKCS1_VER_ARG_ERROR (CRYS_RSA_MODULE_ERROR_BASE + 0x19UL) |
Illegal PKCS1 version.
Definition at line 112 of file crys_rsa_error.h.
#define CRYS_RSA_PRIM_DATA_STRUCT_POINTER_INVALID (CRYS_RSA_MODULE_ERROR_BASE + 0x27UL) |
Illegal PRIM data struct pointer.
Definition at line 138 of file crys_rsa_error.h.
#define CRYS_RSA_PRIV_KEY_VALIDATION_TAG_ERROR (CRYS_RSA_MODULE_ERROR_BASE + 0x1AUL) |
Invalid private key.
Definition at line 115 of file crys_rsa_error.h.
#define CRYS_RSA_PSS_ENCODING_MODULUS_HASH_SALT_LENGTHS_ERROR (CRYS_RSA_MODULE_ERROR_BASE+0x80UL) |
Illegal salt length.
Definition at line 228 of file crys_rsa_error.h.
#define CRYS_RSA_PUB_KEY_VALIDATION_TAG_ERROR (CRYS_RSA_MODULE_ERROR_BASE + 0x1BUL) |
Invalid public key.
Definition at line 117 of file crys_rsa_error.h.
#define CRYS_RSA_USER_CONTEXT_VALIDATION_TAG_ERROR (CRYS_RSA_MODULE_ERROR_BASE + 0x1CUL) |
Invalid context.
Definition at line 119 of file crys_rsa_error.h.
#define CRYS_RSA_WRONG_PRIVATE_KEY_TYPE (CRYS_RSA_MODULE_ERROR_BASE + 0x2DUL) |
Wrong private key type.
Definition at line 150 of file crys_rsa_error.h.