codekingpro/portable-devtools
114k
1/*2 * Generated by util/mkerr.pl DO NOT EDIT3 * Copyright 1995-2023 The OpenSSL Project Authors. All Rights Reserved.4 *5 * Licensed under the Apache License 2.0 (the "License"). You may not use6 * this file except in compliance with the License. You can obtain a copy7 * in the file LICENSE in the source distribution or at8 * https://www.openssl.org/source/license.html9 */10 11#ifndef OPENSSL_DHERR_H12# define OPENSSL_DHERR_H13# pragma once14 15# include <openssl/opensslconf.h>16# include <openssl/symhacks.h>17# include <openssl/cryptoerr_legacy.h>18 19 20# ifndef OPENSSL_NO_DH21 22 23/*24 * DH reason codes.25 */26# define DH_R_BAD_FFC_PARAMETERS 12727# define DH_R_BAD_GENERATOR 10128# define DH_R_BN_DECODE_ERROR 10929# define DH_R_BN_ERROR 10630# define DH_R_CHECK_INVALID_J_VALUE 11531# define DH_R_CHECK_INVALID_Q_VALUE 11632# define DH_R_CHECK_PUBKEY_INVALID 12233# define DH_R_CHECK_PUBKEY_TOO_LARGE 12334# define DH_R_CHECK_PUBKEY_TOO_SMALL 12435# define DH_R_CHECK_P_NOT_PRIME 11736# define DH_R_CHECK_P_NOT_SAFE_PRIME 11837# define DH_R_CHECK_Q_NOT_PRIME 11938# define DH_R_DECODE_ERROR 10439# define DH_R_INVALID_PARAMETER_NAME 11040# define DH_R_INVALID_PARAMETER_NID 11441# define DH_R_INVALID_PUBKEY 10242# define DH_R_INVALID_SECRET 12843# define DH_R_KDF_PARAMETER_ERROR 11244# define DH_R_KEYS_NOT_SET 10845# define DH_R_MISSING_PUBKEY 12546# define DH_R_MODULUS_TOO_LARGE 10347# define DH_R_MODULUS_TOO_SMALL 12648# define DH_R_NOT_SUITABLE_GENERATOR 12049# define DH_R_NO_PARAMETERS_SET 10750# define DH_R_NO_PRIVATE_VALUE 10051# define DH_R_PARAMETER_ENCODING_ERROR 10552# define DH_R_PEER_KEY_ERROR 11153# define DH_R_Q_TOO_LARGE 13054# define DH_R_SHARED_INFO_ERROR 11355# define DH_R_UNABLE_TO_CHECK_GENERATOR 12156 57# endif58#endif59 