Home
last modified time | relevance | path

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

/external/openssl/crypto/bn/
Dbn_sqrt.c98 if (BN_is_zero(a) || BN_is_one(a)) in BN_mod_sqrt()
104 if (!BN_set_word(ret, BN_is_one(a))) in BN_mod_sqrt()
259 if (BN_is_one(y)) in BN_mod_sqrt()
330 if (BN_is_one(b)) in BN_mod_sqrt()
341 while (!BN_is_one(t)) in BN_mod_sqrt()
Dbn_gcd.c429 if (BN_is_one(D)) in BN_mod_inverse()
477 if (BN_is_one(A)) in BN_mod_inverse()
631 if (BN_is_one(A)) in BN_mod_inverse_no_branch()
Dbn_kron.c150 ret = BN_is_one(B) ? ret : 0; in BN_kronecker()
Dbn_prime.c357 if (BN_is_one(w)) in witness()
365 if (BN_is_one(w)) in witness()
Dbn.h408 #define BN_is_one(a) (BN_abs_is_word((a),1) && !(a)->neg) macro
Dbntest.c1343 if(!BN_is_one(d)) in test_gf2m_mod_inv()
1404 if(!BN_is_one(f)) in test_gf2m_mod_div()
/external/openssl/crypto/rsa/
Drsa_gen.c139 if (BN_is_one(r1)) break; in rsa_builtin_keygen()
164 if (BN_is_one(r1)) in rsa_builtin_keygen()
Drsa_chk.c125 if (!BN_is_one(i)) in RSA_check_key()
/external/openssl/crypto/dh/
Ddh_key.c164 while (BN_is_zero(priv_key) || BN_is_one(priv_key)); in generate_key()
/external/openssl/crypto/jpake/
Djpake.c296 res = BN_is_one(t); in is_legal()
331 if(BN_is_one(received->p2.gx)) in JPAKE_STEP1_process()
/external/openssh/
Ddh.c111 if (BN_is_zero(dhg->g) || BN_is_one(dhg->g)) in parse_prime()
/external/openssl/crypto/dsa/
Ddsa_gen.c335 if (!BN_is_one(g)) break; in dsa_builtin_paramgen()
/external/openssl/crypto/ec/
Decp_smpl.c437 Z_is_one = BN_is_one(&point->Z); in ec_GFp_simple_set_Jprojective_coordinates_GFp()
568 if (BN_is_one(Z_)) in ec_GFp_simple_point_get_affine_coordinates()
/external/openssl/include/openssl/
Dbn.h408 #define BN_is_one(a) (BN_abs_is_word((a),1) && !(a)->neg) macro