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 21 /* 22 * BN reason codes. 23 */ 24 # define BN_R_ARG2_LT_ARG3 100 25 # define BN_R_BAD_RECIPROCAL 101 26 # define BN_R_BIGNUM_TOO_LONG 114 27 # define BN_R_BITS_TOO_SMALL 118 28 # define BN_R_CALLED_WITH_EVEN_MODULUS 102 29 # define BN_R_DIV_BY_ZERO 103 30 # define BN_R_ENCODING_ERROR 104 31 # define BN_R_EXPAND_ON_STATIC_BIGNUM_DATA 105 32 # define BN_R_INPUT_NOT_REDUCED 110 33 # define BN_R_INVALID_LENGTH 106 34 # define BN_R_INVALID_RANGE 115 35 # define BN_R_INVALID_SHIFT 119 36 # define BN_R_NOT_A_SQUARE 111 37 # define BN_R_NOT_INITIALIZED 107 38 # define BN_R_NO_INVERSE 108 39 # define BN_R_NO_PRIME_CANDIDATE 121 40 # define BN_R_NO_SOLUTION 116 41 # define BN_R_NO_SUITABLE_DIGEST 120 42 # define BN_R_PRIVATE_KEY_TOO_LARGE 117 43 # define BN_R_P_IS_NOT_PRIME 112 44 # define BN_R_TOO_MANY_ITERATIONS 113 45 # define BN_R_TOO_MANY_TEMPORARY_VARIABLES 109 46 47 #endif 48