Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/bn/
Dprime.c747 if (!BN_add(rnd, rnd, rem)) { in probable_prime_dh()
757 if (!BN_add(rnd, rnd, add)) { in probable_prime_dh()
810 if (!BN_add(q, q, t1)) { in probable_prime_dh_safe()
830 if (!BN_add(p, p, padd)) { in probable_prime_dh_safe()
833 if (!BN_add(q, q, qadd)) { in probable_prime_dh_safe()
Dgcd.c409 if (!BN_add(D, T, B)) { in BN_mod_inverse_ex()
467 if (!BN_add(tmp, X, Y)) { in BN_mod_inverse_ex()
491 if (!BN_add(tmp, tmp, Y)) { in BN_mod_inverse_ex()
661 if (!BN_add(tmp, tmp, Y)) { in BN_mod_inverse_no_branch()
Ddiv.c392 return (d->neg ? BN_sub : BN_add)(r, r, d); in BN_nnmod()
397 if (!BN_add(r, a, b)) { in BN_mod_add()
430 return BN_add(r, r, m); in BN_mod_sub_quick()
Dsqrt.c245 if (!(p->neg ? BN_add : BN_sub)(y, y, p)) { in BN_mod_sqrt()
467 !BN_add(tmp, tmp, estimate) || in BN_sqrt()
Dbn_test.cc361 if (!BN_add(c.get(), a.get(), b.get())) { in test_add()
374 if (!BN_add(c.get(), c.get(), b.get()) || in test_add()
375 !BN_add(c.get(), c.get(), a.get())) { in test_add()
420 if (!BN_add(c.get(), c.get(), b.get()) || in test_sub()
484 !BN_add(d.get(), e.get(), c.get()) || in test_div()
542 if (!BN_add(c.get(), a.get(), a.get()) || in test_lshift1()
571 !BN_add(c.get(), c.get(), c.get())) { in test_rshift()
647 !BN_add(c.get(), c.get(), c.get())) { in test_lshift()
1456 !BN_add(nn.get(), nn.get(), BN_value_one())) { in test_sqrt()
Dadd.c67 int BN_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b) { in BN_add() function
/external/boringssl/src/crypto/dsa/
Ddsa.c287 !BN_add(W, W, r0)) { in DSA_generate_parameters_ex()
295 !BN_add(X, X, test)) { in DSA_generate_parameters_ex()
354 if (!BN_add(test, test, BN_value_one())) { in DSA_generate_parameters_ex()
527 if (!BN_add(s, &xr, &m)) { in DSA_do_sign()
817 if (!BN_add(&kq, &kq, dsa->q)) { in DSA_sign_setup()
820 if (BN_num_bits(&kq) <= BN_num_bits(dsa->q) && !BN_add(&kq, &kq, dsa->q)) { in DSA_sign_setup()
/external/boringssl/src/crypto/rsa/
Drsa_impl.c698 if (!BN_add(r0, r0, rsa->p)) { in mod_exp()
722 if (!BN_add(r0, r0, rsa->p)) { in mod_exp()
729 if (!BN_add(r0, r1, m1)) { in mod_exp()
762 (BN_is_negative(m1) && !BN_add(m1, m1, prime)) || in mod_exp()
764 !BN_add(r0, r0, m1)) { in mod_exp()
784 if (!BN_add(vrfy, vrfy, rsa->n)) { in mod_exp()
Drsa_test.cc680 if (!BN_add(key->p, key->p, BN_value_one())) { in TestBadKey()
/external/boringssl/src/crypto/ecdsa/
Decdsa.c294 if (!BN_add(k, k, order)) { in ecdsa_sign_setup()
298 if (!BN_add(k, k, order)) { in ecdsa_sign_setup()
/external/openssh/
Dmoduli.c426 if (BN_add(q, q, largebase) == 0) in gen_candidates()
/external/boringssl/src/include/openssl/
Dbn.h376 OPENSSL_EXPORT int BN_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b);
/external/tpm2/
DCpriECC.c909 || !BN_add(bnD, bnZ, bnD) in SignEcdsa()
1305 if(!BN_add(bnT, bnK, bnR)) in SignSM2()
Dpart4.txt34133 821 || !BN_add(bnD, bnZ, bnD)
34583 1186 if(!BN_add(bnT, bnK, bnR))
/external/boringssl/src/crypto/pkcs8/
Dpkcs8.c180 !BN_add(Ij, Ij, Bpl1) || in pkcs12_key_gen_raw()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_pwd.c224 BN_add(data->my_scalar, data->private_value, mask) != 1 || in eap_pwd_build_commit_req()
/external/boringssl/src/crypto/ec/
Dsimple.c732 if (BN_is_odd(n0) && !BN_add(n0, n0, p)) { in ec_GFp_simple_add()
/external/wpa_supplicant_8/src/eap_peer/
Deap_pwd.c400 BN_add(data->my_scalar, data->private_value, mask) != 1 || in eap_pwd_perform_commit_exchange()
/external/wpa_supplicant_8/src/crypto/
Dcrypto_openssl.c1058 return BN_add((BIGNUM *) c, (const BIGNUM *) a, (const BIGNUM *) b) ? in crypto_bignum_add()