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_DHERR_H
0012 # define OPENSSL_DHERR_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_DH
0021 
0022 
0023 /*
0024  * DH reason codes.
0025  */
0026 #  define DH_R_BAD_FFC_PARAMETERS                          127
0027 #  define DH_R_BAD_GENERATOR                               101
0028 #  define DH_R_BN_DECODE_ERROR                             109
0029 #  define DH_R_BN_ERROR                                    106
0030 #  define DH_R_CHECK_INVALID_J_VALUE                       115
0031 #  define DH_R_CHECK_INVALID_Q_VALUE                       116
0032 #  define DH_R_CHECK_PUBKEY_INVALID                        122
0033 #  define DH_R_CHECK_PUBKEY_TOO_LARGE                      123
0034 #  define DH_R_CHECK_PUBKEY_TOO_SMALL                      124
0035 #  define DH_R_CHECK_P_NOT_PRIME                           117
0036 #  define DH_R_CHECK_P_NOT_SAFE_PRIME                      118
0037 #  define DH_R_CHECK_Q_NOT_PRIME                           119
0038 #  define DH_R_DECODE_ERROR                                104
0039 #  define DH_R_INVALID_PARAMETER_NAME                      110
0040 #  define DH_R_INVALID_PARAMETER_NID                       114
0041 #  define DH_R_INVALID_PUBKEY                              102
0042 #  define DH_R_INVALID_SECRET                              128
0043 #  define DH_R_INVALID_SIZE                                129
0044 #  define DH_R_KDF_PARAMETER_ERROR                         112
0045 #  define DH_R_KEYS_NOT_SET                                108
0046 #  define DH_R_MISSING_PUBKEY                              125
0047 #  define DH_R_MODULUS_TOO_LARGE                           103
0048 #  define DH_R_MODULUS_TOO_SMALL                           126
0049 #  define DH_R_NOT_SUITABLE_GENERATOR                      120
0050 #  define DH_R_NO_PARAMETERS_SET                           107
0051 #  define DH_R_NO_PRIVATE_VALUE                            100
0052 #  define DH_R_PARAMETER_ENCODING_ERROR                    105
0053 #  define DH_R_PEER_KEY_ERROR                              111
0054 #  define DH_R_Q_TOO_LARGE                                 130
0055 #  define DH_R_SHARED_INFO_ERROR                           113
0056 #  define DH_R_UNABLE_TO_CHECK_GENERATOR                   121
0057 
0058 # endif
0059 #endif