]> git.ipfire.org Git - thirdparty/openssl.git/blame - include/openssl/dsaerr.h
Add legacy include guards to public header files
[thirdparty/openssl.git] / include / openssl / dsaerr.h
CommitLineData
52df25cf
RS
1/*
2 * Generated by util/mkerr.pl DO NOT EDIT
2a6a5607 3 * Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
52df25cf 4 *
48f4ad77 5 * Licensed under the Apache License 2.0 (the "License"). You may not use
52df25cf
RS
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
ae4186b0
DMSP
11#ifndef OPENSSL_DSAERR_H
12# define OPENSSL_DSAERR_H
d86167ec
DMSP
13# pragma once
14
15# include <openssl/macros.h>
16# if !OPENSSL_API_3
17# define HEADER_DSAERR_H
18# endif
52df25cf 19
cbfa5b03
RS
20# include <openssl/opensslconf.h>
21# include <openssl/symhacks.h>
22
2a6a5607 23
048ebccb
RL
24# include <openssl/opensslconf.h>
25
26# ifndef OPENSSL_NO_DSA
27
28# ifdef __cplusplus
a699b8e4 29extern "C"
048ebccb 30# endif
52df25cf 31int ERR_load_DSA_strings(void);
52df25cf
RS
32
33/*
34 * DSA function codes.
35 */
cbfa5b03
RS
36# if !OPENSSL_API_3
37# define DSA_F_DSAPARAMS_PRINT 0
38# define DSA_F_DSAPARAMS_PRINT_FP 0
39# define DSA_F_DSA_BUILTIN_PARAMGEN 0
40# define DSA_F_DSA_BUILTIN_PARAMGEN2 0
41# define DSA_F_DSA_DO_SIGN 0
42# define DSA_F_DSA_DO_VERIFY 0
43# define DSA_F_DSA_METH_DUP 0
44# define DSA_F_DSA_METH_NEW 0
45# define DSA_F_DSA_METH_SET1_NAME 0
46# define DSA_F_DSA_NEW_METHOD 0
47# define DSA_F_DSA_PARAM_DECODE 0
48# define DSA_F_DSA_PRINT_FP 0
49# define DSA_F_DSA_PRIV_DECODE 0
50# define DSA_F_DSA_PRIV_ENCODE 0
51# define DSA_F_DSA_PUB_DECODE 0
52# define DSA_F_DSA_PUB_ENCODE 0
53# define DSA_F_DSA_SIGN 0
54# define DSA_F_DSA_SIGN_SETUP 0
55# define DSA_F_DSA_SIG_NEW 0
56# define DSA_F_OLD_DSA_PRIV_DECODE 0
57# define DSA_F_PKEY_DSA_CTRL 0
58# define DSA_F_PKEY_DSA_CTRL_STR 0
59# define DSA_F_PKEY_DSA_KEYGEN 0
60# endif
52df25cf
RS
61
62/*
63 * DSA reason codes.
64 */
048ebccb
RL
65# define DSA_R_BAD_Q_VALUE 102
66# define DSA_R_BN_DECODE_ERROR 108
67# define DSA_R_BN_ERROR 109
68# define DSA_R_DECODE_ERROR 104
69# define DSA_R_INVALID_DIGEST_TYPE 106
70# define DSA_R_INVALID_PARAMETERS 112
71# define DSA_R_MISSING_PARAMETERS 101
7408f675 72# define DSA_R_MISSING_PRIVATE_KEY 111
048ebccb
RL
73# define DSA_R_MODULUS_TOO_LARGE 103
74# define DSA_R_NO_PARAMETERS_SET 107
75# define DSA_R_PARAMETER_ENCODING_ERROR 105
76# define DSA_R_Q_NOT_PRIME 113
77# define DSA_R_SEED_LEN_SMALL 110
52df25cf 78
048ebccb 79# endif
52df25cf 80#endif