/external/boringssl/src/crypto/bn/ |
D | gcd.c | 125 if (!BN_sub(a, a, b)) { in euclid() 385 if (!BN_sub(M, A, B)) { in BN_mod_inverse() 398 if (!BN_sub(M, A, B)) { in BN_mod_inverse() 403 if (!BN_sub(M, A, T)) { in BN_mod_inverse() 421 if (!BN_sub(M, M, B)) { in BN_mod_inverse() 507 if (!BN_sub(Y, n, Y)) { in BN_mod_inverse() 667 if (!BN_sub(Y, n, Y)) { in BN_mod_inverse_no_branch()
|
D | bn_test.cc | 410 if (!BN_sub(c.get(), a.get(), b.get())) { in test_sub() 422 !BN_sub(c.get(), c.get(), a.get())) { in test_sub() 476 !BN_sub(d.get(), d.get(), a.get())) { in test_div() 534 !BN_sub(a.get(), b.get(), c.get())) { in test_lshift1() 574 !BN_sub(d.get(), d.get(), b.get())) { in test_rshift() 605 if (!BN_sub(c.get(), a.get(), b.get()) || in test_rshift1() 606 !BN_sub(c.get(), c.get(), b.get())) { in test_rshift1() 650 !BN_sub(d.get(), d.get(), b.get())) { in test_lshift() 704 !BN_sub(d.get(), d.get(), b.get())) { in test_mul() 756 !BN_sub(d.get(), d.get(), a.get())) { in test_sqr() [all …]
|
D | div.c | 392 return (d->neg ? BN_sub : BN_add)(r, r, d); in BN_nnmod() 416 if (!BN_sub(r, a, b)) { in BN_mod_sub() 426 if (!BN_sub(r, a, b)) { in BN_mod_sub_quick() 536 if (!BN_sub(r, r, m)) { in BN_mod_lshift_quick() 558 return BN_sub(r, r, m); in BN_mod_lshift1_quick()
|
D | random.c | 211 if (!BN_sub(r, r, range)) { in BN_rand_range() 215 if (!BN_sub(r, r, range)) { in BN_rand_range()
|
D | sqrt.c | 245 if (!(p->neg ? BN_add : BN_sub)(y, y, p)) { in BN_mod_sqrt() 472 !BN_sub(delta, in, tmp)) { in BN_sqrt()
|
D | prime.c | 740 if (!BN_sub(rnd, rnd, t1)) { in probable_prime_dh() 799 if (!BN_sub(q, q, t1)) { in probable_prime_dh_safe()
|
D | add.c | 202 int BN_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b) { in BN_sub() function
|
/external/boringssl/src/crypto/rsa/ |
D | rsa.c | 546 !BN_sub(&pm1, key->p, BN_value_one()) || in RSA_check_key() 547 !BN_sub(&qm1, key->q, BN_value_one()) || in RSA_check_key() 694 if (!BN_sub(p_plus_q, rsa->n, totient) || in RSA_recover_crt_params() 699 !BN_sub(rem, rem, multiple) || in RSA_recover_crt_params() 702 !BN_sub(rsa->q, p_plus_q, p_minus_q) || in RSA_recover_crt_params() 715 if (!BN_sub(rem, rsa->p, BN_value_one()) || in RSA_recover_crt_params() 717 !BN_sub(rem, rsa->q, BN_value_one()) || in RSA_recover_crt_params()
|
D | rsa_impl.c | 686 if (!BN_sub(r0, r0, m1)) { in mod_exp() 736 if (!BN_sub(vrfy, vrfy, I)) { in mod_exp() 823 !BN_sub(r2, rsa->p, BN_value_one()) || in keygen() 852 if (!BN_sub(r2, rsa->q, BN_value_one()) || in keygen() 878 if (!BN_sub(r1, rsa->p, BN_value_one())) { in keygen() 881 if (!BN_sub(r2, rsa->q, BN_value_one())) { in keygen()
|
D | blinding.c | 383 if (!BN_sub(r1, p, BN_value_one())) { in rsa_get_public_exp() 386 if (!BN_sub(r2, q, BN_value_one())) { in rsa_get_public_exp()
|
/external/openssh/ |
D | rsa.c | 175 if ((BN_sub(aux, rsa->q, BN_value_one()) == 0) || in rsa_generate_additional_parameters() 177 (BN_sub(aux, rsa->p, BN_value_one()) == 0) || in rsa_generate_additional_parameters()
|
D | dh.c | 236 if (!BN_sub(tmp, dh->p, BN_value_one()) || in dh_pub_is_valid()
|
D | sshkey.c | 2934 if (!BN_sub(tmp, order, BN_value_one())) { in sshkey_ec_validate_public() 2975 if (!BN_sub(tmp, order, BN_value_one())) { in sshkey_ec_validate_private()
|
/external/vboot_reference/host/lib/ |
D | util_misc.c | 82 BN_sub(BigMinus1, Big1, Big2); in vb_keyb_from_rsa() 88 BN_sub(N0inv, B, N0inv); in vb_keyb_from_rsa()
|
/external/vboot_reference/utility/ |
D | dumpRSAPublicKey.c | 75 BN_sub(BigMinus1, Big1, Big2); in output() 82 BN_sub(N0inv, B, N0inv); in output()
|
/external/boringssl/src/crypto/dsa/ |
D | dsa_impl.c | 246 if (!BN_sub(s, s, dsa->q)) { in sign() 634 !BN_sub(r0, c, BN_value_one()) || in paramgen() 635 !BN_sub(p, X, r0)) { in paramgen() 668 if (!BN_sub(test, p, BN_value_one()) || in paramgen()
|
/external/boringssl/src/include/openssl/ |
D | bn.h | 369 OPENSSL_EXPORT int BN_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b);
|
/external/wpa_supplicant_8/src/crypto/ |
D | crypto_openssl.c | 1041 return BN_sub((BIGNUM *) c, (const BIGNUM *) a, (const BIGNUM *) b) ? in crypto_bignum_sub() 1125 !BN_sub(exp, (const BIGNUM *) p, BN_value_one()) || in crypto_bignum_legendre()
|