1 /* 2 * Generated by util/mkerr.pl DO NOT EDIT 3 * Copyright 1995-2023 The OpenSSL Project Authors. All Rights Reserved. 4 * 5 * Licensed under the Apache License 2.0 (the "License"). You may not use 6 * this file except in compliance with the License. You can obtain a copy 7 * in the file LICENSE in the source distribution or at 8 * https://www.openssl.org/source/license.html 9 */ 10 11 #ifndef OPENSSL_DSAERR_H 12 # define OPENSSL_DSAERR_H 13 # pragma once 14 15 # include <openssl/opensslconf.h> 16 # include <openssl/symhacks.h> 17 # include <openssl/cryptoerr_legacy.h> 18 19 20 # ifndef OPENSSL_NO_DSA 21 22 23 /* 24 * DSA reason codes. 25 */ 26 # define DSA_R_BAD_FFC_PARAMETERS 114 27 # define DSA_R_BAD_Q_VALUE 102 28 # define DSA_R_BN_DECODE_ERROR 108 29 # define DSA_R_BN_ERROR 109 30 # define DSA_R_DECODE_ERROR 104 31 # define DSA_R_INVALID_DIGEST_TYPE 106 32 # define DSA_R_INVALID_PARAMETERS 112 33 # define DSA_R_MISSING_PARAMETERS 101 34 # define DSA_R_MISSING_PRIVATE_KEY 111 35 # define DSA_R_MODULUS_TOO_LARGE 103 36 # define DSA_R_NO_PARAMETERS_SET 107 37 # define DSA_R_PARAMETER_ENCODING_ERROR 105 38 # define DSA_R_P_NOT_PRIME 115 39 # define DSA_R_Q_NOT_PRIME 113 40 # define DSA_R_SEED_LEN_SMALL 110 41 # define DSA_R_TOO_MANY_RETRIES 116 42 43 # endif 44 #endif 45