1 /* 2 * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved. 3 * 4 * Licensed under the OpenSSL license (the "License"). You may not use 5 * this file except in compliance with the License. You can obtain a copy 6 * in the file LICENSE in the source distribution or at 7 * https://www.openssl.org/source/license.html 8 */ 9 10 #ifndef OPENSSL_HEADER_EVP_ERRORS_H 11 #define OPENSSL_HEADER_EVP_ERRORS_H 12 13 #define EVP_R_BUFFER_TOO_SMALL 100 14 #define EVP_R_COMMAND_NOT_SUPPORTED 101 15 #define EVP_R_DECODE_ERROR 102 16 #define EVP_R_DIFFERENT_KEY_TYPES 103 17 #define EVP_R_DIFFERENT_PARAMETERS 104 18 #define EVP_R_ENCODE_ERROR 105 19 #define EVP_R_EXPECTING_AN_EC_KEY_KEY 106 20 #define EVP_R_EXPECTING_AN_RSA_KEY 107 21 #define EVP_R_EXPECTING_A_DSA_KEY 108 22 #define EVP_R_ILLEGAL_OR_UNSUPPORTED_PADDING_MODE 109 23 #define EVP_R_INVALID_DIGEST_LENGTH 110 24 #define EVP_R_INVALID_DIGEST_TYPE 111 25 #define EVP_R_INVALID_KEYBITS 112 26 #define EVP_R_INVALID_MGF1_MD 113 27 #define EVP_R_INVALID_OPERATION 114 28 #define EVP_R_INVALID_PADDING_MODE 115 29 #define EVP_R_INVALID_PSS_SALTLEN 116 30 #define EVP_R_KEYS_NOT_SET 117 31 #define EVP_R_MISSING_PARAMETERS 118 32 #define EVP_R_NO_DEFAULT_DIGEST 119 33 #define EVP_R_NO_KEY_SET 120 34 #define EVP_R_NO_MDC2_SUPPORT 121 35 #define EVP_R_NO_NID_FOR_CURVE 122 36 #define EVP_R_NO_OPERATION_SET 123 37 #define EVP_R_NO_PARAMETERS_SET 124 38 #define EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE 125 39 #define EVP_R_OPERATON_NOT_INITIALIZED 126 40 #define EVP_R_UNKNOWN_PUBLIC_KEY_TYPE 127 41 #define EVP_R_UNSUPPORTED_ALGORITHM 128 42 #define EVP_R_UNSUPPORTED_PUBLIC_KEY_TYPE 129 43 #define EVP_R_NOT_A_PRIVATE_KEY 130 44 #define EVP_R_INVALID_SIGNATURE 131 45 #define EVP_R_MEMORY_LIMIT_EXCEEDED 132 46 #define EVP_R_INVALID_PARAMETERS 133 47 #define EVP_R_INVALID_PEER_KEY 134 48 #define EVP_R_NOT_XOF_OR_INVALID_LENGTH 135 49 #define EVP_R_EMPTY_PSK 136 50 #define EVP_R_INVALID_BUFFER_SIZE 137 51 #define EVP_R_EXPECTING_A_DH_KEY 138 52 53 #endif // OPENSSL_HEADER_EVP_ERRORS_H 54