]> git.ipfire.org Git - thirdparty/openssl.git/blame - include/openssl/bnerr.h
Update copyright year
[thirdparty/openssl.git] / include / openssl / bnerr.h
CommitLineData
52df25cf
RS
1/*
2 * Generated by util/mkerr.pl DO NOT EDIT
33388b44 3 * Copyright 1995-2020 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_BNERR_H
12# define OPENSSL_BNERR_H
d86167ec
DMSP
13# pragma once
14
cbfa5b03
RS
15# include <openssl/opensslconf.h>
16# include <openssl/symhacks.h>
17
2a6a5607 18
52df25cf 19# ifdef __cplusplus
a699b8e4 20extern "C"
52df25cf
RS
21# endif
22int ERR_load_BN_strings(void);
52df25cf
RS
23
24/*
25 * BN function codes.
26 */
936c2b9e 27# ifndef OPENSSL_NO_DEPRECATED_3_0
cbfa5b03
RS
28# define BN_F_BNRAND 0
29# define BN_F_BNRAND_RANGE 0
30# define BN_F_BN_BLINDING_CONVERT_EX 0
31# define BN_F_BN_BLINDING_CREATE_PARAM 0
32# define BN_F_BN_BLINDING_INVERT_EX 0
33# define BN_F_BN_BLINDING_NEW 0
34# define BN_F_BN_BLINDING_UPDATE 0
35# define BN_F_BN_BN2DEC 0
36# define BN_F_BN_BN2HEX 0
37# define BN_F_BN_COMPUTE_WNAF 0
38# define BN_F_BN_CTX_GET 0
39# define BN_F_BN_CTX_NEW 0
40# define BN_F_BN_CTX_NEW_EX 0
41# define BN_F_BN_CTX_START 0
42# define BN_F_BN_DIV 0
43# define BN_F_BN_DIV_RECP 0
44# define BN_F_BN_EXP 0
45# define BN_F_BN_EXPAND_INTERNAL 0
46# define BN_F_BN_GENCB_NEW 0
47# define BN_F_BN_GENERATE_DSA_NONCE 0
48# define BN_F_BN_GENERATE_PRIME_EX 0
49# define BN_F_BN_GF2M_MOD 0
50# define BN_F_BN_GF2M_MOD_EXP 0
51# define BN_F_BN_GF2M_MOD_MUL 0
52# define BN_F_BN_GF2M_MOD_SOLVE_QUAD 0
53# define BN_F_BN_GF2M_MOD_SOLVE_QUAD_ARR 0
54# define BN_F_BN_GF2M_MOD_SQR 0
55# define BN_F_BN_GF2M_MOD_SQRT 0
56# define BN_F_BN_LSHIFT 0
57# define BN_F_BN_MOD_EXP2_MONT 0
58# define BN_F_BN_MOD_EXP_MONT 0
59# define BN_F_BN_MOD_EXP_MONT_CONSTTIME 0
60# define BN_F_BN_MOD_EXP_MONT_WORD 0
61# define BN_F_BN_MOD_EXP_RECP 0
62# define BN_F_BN_MOD_EXP_SIMPLE 0
63# define BN_F_BN_MOD_INVERSE 0
64# define BN_F_BN_MOD_INVERSE_NO_BRANCH 0
65# define BN_F_BN_MOD_LSHIFT_QUICK 0
66# define BN_F_BN_MOD_SQRT 0
67# define BN_F_BN_MONT_CTX_NEW 0
68# define BN_F_BN_MPI2BN 0
69# define BN_F_BN_NEW 0
70# define BN_F_BN_POOL_GET 0
71# define BN_F_BN_RAND 0
72# define BN_F_BN_RAND_RANGE 0
73# define BN_F_BN_RECP_CTX_NEW 0
74# define BN_F_BN_RSHIFT 0
75# define BN_F_BN_SET_WORDS 0
76# define BN_F_BN_STACK_PUSH 0
77# define BN_F_BN_USUB 0
78# endif
52df25cf
RS
79
80/*
81 * BN reason codes.
82 */
83# define BN_R_ARG2_LT_ARG3 100
84# define BN_R_BAD_RECIPROCAL 101
85# define BN_R_BIGNUM_TOO_LONG 114
86# define BN_R_BITS_TOO_SMALL 118
87# define BN_R_CALLED_WITH_EVEN_MODULUS 102
88# define BN_R_DIV_BY_ZERO 103
89# define BN_R_ENCODING_ERROR 104
90# define BN_R_EXPAND_ON_STATIC_BIGNUM_DATA 105
91# define BN_R_INPUT_NOT_REDUCED 110
92# define BN_R_INVALID_LENGTH 106
93# define BN_R_INVALID_RANGE 115
94# define BN_R_INVALID_SHIFT 119
95# define BN_R_NOT_A_SQUARE 111
96# define BN_R_NOT_INITIALIZED 107
97# define BN_R_NO_INVERSE 108
98# define BN_R_NO_SOLUTION 116
636b087e 99# define BN_R_NO_SUITABLE_DIGEST 120
52df25cf
RS
100# define BN_R_PRIVATE_KEY_TOO_LARGE 117
101# define BN_R_P_IS_NOT_PRIME 112
102# define BN_R_TOO_MANY_ITERATIONS 113
103# define BN_R_TOO_MANY_TEMPORARY_VARIABLES 109
104
105#endif