Home
last modified time | relevance | path

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

12

/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/bn/
H A Dbn_err.c17 {ERR_PACK(ERR_LIB_BN, BN_F_BNRAND, 0), "bnrand"},
18 {ERR_PACK(ERR_LIB_BN, BN_F_BNRAND_RANGE, 0), "bnrand_range"},
19 {ERR_PACK(ERR_LIB_BN, BN_F_BN_BLINDING_CONVERT_EX, 0),
21 {ERR_PACK(ERR_LIB_BN, BN_F_BN_BLINDING_CREATE_PARAM, 0),
23 {ERR_PACK(ERR_LIB_BN, BN_F_BN_BLINDING_INVERT_EX, 0),
25 {ERR_PACK(ERR_LIB_BN, BN_F_BN_BLINDING_NEW, 0), "BN_BLINDING_new"},
26 {ERR_PACK(ERR_LIB_BN, BN_F_BN_BLINDING_UPDATE, 0), "BN_BLINDING_update"},
27 {ERR_PACK(ERR_LIB_BN, BN_F_BN_BN2DEC, 0), "BN_bn2dec"},
28 {ERR_PACK(ERR_LIB_BN, BN_F_BN_BN2HEX, 0), "BN_bn2hex"},
29 {ERR_PACK(ERR_LIB_BN, BN_F_BN_COMPUTE_WNAF, 0), "bn_compute_wNAF"},
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/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); in ossl_bn_priv_rand_range_fixed_top()
255 ERR_raise(ERR_LIB_BN, BN_R_INVALID_RANGE); in ossl_bn_priv_rand_range_fixed_top()
273 ERR_raise(ERR_LIB_BN, BN_R_TOO_MANY_ITERATIONS); in ossl_bn_priv_rand_range_fixed_top()
335 ERR_raise(ERR_LIB_BN, BN_R_PRIVATE_KEY_TOO_LARGE); in ossl_bn_gen_dsa_nonce_fixed_top()
[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.c398 ERR_raise(ERR_LIB_BN, BN_R_INVALID_LENGTH); in BN_GF2m_mod()
478 ERR_raise(ERR_LIB_BN, ERR_R_MALLOC_FAILURE); in BN_GF2m_mod_mul()
483 ERR_raise(ERR_LIB_BN, BN_R_INVALID_LENGTH); in BN_GF2m_mod_mul()
540 ERR_raise(ERR_LIB_BN, ERR_R_MALLOC_FAILURE); in BN_GF2m_mod_sqr()
545 ERR_raise(ERR_LIB_BN, BN_R_INVALID_LENGTH); in BN_GF2m_mod_sqr()
925 ERR_raise(ERR_LIB_BN, ERR_R_MALLOC_FAILURE); in BN_GF2m_mod_exp()
930 ERR_raise(ERR_LIB_BN, BN_R_INVALID_LENGTH); in BN_GF2m_mod_exp()
989 ERR_raise(ERR_LIB_BN, ERR_R_MALLOC_FAILURE); in BN_GF2m_mod_sqrt()
994 ERR_raise(ERR_LIB_BN, BN_R_INVALID_LENGTH); in BN_GF2m_mod_sqrt()
1082 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_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_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_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.c61 ERR_raise(ERR_LIB_BN, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED); in BN_exp()
187 ERR_raise(ERR_LIB_BN, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED); in BN_mod_exp_recp()
332 ERR_raise(ERR_LIB_BN, BN_R_CALLED_WITH_EVEN_MODULUS); in BN_mod_exp_mont()
635 ERR_raise(ERR_LIB_BN, BN_R_CALLED_WITH_EVEN_MODULUS); in BN_mod_exp_mont_consttime()
1196 ERR_raise(ERR_LIB_BN, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED); in BN_mod_exp_mont_word()
1204 ERR_raise(ERR_LIB_BN, BN_R_CALLED_WITH_EVEN_MODULUS); in BN_mod_exp_mont_word()
1328 ERR_raise(ERR_LIB_BN, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED); in BN_mod_exp_simple()
1333 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_new()
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()
/netbsd-src/crypto/external/bsd/openssl.old/dist/include/openssl/
H A Derr.h56 # define ERR_LIB_BN 3 macro
102 # define BNerr(f,r) ERR_PUT_error(ERR_LIB_BN,(f),(r),OPENSSL_FILE,OPENSSL_LINE)
175 # define ERR_R_BN_LIB ERR_LIB_BN/* 3 */
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/rsa/
H A Drsa_gen.c198 if (ERR_GET_LIB(error) == ERR_LIB_BN in rsa_builtin_keygen()
387 RSAerr(RSA_F_RSA_BUILTIN_KEYGEN, ERR_LIB_BN); in rsa_builtin_keygen()
/netbsd-src/crypto/external/bsd/openssl/dist/include/openssl/
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)
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/ec/
H A Dec2_oct.c78 if (ERR_GET_LIB(err) == ERR_LIB_BN in ec_GF2m_simple_set_compressed_coordinates()

12