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