Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:05:42

0001 /*
0002  * Generated by util/mkerr.pl DO NOT EDIT
0003  * Copyright 1995-2023 The OpenSSL Project Authors. All Rights Reserved.
0004  *
0005  * Licensed under the Apache License 2.0 (the "License").  You may not use
0006  * this file except in compliance with the License.  You can obtain a copy
0007  * in the file LICENSE in the source distribution or at
0008  * https://www.openssl.org/source/license.html
0009  */
0010 
0011 #ifndef OPENSSL_ECERR_H
0012 # define OPENSSL_ECERR_H
0013 # pragma once
0014 
0015 # include <openssl/opensslconf.h>
0016 # include <openssl/symhacks.h>
0017 # include <openssl/cryptoerr_legacy.h>
0018 
0019 
0020 # ifndef OPENSSL_NO_EC
0021 
0022 
0023 /*
0024  * EC reason codes.
0025  */
0026 #  define EC_R_ASN1_ERROR                                  115
0027 #  define EC_R_BAD_SIGNATURE                               156
0028 #  define EC_R_BIGNUM_OUT_OF_RANGE                         144
0029 #  define EC_R_BUFFER_TOO_SMALL                            100
0030 #  define EC_R_CANNOT_INVERT                               165
0031 #  define EC_R_COORDINATES_OUT_OF_RANGE                    146
0032 #  define EC_R_CURVE_DOES_NOT_SUPPORT_ECDH                 160
0033 #  define EC_R_CURVE_DOES_NOT_SUPPORT_ECDSA                170
0034 #  define EC_R_CURVE_DOES_NOT_SUPPORT_SIGNING              159
0035 #  define EC_R_DECODE_ERROR                                142
0036 #  define EC_R_DISCRIMINANT_IS_ZERO                        118
0037 #  define EC_R_EC_GROUP_NEW_BY_NAME_FAILURE                119
0038 #  define EC_R_EXPLICIT_PARAMS_NOT_SUPPORTED               127
0039 #  define EC_R_FAILED_MAKING_PUBLIC_KEY                    166
0040 #  define EC_R_FIELD_TOO_LARGE                             143
0041 #  define EC_R_GF2M_NOT_SUPPORTED                          147
0042 #  define EC_R_GROUP2PKPARAMETERS_FAILURE                  120
0043 #  define EC_R_I2D_ECPKPARAMETERS_FAILURE                  121
0044 #  define EC_R_INCOMPATIBLE_OBJECTS                        101
0045 #  define EC_R_INVALID_A                                   168
0046 #  define EC_R_INVALID_ARGUMENT                            112
0047 #  define EC_R_INVALID_B                                   169
0048 #  define EC_R_INVALID_COFACTOR                            171
0049 #  define EC_R_INVALID_COMPRESSED_POINT                    110
0050 #  define EC_R_INVALID_COMPRESSION_BIT                     109
0051 #  define EC_R_INVALID_CURVE                               141
0052 #  define EC_R_INVALID_DIGEST                              151
0053 #  define EC_R_INVALID_DIGEST_TYPE                         138
0054 #  define EC_R_INVALID_ENCODING                            102
0055 #  define EC_R_INVALID_FIELD                               103
0056 #  define EC_R_INVALID_FORM                                104
0057 #  define EC_R_INVALID_GENERATOR                           173
0058 #  define EC_R_INVALID_GROUP_ORDER                         122
0059 #  define EC_R_INVALID_KEY                                 116
0060 #  define EC_R_INVALID_LENGTH                              117
0061 #  define EC_R_INVALID_NAMED_GROUP_CONVERSION              174
0062 #  define EC_R_INVALID_OUTPUT_LENGTH                       161
0063 #  define EC_R_INVALID_P                                   172
0064 #  define EC_R_INVALID_PEER_KEY                            133
0065 #  define EC_R_INVALID_PENTANOMIAL_BASIS                   132
0066 #  define EC_R_INVALID_PRIVATE_KEY                         123
0067 #  define EC_R_INVALID_SEED                                175
0068 #  define EC_R_INVALID_TRINOMIAL_BASIS                     137
0069 #  define EC_R_KDF_PARAMETER_ERROR                         148
0070 #  define EC_R_KEYS_NOT_SET                                140
0071 #  define EC_R_LADDER_POST_FAILURE                         136
0072 #  define EC_R_LADDER_PRE_FAILURE                          153
0073 #  define EC_R_LADDER_STEP_FAILURE                         162
0074 #  define EC_R_MISSING_OID                                 167
0075 #  define EC_R_MISSING_PARAMETERS                          124
0076 #  define EC_R_MISSING_PRIVATE_KEY                         125
0077 #  define EC_R_NEED_NEW_SETUP_VALUES                       157
0078 #  define EC_R_NOT_A_NIST_PRIME                            135
0079 #  define EC_R_NOT_IMPLEMENTED                             126
0080 #  define EC_R_NOT_INITIALIZED                             111
0081 #  define EC_R_NO_PARAMETERS_SET                           139
0082 #  define EC_R_NO_PRIVATE_VALUE                            154
0083 #  define EC_R_OPERATION_NOT_SUPPORTED                     152
0084 #  define EC_R_PASSED_NULL_PARAMETER                       134
0085 #  define EC_R_PEER_KEY_ERROR                              149
0086 #  define EC_R_POINT_ARITHMETIC_FAILURE                    155
0087 #  define EC_R_POINT_AT_INFINITY                           106
0088 #  define EC_R_POINT_COORDINATES_BLIND_FAILURE             163
0089 #  define EC_R_POINT_IS_NOT_ON_CURVE                       107
0090 #  define EC_R_RANDOM_NUMBER_GENERATION_FAILED             158
0091 #  define EC_R_SHARED_INFO_ERROR                           150
0092 #  define EC_R_SLOT_FULL                                   108
0093 #  define EC_R_TOO_MANY_RETRIES                            176
0094 #  define EC_R_UNDEFINED_GENERATOR                         113
0095 #  define EC_R_UNDEFINED_ORDER                             128
0096 #  define EC_R_UNKNOWN_COFACTOR                            164
0097 #  define EC_R_UNKNOWN_GROUP                               129
0098 #  define EC_R_UNKNOWN_ORDER                               114
0099 #  define EC_R_UNSUPPORTED_FIELD                           131
0100 #  define EC_R_WRONG_CURVE_PARAMETERS                      145
0101 #  define EC_R_WRONG_ORDER                                 130
0102 
0103 # endif
0104 #endif