File indexing completed on 2025-01-18 10:05:49
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #ifndef OPENSSL_RSAERR_H
0012 # define OPENSSL_RSAERR_H
0013 # pragma once
0014
0015 # include <openssl/opensslconf.h>
0016 # include <openssl/symhacks.h>
0017 # include <openssl/cryptoerr_legacy.h>
0018
0019
0020
0021
0022
0023
0024 # define RSA_R_ALGORITHM_MISMATCH 100
0025 # define RSA_R_BAD_E_VALUE 101
0026 # define RSA_R_BAD_FIXED_HEADER_DECRYPT 102
0027 # define RSA_R_BAD_PAD_BYTE_COUNT 103
0028 # define RSA_R_BAD_SIGNATURE 104
0029 # define RSA_R_BLOCK_TYPE_IS_NOT_01 106
0030 # define RSA_R_BLOCK_TYPE_IS_NOT_02 107
0031 # define RSA_R_DATA_GREATER_THAN_MOD_LEN 108
0032 # define RSA_R_DATA_TOO_LARGE 109
0033 # define RSA_R_DATA_TOO_LARGE_FOR_KEY_SIZE 110
0034 # define RSA_R_DATA_TOO_LARGE_FOR_MODULUS 132
0035 # define RSA_R_DATA_TOO_SMALL 111
0036 # define RSA_R_DATA_TOO_SMALL_FOR_KEY_SIZE 122
0037 # define RSA_R_DIGEST_DOES_NOT_MATCH 158
0038 # define RSA_R_DIGEST_NOT_ALLOWED 145
0039 # define RSA_R_DIGEST_TOO_BIG_FOR_RSA_KEY 112
0040 # define RSA_R_DMP1_NOT_CONGRUENT_TO_D 124
0041 # define RSA_R_DMQ1_NOT_CONGRUENT_TO_D 125
0042 # define RSA_R_D_E_NOT_CONGRUENT_TO_1 123
0043 # define RSA_R_FIRST_OCTET_INVALID 133
0044 # define RSA_R_ILLEGAL_OR_UNSUPPORTED_PADDING_MODE 144
0045 # define RSA_R_INVALID_DIGEST 157
0046 # define RSA_R_INVALID_DIGEST_LENGTH 143
0047 # define RSA_R_INVALID_HEADER 137
0048 # define RSA_R_INVALID_KEYPAIR 171
0049 # define RSA_R_INVALID_KEY_LENGTH 173
0050 # define RSA_R_INVALID_LABEL 160
0051 # define RSA_R_INVALID_LENGTH 181
0052 # define RSA_R_INVALID_MESSAGE_LENGTH 131
0053 # define RSA_R_INVALID_MGF1_MD 156
0054 # define RSA_R_INVALID_MODULUS 174
0055 # define RSA_R_INVALID_MULTI_PRIME_KEY 167
0056 # define RSA_R_INVALID_OAEP_PARAMETERS 161
0057 # define RSA_R_INVALID_PADDING 138
0058 # define RSA_R_INVALID_PADDING_MODE 141
0059 # define RSA_R_INVALID_PSS_PARAMETERS 149
0060 # define RSA_R_INVALID_PSS_SALTLEN 146
0061 # define RSA_R_INVALID_REQUEST 175
0062 # define RSA_R_INVALID_SALT_LENGTH 150
0063 # define RSA_R_INVALID_STRENGTH 176
0064 # define RSA_R_INVALID_TRAILER 139
0065 # define RSA_R_INVALID_X931_DIGEST 142
0066 # define RSA_R_IQMP_NOT_INVERSE_OF_Q 126
0067 # define RSA_R_KEY_PRIME_NUM_INVALID 165
0068 # define RSA_R_KEY_SIZE_TOO_SMALL 120
0069 # define RSA_R_LAST_OCTET_INVALID 134
0070 # define RSA_R_MGF1_DIGEST_NOT_ALLOWED 152
0071 # define RSA_R_MISSING_PRIVATE_KEY 179
0072 # define RSA_R_MODULUS_TOO_LARGE 105
0073 # define RSA_R_MP_COEFFICIENT_NOT_INVERSE_OF_R 168
0074 # define RSA_R_MP_EXPONENT_NOT_CONGRUENT_TO_D 169
0075 # define RSA_R_MP_R_NOT_PRIME 170
0076 # define RSA_R_NO_PUBLIC_EXPONENT 140
0077 # define RSA_R_NULL_BEFORE_BLOCK_MISSING 113
0078 # define RSA_R_N_DOES_NOT_EQUAL_PRODUCT_OF_PRIMES 172
0079 # define RSA_R_N_DOES_NOT_EQUAL_P_Q 127
0080 # define RSA_R_OAEP_DECODING_ERROR 121
0081 # define RSA_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE 148
0082 # define RSA_R_PADDING_CHECK_FAILED 114
0083 # define RSA_R_PAIRWISE_TEST_FAILURE 177
0084 # define RSA_R_PKCS_DECODING_ERROR 159
0085 # define RSA_R_PSS_SALTLEN_TOO_SMALL 164
0086 # define RSA_R_PUB_EXPONENT_OUT_OF_RANGE 178
0087 # define RSA_R_P_NOT_PRIME 128
0088 # define RSA_R_Q_NOT_PRIME 129
0089 # define RSA_R_RANDOMNESS_SOURCE_STRENGTH_INSUFFICIENT 180
0090 # define RSA_R_RSA_OPERATIONS_NOT_SUPPORTED 130
0091 # define RSA_R_SLEN_CHECK_FAILED 136
0092 # define RSA_R_SLEN_RECOVERY_FAILED 135
0093 # define RSA_R_SSLV3_ROLLBACK_ATTACK 115
0094 # define RSA_R_THE_ASN1_OBJECT_IDENTIFIER_IS_NOT_KNOWN_FOR_THIS_MD 116
0095 # define RSA_R_UNKNOWN_ALGORITHM_TYPE 117
0096 # define RSA_R_UNKNOWN_DIGEST 166
0097 # define RSA_R_UNKNOWN_MASK_DIGEST 151
0098 # define RSA_R_UNKNOWN_PADDING_TYPE 118
0099 # define RSA_R_UNSUPPORTED_ENCRYPTION_TYPE 162
0100 # define RSA_R_UNSUPPORTED_LABEL_SOURCE 163
0101 # define RSA_R_UNSUPPORTED_MASK_ALGORITHM 153
0102 # define RSA_R_UNSUPPORTED_MASK_PARAMETER 154
0103 # define RSA_R_UNSUPPORTED_SIGNATURE_TYPE 155
0104 # define RSA_R_VALUE_MISSING 147
0105 # define RSA_R_WRONG_SIGNATURE_LENGTH 119
0106
0107 #endif