Small simplification in mkerr.pl
[openssl.git] / include / openssl / dsaerr.h
1 /*
2  * Generated by util/mkerr.pl DO NOT EDIT
3  * Copyright 1995-2018 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 # include <openssl/opensslconf.h>
15
16 # ifndef OPENSSL_NO_DSA
17
18 #  ifdef  __cplusplus
19 extern "C"
20 #  endif
21 int ERR_load_DSA_strings(void);
22
23 /*
24  * DSA function codes.
25  */
26 #  define DSA_F_DSAPARAMS_PRINT                            100
27 #  define DSA_F_DSAPARAMS_PRINT_FP                         101
28 #  define DSA_F_DSA_BUILTIN_PARAMGEN                       125
29 #  define DSA_F_DSA_BUILTIN_PARAMGEN2                      126
30 #  define DSA_F_DSA_DO_SIGN                                112
31 #  define DSA_F_DSA_DO_VERIFY                              113
32 #  define DSA_F_DSA_METH_DUP                               127
33 #  define DSA_F_DSA_METH_NEW                               128
34 #  define DSA_F_DSA_METH_SET1_NAME                         129
35 #  define DSA_F_DSA_NEW_METHOD                             103
36 #  define DSA_F_DSA_PARAM_DECODE                           119
37 #  define DSA_F_DSA_PRINT_FP                               105
38 #  define DSA_F_DSA_PRIV_DECODE                            115
39 #  define DSA_F_DSA_PRIV_ENCODE                            116
40 #  define DSA_F_DSA_PUB_DECODE                             117
41 #  define DSA_F_DSA_PUB_ENCODE                             118
42 #  define DSA_F_DSA_SIGN                                   106
43 #  define DSA_F_DSA_SIGN_SETUP                             107
44 #  define DSA_F_DSA_SIG_NEW                                102
45 #  define DSA_F_OLD_DSA_PRIV_DECODE                        122
46 #  define DSA_F_PKEY_DSA_CTRL                              120
47 #  define DSA_F_PKEY_DSA_KEYGEN                            121
48
49 /*
50  * DSA reason codes.
51  */
52 #  define DSA_R_BAD_Q_VALUE                                102
53 #  define DSA_R_BN_DECODE_ERROR                            108
54 #  define DSA_R_BN_ERROR                                   109
55 #  define DSA_R_DECODE_ERROR                               104
56 #  define DSA_R_INVALID_DIGEST_TYPE                        106
57 #  define DSA_R_INVALID_PARAMETERS                         112
58 #  define DSA_R_MISSING_PARAMETERS                         101
59 #  define DSA_R_MODULUS_TOO_LARGE                          103
60 #  define DSA_R_NO_PARAMETERS_SET                          107
61 #  define DSA_R_PARAMETER_ENCODING_ERROR                   105
62 #  define DSA_R_Q_NOT_PRIME                                113
63 #  define DSA_R_SEED_LEN_SMALL                             110
64
65 # endif
66 #endif