Home
last modified time | relevance | path

Searched refs:BN_one (Results 1 – 13 of 13) sorted by relevance

/openssl/doc/man3/
H A DBN_zero.pod5 BN_zero, BN_one, BN_value_one, BN_set_word, BN_get_word - BIGNUM assignment
13 int BN_one(BIGNUM *a);
25 BN_zero(), BN_one() and BN_set_word() set B<a> to the values 0, 1 and
26 B<w> respectively. BN_zero() and BN_one() are macros.
38 BN_one() and BN_set_word() return 1 on success, 0 otherwise.
/openssl/crypto/bn/
H A Dbn_gcd.c50 if (!BN_one(X)) in bn_mod_inverse_no_branch()
239 if (!BN_one(X)) in int_bn_mod_inverse()
368 if (!BN_one(D)) in int_bn_mod_inverse()
378 if (!BN_one(D)) in int_bn_mod_inverse()
H A Dbn_exp.c66 if (!BN_one(rr)) in BN_exp()
185 ret = BN_one(r); in BN_mod_exp_recp()
237 if (!BN_one(r)) in BN_mod_exp_recp()
327 ret = BN_one(rr); in BN_mod_exp_mont()
629 ret = BN_one(rr); in BN_mod_exp_mont_consttime()
1185 ret = BN_one(rr); in BN_mod_exp_mont_word()
1267 if (!BN_one(rr)) in BN_mod_exp_mont_word()
1307 ret = BN_one(r); in BN_mod_exp_simple()
1345 if (!BN_one(r)) in BN_mod_exp_simple()
H A Dbn_exp2.c42 ret = BN_one(rr); in BN_mod_exp2_mont()
H A Dbn_sqrt.c266 } else if (!BN_one(x)) in BN_mod_sqrt()
H A Dbn_gf2m.c587 if (!BN_one(b)) in BN_GF2m_mod_inv_vartime()
870 return BN_one(r); in BN_GF2m_mod_exp_arr()
/openssl/test/
H A Dexptest.c60 BN_one(m); in test_mod_exp_zero()
61 BN_one(a); in test_mod_exp_zero()
H A Dbntest.c702 if (!(TEST_true(BN_one(a)) in test_modexp_mont5()
3054 if (!TEST_true(BN_one(exp_a1)) in test_mod_exp2_mont()
3055 || !TEST_true(BN_one(exp_p1)) in test_mod_exp2_mont()
3056 || !TEST_true(BN_one(exp_a2)) in test_mod_exp2_mont()
3057 || !TEST_true(BN_one(exp_p2))) in test_mod_exp2_mont()
H A Dectest.c67 || !TEST_true(BN_one(n1)) in group_order_tests()
89 || !TEST_true(BN_one(n1)) in group_order_tests()
/openssl/crypto/ec/
H A Dec2_smpl.c664 if (!BN_one(point->Z)) in ossl_ec_GF2m_simple_make_affine()
851 || !BN_one(r->Z)) in ec_GF2m_simple_ladder_post()
H A Decp_smpl.c1252 if (!BN_one(prod_Z[0])) in ossl_ec_GFp_simple_points_make_affine()
1342 if (!BN_one(p->Z)) in ossl_ec_GFp_simple_points_make_affine()
1713 if (!BN_one(r->Z)) in ossl_ec_GFp_simple_ladder_post()
/openssl/util/
H A Dother.syms238 BN_one define
/openssl/include/openssl/
H A Dbn.h197 # define BN_one(a) (BN_set_word((a),1)) macro

Completed in 64 milliseconds