Home
last modified time | relevance | path

Searched refs:ERR_LIB_BN (Results 1 – 25 of 27) sorted by relevance

12

/freebsd/crypto/openssl/crypto/bn/
H A Dbn_err.c18 {ERR_PACK(ERR_LIB_BN, 0, BN_R_ARG2_LT_ARG3), "arg2 lt arg3"},
19 {ERR_PACK(ERR_LIB_BN, 0, BN_R_BAD_RECIPROCAL), "bad reciprocal"},
20 {ERR_PACK(ERR_LIB_BN, 0, BN_R_BIGNUM_TOO_LONG), "bignum too long"},
21 {ERR_PACK(ERR_LIB_BN, 0, BN_R_BITS_TOO_SMALL), "bits too small"},
22 {ERR_PACK(ERR_LIB_BN, 0, BN_R_CALLED_WITH_EVEN_MODULUS),
24 {ERR_PACK(ERR_LIB_BN, 0, BN_R_DIV_BY_ZERO), "div by zero"},
25 {ERR_PACK(ERR_LIB_BN, 0, BN_R_ENCODING_ERROR), "encoding error"},
26 {ERR_PACK(ERR_LIB_BN, 0, BN_R_EXPAND_ON_STATIC_BIGNUM_DATA),
28 {ERR_PACK(ERR_LIB_BN, 0, BN_R_INPUT_NOT_REDUCED), "input not reduced"},
29 {ERR_PACK(ERR_LIB_BN, 0, BN_R_INVALID_LENGTH), "invalid length"},
[all …]
H A Dbn_intern.c33 ERR_raise(ERR_LIB_BN, ERR_R_MALLOC_FAILURE); in bn_compute_wNAF()
43 ERR_raise(ERR_LIB_BN, ERR_R_INTERNAL_ERROR); in bn_compute_wNAF()
55 ERR_raise(ERR_LIB_BN, ERR_R_INTERNAL_ERROR); in bn_compute_wNAF()
66 ERR_raise(ERR_LIB_BN, ERR_R_MALLOC_FAILURE); in bn_compute_wNAF()
101 ERR_raise(ERR_LIB_BN, ERR_R_INTERNAL_ERROR); in bn_compute_wNAF()
113 ERR_raise(ERR_LIB_BN, ERR_R_INTERNAL_ERROR); in bn_compute_wNAF()
124 ERR_raise(ERR_LIB_BN, ERR_R_INTERNAL_ERROR); in bn_compute_wNAF()
130 ERR_raise(ERR_LIB_BN, ERR_R_INTERNAL_ERROR); in bn_compute_wNAF()
191 ERR_raise(ERR_LIB_BN, ERR_R_MALLOC_FAILURE); in bn_set_words()
H A Dbn_rand.c45 ERR_raise(ERR_LIB_BN, ERR_R_MALLOC_FAILURE); in bnrand()
98 ERR_raise(ERR_LIB_BN, BN_R_BITS_TOO_SMALL); in bnrand()
140 ERR_raise(ERR_LIB_BN, ERR_R_PASSED_NULL_PARAMETER); in bnrand_range()
145 ERR_raise(ERR_LIB_BN, BN_R_INVALID_RANGE); in bnrand_range()
180 ERR_raise(ERR_LIB_BN, BN_R_TOO_MANY_ITERATIONS); in bnrand_range()
194 ERR_raise(ERR_LIB_BN, BN_R_TOO_MANY_ITERATIONS); in bnrand_range()
250 ERR_raise(ERR_LIB_BN, ERR_R_PASSED_NULL_PARAMETER);
255 ERR_raise(ERR_LIB_BN, BN_R_INVALID_RANGE); in BN_generate_dsa_nonce()
273 ERR_raise(ERR_LIB_BN, BN_R_TOO_MANY_ITERATIONS); in BN_generate_dsa_nonce()
335 ERR_raise(ERR_LIB_BN, BN_R_PRIVATE_KEY_TOO_LARG
[all...]
H A Dbn_sqrt.c43 ERR_raise(ERR_LIB_BN, BN_R_P_IS_NOT_PRIME); in BN_mod_sqrt()
203 ERR_raise(ERR_LIB_BN, BN_R_P_IS_NOT_PRIME); in BN_mod_sqrt()
215 ERR_raise(ERR_LIB_BN, BN_R_TOO_MANY_ITERATIONS); in BN_mod_sqrt()
230 ERR_raise(ERR_LIB_BN, BN_R_P_IS_NOT_PRIME); in BN_mod_sqrt()
322 ERR_raise(ERR_LIB_BN, BN_R_NOT_A_SQUARE); in BN_mod_sqrt()
353 ERR_raise(ERR_LIB_BN, BN_R_NOT_A_SQUARE); in BN_mod_sqrt()
H A Dbn_blind.c37 ERR_raise(ERR_LIB_BN, ERR_R_MALLOC_FAILURE); in BN_BLINDING_new()
43 ERR_raise(ERR_LIB_BN, ERR_R_MALLOC_FAILURE); in BN_BLINDING_new()
98 ERR_raise(ERR_LIB_BN, BN_R_NOT_INITIALIZED); in BN_BLINDING_update()
141 ERR_raise(ERR_LIB_BN, BN_R_NOT_INITIALIZED); in BN_BLINDING_convert_ex()
175 ERR_raise(ERR_LIB_BN, BN_R_NOT_INITIALIZED); in BN_BLINDING_invert_ex()
286 ERR_raise(ERR_LIB_BN, BN_R_TOO_MANY_ITERATIONS); in BN_BLINDING_create_param()
H A Dbn_ctx.c123 ERR_raise(ERR_LIB_BN, ERR_R_MALLOC_FAILURE); in BN_CTX_new_ex()
189 ERR_raise(ERR_LIB_BN, BN_R_TOO_MANY_TEMPORARY_VARIABLES); in BN_CTX_start()
227 ERR_raise(ERR_LIB_BN, BN_R_TOO_MANY_TEMPORARY_VARIABLES); in BN_CTX_get()
272 ERR_raise(ERR_LIB_BN, ERR_R_MALLOC_FAILURE); in BN_STACK_push()
326 ERR_raise(ERR_LIB_BN, ERR_R_MALLOC_FAILURE); in BN_POOL_get()
H A Dbn_gf2m.c399 ERR_raise(ERR_LIB_BN, BN_R_INVALID_LENGTH); in BN_GF2m_mod()
479 ERR_raise(ERR_LIB_BN, ERR_R_MALLOC_FAILURE); in BN_GF2m_mod_mul()
484 ERR_raise(ERR_LIB_BN, BN_R_INVALID_LENGTH); in BN_GF2m_mod_mul()
541 ERR_raise(ERR_LIB_BN, ERR_R_MALLOC_FAILURE); in BN_GF2m_mod_sqr()
546 ERR_raise(ERR_LIB_BN, BN_R_INVALID_LENGTH); in BN_GF2m_mod_sqr()
926 ERR_raise(ERR_LIB_BN, ERR_R_MALLOC_FAILURE); in BN_GF2m_mod_exp()
931 ERR_raise(ERR_LIB_BN, BN_R_INVALID_LENGTH); in BN_GF2m_mod_exp()
990 ERR_raise(ERR_LIB_BN, ERR_R_MALLOC_FAILURE); in BN_GF2m_mod_sqrt()
995 ERR_raise(ERR_LIB_BN, BN_R_INVALID_LENGTH); in BN_GF2m_mod_sqrt()
1083 ERR_raise(ERR_LIB_BN, BN_R_TOO_MANY_ITERATIONS); in BN_GF2m_mod_solve_quad_arr()
[all …]
H A Dbn_mpi.c49 ERR_raise(ERR_LIB_BN, BN_R_INVALID_LENGTH); in BN_mpi2bn()
55 ERR_raise(ERR_LIB_BN, BN_R_ENCODING_ERROR); in BN_mpi2bn()
H A Dbn_conv.c27 ERR_raise(ERR_LIB_BN, ERR_R_MALLOC_FAILURE); in BN_bn2hex()
74 ERR_raise(ERR_LIB_BN, ERR_R_MALLOC_FAILURE); in BN_bn2dec()
158 ERR_raise(ERR_LIB_BN, ERR_R_PASSED_INVALID_ARGUMENT); in BN_hex2bn()
H A Dbn_mod.c21 ERR_raise(ERR_LIB_BN, ERR_R_PASSED_INVALID_ARGUMENT); in BN_nnmod()
67 ERR_raise(ERR_LIB_BN, ERR_R_MALLOC_FAILURE); in bn_mod_add_fixed_top()
195 ERR_raise(ERR_LIB_BN, ERR_R_PASSED_INVALID_ARGUMENT); in BN_mod_sub_quick()
308 ERR_raise(ERR_LIB_BN, BN_R_INPUT_NOT_REDUCED); in BN_mod_lshift_quick()
H A Dbn_recp.c25 ERR_raise(ERR_LIB_BN, ERR_R_MALLOC_FAILURE); in BN_RECP_CTX_new()
149 ERR_raise(ERR_LIB_BN, BN_R_BAD_RECIPROCAL); in BN_div_recp()
H A Dbn_div.c27 ERR_raise(ERR_LIB_BN, BN_R_DIV_BY_ZERO);
215 ERR_raise(ERR_LIB_BN, BN_R_DIV_BY_ZERO); in BN_div()
225 ERR_raise(ERR_LIB_BN, BN_R_NOT_INITIALIZED); in BN_div()
H A Dbn_shift.c86 ERR_raise(ERR_LIB_BN, BN_R_INVALID_SHIFT); in BN_lshift()
155 ERR_raise(ERR_LIB_BN, BN_R_INVALID_SHIFT); in BN_rshift()
H A Dbn_exp.c57 ERR_raise(ERR_LIB_BN, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED); in BN_exp()
183 ERR_raise(ERR_LIB_BN, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED); in BN_mod_exp_recp()
328 ERR_raise(ERR_LIB_BN, BN_R_CALLED_WITH_EVEN_MODULUS); in BN_mod_exp_mont()
627 ERR_raise(ERR_LIB_BN, BN_R_CALLED_WITH_EVEN_MODULUS); in bn_mod_exp_mont_fixed_top()
1201 ERR_raise(ERR_LIB_BN, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED); in BN_mod_exp_mont_word()
1209 ERR_raise(ERR_LIB_BN, BN_R_CALLED_WITH_EVEN_MODULUS); in BN_mod_exp_mont_word()
1333 ERR_raise(ERR_LIB_BN, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED); in BN_mod_exp_simple()
1338 ERR_raise(ERR_LIB_BN, ERR_R_PASSED_INVALID_ARGUMENT); in BN_mod_exp_simple()
H A Dbn_lib.c248 ERR_raise(ERR_LIB_BN, ERR_R_MALLOC_FAILURE); in BN_new()
271 ERR_raise(ERR_LIB_BN, BN_R_BIGNUM_TOO_LONG); in bn_expand_internal()
275 ERR_raise(ERR_LIB_BN, BN_R_EXPAND_ON_STATIC_BIGNUM_DATA); in bn_expand_internal()
283 ERR_raise(ERR_LIB_BN, ERR_R_MALLOC_FAILURE); in bn_expand_internal()
1011 ERR_raise(ERR_LIB_BN, ERR_R_MALLOC_FAILURE); in BN_GENCB_set()
H A Dbn_prime.c135 ERR_raise(ERR_LIB_BN, BN_R_BITS_TOO_SMALL); in BN_generate_prime_ex2()
143 ERR_raise(ERR_LIB_BN, BN_R_BITS_TOO_SMALL); in BN_generate_prime_ex2()
149 ERR_raise(ERR_LIB_BN, ERR_R_MALLOC_FAILURE); in BN_generate_prime_ex2()
H A Dbn_gcd.c525 ERR_raise(ERR_LIB_BN, ERR_R_MALLOC_FAILURE); in BN_mod_inverse()
532 ERR_raise(ERR_LIB_BN, BN_R_NO_INVERSE); in BN_mod_inverse()
H A Dbn_add.c139 ERR_raise(ERR_LIB_BN, BN_R_ARG2_LT_ARG3); in BN_usub()
H A Dbn_exp2.c36 ERR_raise(ERR_LIB_BN, BN_R_CALLED_WITH_EVEN_MODULUS); in BN_mod_exp2_mont()
H A Dbn_rsa_fips186_4.c353 ERR_raise(ERR_LIB_BN, BN_R_NO_PRIME_CANDIDATE); in ossl_bn_rsa_fips186_4_derive_prime()
/freebsd/crypto/openssl/include/openssl/
H A Derr.h73 # define ERR_LIB_BN 3 macro
130 # define BNerr(f, r) ERR_raise_data(ERR_LIB_BN, (r), NULL)
316 # define ERR_R_BN_LIB (ERR_LIB_BN/* 3 */ | ERR_RFLAG_COMMON)
H A Derr.h.in75 # define ERR_LIB_BN 3 macro
132 # define BNerr(f, r) ERR_raise_data(ERR_LIB_BN, (r), NULL)
318 # define ERR_R_BN_LIB (ERR_LIB_BN/* 3 */ | ERR_RFLAG_COMMON)
/freebsd/crypto/openssl/crypto/ec/
H A Dec2_oct.c85 if (ERR_GET_LIB(err) == ERR_LIB_BN in ossl_ec_GF2m_simple_set_compressed_coordinates()
H A Decp_oct.c109 if (ERR_GET_LIB(err) == ERR_LIB_BN in ossl_ec_GFp_simple_set_compressed_coordinates()
/freebsd/crypto/openssl/crypto/rsa/
H A Drsa_gen.c226 if (ERR_GET_LIB(error) == ERR_LIB_BN in rsa_multiprime_keygen()

12