Home
last modified time | relevance | path

Searched refs:BN_is_one (Results 1 – 19 of 19) sorted by relevance

/external/boringssl/src/crypto/bn/
Dsqrt.c93 if (BN_is_zero(a) || BN_is_one(a)) { in BN_mod_sqrt()
100 if (!BN_set_word(ret, BN_is_one(a))) { in BN_mod_sqrt()
288 if (BN_is_one(y)) { in BN_mod_sqrt()
363 if (BN_is_one(b)) { in BN_mod_sqrt()
377 while (!BN_is_one(t)) { in BN_mod_sqrt()
Dgcd.c466 if (BN_is_one(D)) { in BN_mod_inverse_ex()
516 if (BN_is_one(A)) { in BN_mod_inverse_ex()
686 if (BN_is_one(A)) { in BN_mod_inverse_no_branch()
Dkronecker.c137 ret = BN_is_one(B) ? ret : 0; in BN_kronecker()
Dcmp.c190 int BN_is_one(const BIGNUM *bn) { in BN_is_one() function
Dprime.c608 if (BN_is_one(w)) { in witness()
620 if (BN_is_one(w)) { in witness()
Dexponentiation.c449 if (BN_is_one(m)) { in mod_exp_recp()
640 if (BN_is_one(m)) { in BN_mod_exp_mont()
887 if (BN_is_one(m)) { in BN_mod_exp_mont_consttime()
1244 if (BN_is_one(m)) { in BN_mod_exp_mont_word()
Dbn_test.cc1225 if (!BN_is_one(d.get())) { in test_mod_exp_mont5()
/external/boringssl/src/crypto/dh/
Dcheck.c131 if (!BN_is_one(t1)) { in DH_check()
142 if (!BN_is_one(t2)) { in DH_check()
Ddh.c284 } while (BN_is_zero(priv_key) || BN_is_one(priv_key)); in DH_generate_key()
/external/tpm2/
DRSAKeySieve.c283 if(BN_is_one(bnB)) in MillerRabin()
291 if(BN_is_one(bnZ) || BN_ucmp(bnZ, bnWm1) == 0) in MillerRabin()
303 if(BN_is_one(bnZ)) in MillerRabin()
DCpriECC.c1891 if(!BN_is_one(bnH)) in C_2_2_MQV()
2031 if(!BN_is_one(bnH)) in SM2KeyExchange()
Dpart4.txt30937 213 if(BN_is_one(bnB))
30947 223 if(BN_is_one(bnZ) || BN_ucmp(bnZ, bnWm1) == 0)
30967 238 if(BN_is_one(bnZ))
35286 1754 if(!BN_is_one(bnH))
35455 1890 if(!BN_is_one(bnH))
/external/boringssl/src/crypto/rsa/
Drsa_impl.c903 if (BN_is_one(r1)) { in rsa_default_multi_prime_keygen()
933 if (BN_is_one(r1)) { in rsa_default_multi_prime_keygen()
976 if (!BN_is_one(r1)) { in rsa_default_multi_prime_keygen()
Drsa.c616 if (!BN_is_one(&de)) { in RSA_check_key()
/external/boringssl/src/include/openssl/
Dbn.h452 OPENSSL_EXPORT int BN_is_one(const BIGNUM *bn);
/external/boringssl/src/crypto/ec/
Dsimple.c382 Z_is_one = BN_is_one(&point->Z); in ec_GFp_simple_set_Jprojective_coordinates_GFp()
498 if (BN_is_one(Z_)) { in ec_GFp_simple_point_get_affine_coordinates()
Dp256-x86_64.c514 r->Z_is_one = BN_is_one(&r->Z); in ecp_nistz256_points_mul()
/external/boringssl/src/crypto/dsa/
Ddsa.c351 if (!BN_is_one(g)) { in DSA_generate_parameters_ex()
/external/wpa_supplicant_8/src/crypto/
Dcrypto_openssl.c1200 return BN_is_one((const BIGNUM *) a); in crypto_bignum_is_one()