jpayne@69: /* jpayne@69: * Generated by util/mkerr.pl DO NOT EDIT jpayne@69: * Copyright 1995-2023 The OpenSSL Project Authors. All Rights Reserved. jpayne@69: * jpayne@69: * Licensed under the OpenSSL license (the "License"). You may not use jpayne@69: * this file except in compliance with the License. You can obtain a copy jpayne@69: * in the file LICENSE in the source distribution or at jpayne@69: * https://www.openssl.org/source/license.html jpayne@69: */ jpayne@69: jpayne@69: #ifndef HEADER_DHERR_H jpayne@69: # define HEADER_DHERR_H jpayne@69: jpayne@69: # ifndef HEADER_SYMHACKS_H jpayne@69: # include jpayne@69: # endif jpayne@69: jpayne@69: # include jpayne@69: jpayne@69: # ifndef OPENSSL_NO_DH jpayne@69: jpayne@69: # ifdef __cplusplus jpayne@69: extern "C" jpayne@69: # endif jpayne@69: int ERR_load_DH_strings(void); jpayne@69: jpayne@69: /* jpayne@69: * DH function codes. jpayne@69: */ jpayne@69: # define DH_F_COMPUTE_KEY 102 jpayne@69: # define DH_F_DHPARAMS_PRINT_FP 101 jpayne@69: # define DH_F_DH_BUILTIN_GENPARAMS 106 jpayne@69: # define DH_F_DH_CHECK 126 jpayne@69: # define DH_F_DH_CHECK_EX 121 jpayne@69: # define DH_F_DH_CHECK_PARAMS_EX 122 jpayne@69: # define DH_F_DH_CHECK_PUB_KEY_EX 123 jpayne@69: # define DH_F_DH_CMS_DECRYPT 114 jpayne@69: # define DH_F_DH_CMS_SET_PEERKEY 115 jpayne@69: # define DH_F_DH_CMS_SET_SHARED_INFO 116 jpayne@69: # define DH_F_DH_METH_DUP 117 jpayne@69: # define DH_F_DH_METH_NEW 118 jpayne@69: # define DH_F_DH_METH_SET1_NAME 119 jpayne@69: # define DH_F_DH_NEW_BY_NID 104 jpayne@69: # define DH_F_DH_NEW_METHOD 105 jpayne@69: # define DH_F_DH_PARAM_DECODE 107 jpayne@69: # define DH_F_DH_PKEY_PUBLIC_CHECK 124 jpayne@69: # define DH_F_DH_PRIV_DECODE 110 jpayne@69: # define DH_F_DH_PRIV_ENCODE 111 jpayne@69: # define DH_F_DH_PUB_DECODE 108 jpayne@69: # define DH_F_DH_PUB_ENCODE 109 jpayne@69: # define DH_F_DO_DH_PRINT 100 jpayne@69: # define DH_F_GENERATE_KEY 103 jpayne@69: # define DH_F_PKEY_DH_CTRL_STR 120 jpayne@69: # define DH_F_PKEY_DH_DERIVE 112 jpayne@69: # define DH_F_PKEY_DH_INIT 125 jpayne@69: # define DH_F_PKEY_DH_KEYGEN 113 jpayne@69: jpayne@69: /* jpayne@69: * DH reason codes. jpayne@69: */ jpayne@69: # define DH_R_BAD_GENERATOR 101 jpayne@69: # define DH_R_BN_DECODE_ERROR 109 jpayne@69: # define DH_R_BN_ERROR 106 jpayne@69: # define DH_R_CHECK_INVALID_J_VALUE 115 jpayne@69: # define DH_R_CHECK_INVALID_Q_VALUE 116 jpayne@69: # define DH_R_CHECK_PUBKEY_INVALID 122 jpayne@69: # define DH_R_CHECK_PUBKEY_TOO_LARGE 123 jpayne@69: # define DH_R_CHECK_PUBKEY_TOO_SMALL 124 jpayne@69: # define DH_R_CHECK_P_NOT_PRIME 117 jpayne@69: # define DH_R_CHECK_P_NOT_SAFE_PRIME 118 jpayne@69: # define DH_R_CHECK_Q_NOT_PRIME 119 jpayne@69: # define DH_R_DECODE_ERROR 104 jpayne@69: # define DH_R_INVALID_PARAMETER_NAME 110 jpayne@69: # define DH_R_INVALID_PARAMETER_NID 114 jpayne@69: # define DH_R_INVALID_PUBKEY 102 jpayne@69: # define DH_R_KDF_PARAMETER_ERROR 112 jpayne@69: # define DH_R_KEYS_NOT_SET 108 jpayne@69: # define DH_R_MISSING_PUBKEY 125 jpayne@69: # define DH_R_MODULUS_TOO_LARGE 103 jpayne@69: # define DH_R_NOT_SUITABLE_GENERATOR 120 jpayne@69: # define DH_R_NO_PARAMETERS_SET 107 jpayne@69: # define DH_R_NO_PRIVATE_VALUE 100 jpayne@69: # define DH_R_PARAMETER_ENCODING_ERROR 105 jpayne@69: # define DH_R_PEER_KEY_ERROR 111 jpayne@69: # define DH_R_SHARED_INFO_ERROR 113 jpayne@69: # define DH_R_UNABLE_TO_CHECK_GENERATOR 121 jpayne@69: jpayne@69: # endif jpayne@69: #endif