1/*
2 * Generated by util/mkerr.pl DO NOT EDIT
3 * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
4 *
5 * Licensed under the Apache License 2.0 (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 OPENSSL_BNERR_H
12#define OPENSSL_BNERR_H
13#pragma once
14
15#include <openssl/opensslconf.h>
16#include <openssl/symhacks.h>
17#include <openssl/cryptoerr_legacy.h>
18
19/*
20 * BN reason codes.
21 */
22#define BN_R_ARG2_LT_ARG3 100
23#define BN_R_BAD_RECIPROCAL 101
24#define BN_R_BIGNUM_TOO_LONG 114
25#define BN_R_BITS_TOO_SMALL 118
26#define BN_R_CALLED_WITH_EVEN_MODULUS 102
27#define BN_R_DIV_BY_ZERO 103
28#define BN_R_ENCODING_ERROR 104
29#define BN_R_EXPAND_ON_STATIC_BIGNUM_DATA 105
30#define BN_R_INPUT_NOT_REDUCED 110
31#define BN_R_INVALID_LENGTH 106
32#define BN_R_INVALID_RANGE 115
33#define BN_R_INVALID_SHIFT 119
34#define BN_R_NOT_A_SQUARE 111
35#define BN_R_NOT_INITIALIZED 107
36#define BN_R_NO_INVERSE 108
37#define BN_R_NO_PRIME_CANDIDATE 121
38#define BN_R_NO_SOLUTION 116
39#define BN_R_NO_SUITABLE_DIGEST 120
40#define BN_R_PRIVATE_KEY_TOO_LARGE 117
41#define BN_R_P_IS_NOT_PRIME 112
42#define BN_R_TOO_MANY_ITERATIONS 113
43#define BN_R_TOO_MANY_TEMPORARY_VARIABLES 109
44
45#endif
46