/external/boringssl/src/crypto/rsa/ |
D | rsa_impl.c | 899 !BN_sub(r2, rsa->p, BN_value_one()) || in rsa_default_multi_prime_keygen() 929 if (!BN_sub(r2, rsa->q, BN_value_one()) || in rsa_default_multi_prime_keygen() 971 if (!BN_sub(r2, ap->prime, BN_value_one()) || in rsa_default_multi_prime_keygen() 1026 if (!BN_sub(r1, rsa->p, BN_value_one())) { in rsa_default_multi_prime_keygen() 1029 if (!BN_sub(r2, rsa->q, BN_value_one())) { in rsa_default_multi_prime_keygen() 1038 if (!BN_sub(r3, ap->prime, BN_value_one()) || in rsa_default_multi_prime_keygen() 1074 if (!BN_sub(ap->exp, ap->prime, BN_value_one()) || in rsa_default_multi_prime_keygen()
|
D | rsa.c | 577 !BN_sub(&pm1, key->p, BN_value_one()) || in RSA_check_key() 578 !BN_sub(&qm1, key->q, BN_value_one()) || in RSA_check_key() 595 !BN_sub(&pm1, ap->prime, BN_value_one()) || in RSA_check_key() 773 if (!BN_sub(rem, rsa->p, BN_value_one()) || in RSA_recover_crt_params() 775 !BN_sub(rem, rsa->q, BN_value_one()) || in RSA_recover_crt_params()
|
D | blinding.c | 385 if (!BN_sub(r1, p, BN_value_one())) { in rsa_get_public_exp() 388 if (!BN_sub(r2, q, BN_value_one())) { in rsa_get_public_exp()
|
D | rsa_test.cc | 680 if (!BN_add(key->p, key->p, BN_value_one())) { in TestBadKey()
|
/external/boringssl/src/crypto/ec/ |
D | example_mul.c | 107 if (!EC_POINT_mul(group, result, BN_value_one(), p, n, NULL) || in example_EC_POINT_mul()
|
D | ec_test.cc | 221 if (!BN_sub(y.get(), y.get(), BN_value_one())) { in TestSetAffine()
|
D | ec_montgomery.c | 164 if (one == NULL || !BN_to_montgomery(one, BN_value_one(), mont, ctx)) { in ec_GFp_mont_group_set_curve()
|
D | simple.c | 455 BN_value_one(), ctx); in ec_GFp_simple_point_set_affine_coordinates()
|
/external/boringssl/src/crypto/dsa/ |
D | dsa.c | 193 if (test == NULL || !BN_lshift(test, BN_value_one(), bits - 1)) { in DSA_generate_parameters_ex() 302 !BN_sub(r0, c, BN_value_one()) || in DSA_generate_parameters_ex() 336 if (!BN_sub(test, p, BN_value_one()) || in DSA_generate_parameters_ex() 354 if (!BN_add(test, test, BN_value_one())) { in DSA_generate_parameters_ex()
|
/external/boringssl/src/crypto/dh/ |
D | check.c | 122 if (BN_cmp(dh->g, BN_value_one()) <= 0) { in DH_check()
|
/external/boringssl/src/crypto/bn/ |
D | bn.c | 168 const BIGNUM *BN_value_one(void) { in BN_value_one() function
|
D | bn_test.cc | 1302 !BN_sub(b.get(), b.get(), BN_value_one())) { in test_exp() 1325 if (!BN_mod_exp(r.get(), a.get(), zero.get(), BN_value_one(), nullptr) || in test_exp_mod_zero() 1327 !BN_mod_exp_mont(r.get(), a.get(), zero.get(), BN_value_one(), nullptr, in test_exp_mod_zero() 1330 !BN_mod_exp_mont_consttime(r.get(), a.get(), zero.get(), BN_value_one(), in test_exp_mod_zero() 1333 !BN_mod_exp_mont_word(r.get(), 42, zero.get(), BN_value_one(), nullptr, in test_exp_mod_zero() 1449 !BN_add(nn.get(), nn.get(), BN_value_one())) { in test_sqrt()
|
D | sqrt.c | 460 BN_lshift(estimate, BN_value_one(), BN_num_bits(in)/2); in BN_sqrt()
|
D | exponentiation.c | 715 } else if (!BN_to_montgomery(r, BN_value_one(), mont, ctx)) { in BN_mod_exp_mont() 989 } else if (!BN_to_montgomery(&tmp, BN_value_one(), mont, ctx)) { in BN_mod_exp_mont_consttime() 1481 if (!BN_to_montgomery(r, BN_value_one(), mont, ctx)) { in BN_mod_exp2_mont()
|
D | prime.c | 483 if (BN_cmp(a, BN_value_one()) <= 0) { in BN_is_prime_fasttest_ex()
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_pwd_common.c | 266 if (BN_cmp(cofactor, BN_value_one())) { in compute_password_element()
|
/external/boringssl/src/include/openssl/ |
D | bn.h | 193 OPENSSL_EXPORT const BIGNUM *BN_value_one(void);
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_pwd.c | 714 if (BN_cmp(cofactor, BN_value_one())) { in eap_pwd_process_commit_resp() 741 if (BN_cmp(cofactor, BN_value_one())) { in eap_pwd_process_commit_resp()
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_pwd.c | 456 if (BN_cmp(cofactor, BN_value_one())) { in eap_pwd_perform_commit_exchange() 483 if (BN_cmp(cofactor, BN_value_one())) { in eap_pwd_perform_commit_exchange()
|
/external/wpa_supplicant_8/src/crypto/ |
D | crypto_openssl.c | 1222 !BN_sub(exp, (const BIGNUM *) p, BN_value_one()) || in crypto_bignum_legendre()
|