Home
last modified time | relevance | path

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

/freebsd/crypto/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.
/freebsd/crypto/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.c75 if (!BN_one(rr)) in BN_exp()
194 ret = BN_one(r); in BN_mod_exp_recp()
254 if (!BN_one(r)) in BN_mod_exp_recp()
346 ret = BN_one(rr); in BN_mod_exp_mont()
653 ret = BN_one(rr); in BN_mod_exp_mont_consttime()
1213 ret = BN_one(rr); in BN_mod_exp_mont_word()
1295 if (!BN_one(rr)) in BN_mod_exp_mont_word()
1340 ret = BN_one(r); in BN_mod_exp_simple()
1386 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()
876 return BN_one(r); in BN_GF2m_mod_exp_arr()
/freebsd/crypto/openssl/test/
H A Dexptest.c61 BN_one(m); in test_mod_exp_zero()
62 BN_one(a); in test_mod_exp_zero()
H A Dbntest.c684 if (!(TEST_true(BN_one(a)) in test_modexp_mont5()
895 if (!TEST_true(BN_one(b[0]))) in test_gf2m_modinv()
2913 if (!TEST_true(BN_one(exp_a1)) in test_mod_exp2_mont()
2914 || !TEST_true(BN_one(exp_p1)) in test_mod_exp2_mont()
2915 || !TEST_true(BN_one(exp_a2)) in test_mod_exp2_mont()
2916 || !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()
/freebsd/usr.bin/dc/
H A Dinout.c370 bn_check(BN_one(mult)); in printnumber()
373 bn_check(BN_one(stop)); in printnumber()
H A Dbcode.c1226 bn_check(BN_one(r->number)); in bexp()
1258 bn_check(BN_one(one)); in bexp()
/freebsd/contrib/ntp/util/
H A Dntp-keygen.c1633 BN_one(q); in gen_mvkey()
1707 BN_one(a[i]); in gen_mvkey()
1737 BN_one(u); in gen_mvkey()
1761 BN_one(biga); in gen_mvkey()
/freebsd/crypto/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()
/freebsd/crypto/openssl/include/openssl/
H A Dbn.h197 # define BN_one(a) (BN_set_word((a),1)) macro
/freebsd/crypto/openssl/util/
H A Dother.syms240 BN_one define
/freebsd/secure/lib/libcrypto/man/man3/
H A DMakefile1051 MLINKS+= BN_zero.3 BN_one.3