evp_errors.h (2226B)
1 // Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved. 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // https://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 #ifndef OPENSSL_HEADER_EVP_ERRORS_H 16 #define OPENSSL_HEADER_EVP_ERRORS_H 17 18 #define EVP_R_BUFFER_TOO_SMALL 100 19 #define EVP_R_COMMAND_NOT_SUPPORTED 101 20 #define EVP_R_DECODE_ERROR 102 21 #define EVP_R_DIFFERENT_KEY_TYPES 103 22 #define EVP_R_DIFFERENT_PARAMETERS 104 23 #define EVP_R_ENCODE_ERROR 105 24 #define EVP_R_EXPECTING_AN_EC_KEY_KEY 106 25 #define EVP_R_EXPECTING_AN_RSA_KEY 107 26 #define EVP_R_EXPECTING_A_DSA_KEY 108 27 #define EVP_R_ILLEGAL_OR_UNSUPPORTED_PADDING_MODE 109 28 #define EVP_R_INVALID_DIGEST_LENGTH 110 29 #define EVP_R_INVALID_DIGEST_TYPE 111 30 #define EVP_R_INVALID_KEYBITS 112 31 #define EVP_R_INVALID_MGF1_MD 113 32 #define EVP_R_INVALID_OPERATION 114 33 #define EVP_R_INVALID_PADDING_MODE 115 34 #define EVP_R_INVALID_PSS_SALTLEN 116 35 #define EVP_R_KEYS_NOT_SET 117 36 #define EVP_R_MISSING_PARAMETERS 118 37 #define EVP_R_NO_DEFAULT_DIGEST 119 38 #define EVP_R_NO_KEY_SET 120 39 #define EVP_R_NO_MDC2_SUPPORT 121 40 #define EVP_R_NO_NID_FOR_CURVE 122 41 #define EVP_R_NO_OPERATION_SET 123 42 #define EVP_R_NO_PARAMETERS_SET 124 43 #define EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE 125 44 #define EVP_R_OPERATON_NOT_INITIALIZED 126 45 #define EVP_R_UNKNOWN_PUBLIC_KEY_TYPE 127 46 #define EVP_R_UNSUPPORTED_ALGORITHM 128 47 #define EVP_R_UNSUPPORTED_PUBLIC_KEY_TYPE 129 48 #define EVP_R_NOT_A_PRIVATE_KEY 130 49 #define EVP_R_INVALID_SIGNATURE 131 50 #define EVP_R_MEMORY_LIMIT_EXCEEDED 132 51 #define EVP_R_INVALID_PARAMETERS 133 52 #define EVP_R_INVALID_PEER_KEY 134 53 #define EVP_R_NOT_XOF_OR_INVALID_LENGTH 135 54 #define EVP_R_EMPTY_PSK 136 55 #define EVP_R_INVALID_BUFFER_SIZE 137 56 #define EVP_R_EXPECTING_A_DH_KEY 138 57 58 #endif // OPENSSL_HEADER_EVP_ERRORS_H