Home
last modified time | relevance | path

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

/freebsd-12-stable/crypto/openssl/doc/man3/
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-12-stable/crypto/openssl/crypto/bn/
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()
Dbn_exp.c76 if (!BN_one(rr)) in BN_exp()
195 ret = BN_one(r); in BN_mod_exp_recp()
247 if (!BN_one(r)) in BN_mod_exp_recp()
340 ret = BN_one(rr); in BN_mod_exp_mont()
648 ret = BN_one(rr); in BN_mod_exp_mont_consttime()
1208 ret = BN_one(rr); in BN_mod_exp_mont_word()
1290 if (!BN_one(rr)) in BN_mod_exp_mont_word()
1330 ret = BN_one(r); in BN_mod_exp_simple()
1368 if (!BN_one(r)) in BN_mod_exp_simple()
Dbn_exp2.c42 ret = BN_one(rr); in BN_mod_exp2_mont()
Dbn_sqrt.c264 } else if (!BN_one(x)) in BN_mod_sqrt()
Dbn_gf2m.c578 if (!BN_one(b)) in BN_GF2m_mod_inv_vartime()
861 return BN_one(r); in BN_GF2m_mod_exp_arr()
/freebsd-12-stable/usr.bin/dc/
Dinout.c372 bn_check(BN_one(mult)); in printnumber()
375 bn_check(BN_one(stop)); in printnumber()
Dbcode.c1228 bn_check(BN_one(r->number)); in bexp()
1260 bn_check(BN_one(one)); in bexp()
/freebsd-12-stable/contrib/ntp/util/
Dntp-keygen.c1618 BN_one(q); in gen_mvkey()
1692 BN_one(a[i]); in gen_mvkey()
1722 BN_one(u); in gen_mvkey()
1746 BN_one(biga); in gen_mvkey()
/freebsd-12-stable/crypto/openssl/crypto/ec/
Dec2_smpl.c633 if (!BN_one(point->Z)) in ec_GF2m_simple_make_affine()
818 || !BN_one(r->Z)) in ec_GF2m_simple_ladder_post()
Decp_smpl.c1246 if (!BN_one(prod_Z[0])) in ec_GFp_simple_points_make_affine()
1336 if (!BN_one(p->Z)) in ec_GFp_simple_points_make_affine()
1706 if (!BN_one(r->Z)) in ec_GFp_simple_ladder_post()
/freebsd-12-stable/crypto/openssl/include/openssl/
Dbn.h189 # define BN_one(a) (BN_set_word((a),1)) macro
/freebsd-12-stable/secure/lib/libcrypto/man/man3/
DMakefile882 MLINKS+= BN_zero.3 BN_one.3