1e1051a39Sopenharmony_ci/*
2e1051a39Sopenharmony_ci * Generated by util/mkerr.pl DO NOT EDIT
3e1051a39Sopenharmony_ci * Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
4e1051a39Sopenharmony_ci *
5e1051a39Sopenharmony_ci * Licensed under the OpenSSL license (the "License").  You may not use
6e1051a39Sopenharmony_ci * this file except in compliance with the License.  You can obtain a copy
7e1051a39Sopenharmony_ci * in the file LICENSE in the source distribution or at
8e1051a39Sopenharmony_ci * https://www.openssl.org/source/license.html
9e1051a39Sopenharmony_ci */
10e1051a39Sopenharmony_ci
11e1051a39Sopenharmony_ci#ifndef HEADER_BNERR_H
12e1051a39Sopenharmony_ci# define HEADER_BNERR_H
13e1051a39Sopenharmony_ci
14e1051a39Sopenharmony_ci# ifndef HEADER_SYMHACKS_H
15e1051a39Sopenharmony_ci#  include <openssl/symhacks.h>
16e1051a39Sopenharmony_ci# endif
17e1051a39Sopenharmony_ci
18e1051a39Sopenharmony_ci# ifdef  __cplusplus
19e1051a39Sopenharmony_ciextern "C"
20e1051a39Sopenharmony_ci# endif
21e1051a39Sopenharmony_ciint ERR_load_BN_strings(void);
22e1051a39Sopenharmony_ci
23e1051a39Sopenharmony_ci/*
24e1051a39Sopenharmony_ci * BN function codes.
25e1051a39Sopenharmony_ci */
26e1051a39Sopenharmony_ci# define BN_F_BNRAND                                      127
27e1051a39Sopenharmony_ci# define BN_F_BNRAND_RANGE                                138
28e1051a39Sopenharmony_ci# define BN_F_BN_BLINDING_CONVERT_EX                      100
29e1051a39Sopenharmony_ci# define BN_F_BN_BLINDING_CREATE_PARAM                    128
30e1051a39Sopenharmony_ci# define BN_F_BN_BLINDING_INVERT_EX                       101
31e1051a39Sopenharmony_ci# define BN_F_BN_BLINDING_NEW                             102
32e1051a39Sopenharmony_ci# define BN_F_BN_BLINDING_UPDATE                          103
33e1051a39Sopenharmony_ci# define BN_F_BN_BN2DEC                                   104
34e1051a39Sopenharmony_ci# define BN_F_BN_BN2HEX                                   105
35e1051a39Sopenharmony_ci# define BN_F_BN_COMPUTE_WNAF                             142
36e1051a39Sopenharmony_ci# define BN_F_BN_CTX_GET                                  116
37e1051a39Sopenharmony_ci# define BN_F_BN_CTX_NEW                                  106
38e1051a39Sopenharmony_ci# define BN_F_BN_CTX_START                                129
39e1051a39Sopenharmony_ci# define BN_F_BN_DIV                                      107
40e1051a39Sopenharmony_ci# define BN_F_BN_DIV_RECP                                 130
41e1051a39Sopenharmony_ci# define BN_F_BN_EXP                                      123
42e1051a39Sopenharmony_ci# define BN_F_BN_EXPAND_INTERNAL                          120
43e1051a39Sopenharmony_ci# define BN_F_BN_GENCB_NEW                                143
44e1051a39Sopenharmony_ci# define BN_F_BN_GENERATE_DSA_NONCE                       140
45e1051a39Sopenharmony_ci# define BN_F_BN_GENERATE_PRIME_EX                        141
46e1051a39Sopenharmony_ci# define BN_F_BN_GF2M_MOD                                 131
47e1051a39Sopenharmony_ci# define BN_F_BN_GF2M_MOD_EXP                             132
48e1051a39Sopenharmony_ci# define BN_F_BN_GF2M_MOD_MUL                             133
49e1051a39Sopenharmony_ci# define BN_F_BN_GF2M_MOD_SOLVE_QUAD                      134
50e1051a39Sopenharmony_ci# define BN_F_BN_GF2M_MOD_SOLVE_QUAD_ARR                  135
51e1051a39Sopenharmony_ci# define BN_F_BN_GF2M_MOD_SQR                             136
52e1051a39Sopenharmony_ci# define BN_F_BN_GF2M_MOD_SQRT                            137
53e1051a39Sopenharmony_ci# define BN_F_BN_LSHIFT                                   145
54e1051a39Sopenharmony_ci# define BN_F_BN_MOD_EXP2_MONT                            118
55e1051a39Sopenharmony_ci# define BN_F_BN_MOD_EXP_MONT                             109
56e1051a39Sopenharmony_ci# define BN_F_BN_MOD_EXP_MONT_CONSTTIME                   124
57e1051a39Sopenharmony_ci# define BN_F_BN_MOD_EXP_MONT_WORD                        117
58e1051a39Sopenharmony_ci# define BN_F_BN_MOD_EXP_RECP                             125
59e1051a39Sopenharmony_ci# define BN_F_BN_MOD_EXP_SIMPLE                           126
60e1051a39Sopenharmony_ci# define BN_F_BN_MOD_INVERSE                              110
61e1051a39Sopenharmony_ci# define BN_F_BN_MOD_INVERSE_NO_BRANCH                    139
62e1051a39Sopenharmony_ci# define BN_F_BN_MOD_LSHIFT_QUICK                         119
63e1051a39Sopenharmony_ci# define BN_F_BN_MOD_SQRT                                 121
64e1051a39Sopenharmony_ci# define BN_F_BN_MONT_CTX_NEW                             149
65e1051a39Sopenharmony_ci# define BN_F_BN_MPI2BN                                   112
66e1051a39Sopenharmony_ci# define BN_F_BN_NEW                                      113
67e1051a39Sopenharmony_ci# define BN_F_BN_POOL_GET                                 147
68e1051a39Sopenharmony_ci# define BN_F_BN_RAND                                     114
69e1051a39Sopenharmony_ci# define BN_F_BN_RAND_RANGE                               122
70e1051a39Sopenharmony_ci# define BN_F_BN_RECP_CTX_NEW                             150
71e1051a39Sopenharmony_ci# define BN_F_BN_RSHIFT                                   146
72e1051a39Sopenharmony_ci# define BN_F_BN_SET_WORDS                                144
73e1051a39Sopenharmony_ci# define BN_F_BN_STACK_PUSH                               148
74e1051a39Sopenharmony_ci# define BN_F_BN_USUB                                     115
75e1051a39Sopenharmony_ci# define BN_F_OSSL_BN_RSA_DO_UNBLIND                      151
76e1051a39Sopenharmony_ci
77e1051a39Sopenharmony_ci/*
78e1051a39Sopenharmony_ci * BN reason codes.
79e1051a39Sopenharmony_ci */
80e1051a39Sopenharmony_ci# define BN_R_ARG2_LT_ARG3                                100
81e1051a39Sopenharmony_ci# define BN_R_BAD_RECIPROCAL                              101
82e1051a39Sopenharmony_ci# define BN_R_BIGNUM_TOO_LONG                             114
83e1051a39Sopenharmony_ci# define BN_R_BITS_TOO_SMALL                              118
84e1051a39Sopenharmony_ci# define BN_R_CALLED_WITH_EVEN_MODULUS                    102
85e1051a39Sopenharmony_ci# define BN_R_DIV_BY_ZERO                                 103
86e1051a39Sopenharmony_ci# define BN_R_ENCODING_ERROR                              104
87e1051a39Sopenharmony_ci# define BN_R_EXPAND_ON_STATIC_BIGNUM_DATA                105
88e1051a39Sopenharmony_ci# define BN_R_INPUT_NOT_REDUCED                           110
89e1051a39Sopenharmony_ci# define BN_R_INVALID_LENGTH                              106
90e1051a39Sopenharmony_ci# define BN_R_INVALID_RANGE                               115
91e1051a39Sopenharmony_ci# define BN_R_INVALID_SHIFT                               119
92e1051a39Sopenharmony_ci# define BN_R_NOT_A_SQUARE                                111
93e1051a39Sopenharmony_ci# define BN_R_NOT_INITIALIZED                             107
94e1051a39Sopenharmony_ci# define BN_R_NO_INVERSE                                  108
95e1051a39Sopenharmony_ci# define BN_R_NO_SOLUTION                                 116
96e1051a39Sopenharmony_ci# define BN_R_PRIVATE_KEY_TOO_LARGE                       117
97e1051a39Sopenharmony_ci# define BN_R_P_IS_NOT_PRIME                              112
98e1051a39Sopenharmony_ci# define BN_R_TOO_MANY_ITERATIONS                         113
99e1051a39Sopenharmony_ci# define BN_R_TOO_MANY_TEMPORARY_VARIABLES                109
100e1051a39Sopenharmony_ci
101e1051a39Sopenharmony_ci#endif
102