lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame^] | 1 | /* |
| 2 | * Generated by util/mkerr.pl DO NOT EDIT |
| 3 | * Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved. |
| 4 | * |
| 5 | * Licensed under the OpenSSL license (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 HEADER_DSAERR_H |
| 12 | # define HEADER_DSAERR_H |
| 13 | |
| 14 | # ifndef HEADER_SYMHACKS_H |
| 15 | # include <openssl/symhacks.h> |
| 16 | # endif |
| 17 | |
| 18 | # include <openssl/opensslconf.h> |
| 19 | |
| 20 | # ifndef OPENSSL_NO_DSA |
| 21 | |
| 22 | # ifdef __cplusplus |
| 23 | extern "C" |
| 24 | # endif |
| 25 | int ERR_load_DSA_strings(void); |
| 26 | |
| 27 | /* |
| 28 | * DSA function codes. |
| 29 | */ |
| 30 | # define DSA_F_DSAPARAMS_PRINT 100 |
| 31 | # define DSA_F_DSAPARAMS_PRINT_FP 101 |
| 32 | # define DSA_F_DSA_BUILTIN_PARAMGEN 125 |
| 33 | # define DSA_F_DSA_BUILTIN_PARAMGEN2 126 |
| 34 | # define DSA_F_DSA_DO_SIGN 112 |
| 35 | # define DSA_F_DSA_DO_VERIFY 113 |
| 36 | # define DSA_F_DSA_METH_DUP 127 |
| 37 | # define DSA_F_DSA_METH_NEW 128 |
| 38 | # define DSA_F_DSA_METH_SET1_NAME 129 |
| 39 | # define DSA_F_DSA_NEW_METHOD 103 |
| 40 | # define DSA_F_DSA_PARAM_DECODE 119 |
| 41 | # define DSA_F_DSA_PRINT_FP 105 |
| 42 | # define DSA_F_DSA_PRIV_DECODE 115 |
| 43 | # define DSA_F_DSA_PRIV_ENCODE 116 |
| 44 | # define DSA_F_DSA_PUB_DECODE 117 |
| 45 | # define DSA_F_DSA_PUB_ENCODE 118 |
| 46 | # define DSA_F_DSA_SIGN 106 |
| 47 | # define DSA_F_DSA_SIGN_SETUP 107 |
| 48 | # define DSA_F_DSA_SIG_NEW 102 |
| 49 | # define DSA_F_OLD_DSA_PRIV_DECODE 122 |
| 50 | # define DSA_F_PKEY_DSA_CTRL 120 |
| 51 | # define DSA_F_PKEY_DSA_CTRL_STR 104 |
| 52 | # define DSA_F_PKEY_DSA_KEYGEN 121 |
| 53 | |
| 54 | /* |
| 55 | * DSA reason codes. |
| 56 | */ |
| 57 | # define DSA_R_BAD_Q_VALUE 102 |
| 58 | # define DSA_R_BN_DECODE_ERROR 108 |
| 59 | # define DSA_R_BN_ERROR 109 |
| 60 | # define DSA_R_DECODE_ERROR 104 |
| 61 | # define DSA_R_INVALID_DIGEST_TYPE 106 |
| 62 | # define DSA_R_INVALID_PARAMETERS 112 |
| 63 | # define DSA_R_MISSING_PARAMETERS 101 |
| 64 | # define DSA_R_MISSING_PRIVATE_KEY 111 |
| 65 | # define DSA_R_MODULUS_TOO_LARGE 103 |
| 66 | # define DSA_R_NO_PARAMETERS_SET 107 |
| 67 | # define DSA_R_PARAMETER_ENCODING_ERROR 105 |
| 68 | # define DSA_R_Q_NOT_PRIME 113 |
| 69 | # define DSA_R_SEED_LEN_SMALL 110 |
| 70 | |
| 71 | # endif |
| 72 | #endif |