/external/boringssl/src/crypto/ec/ |
D | simple.c | 156 if (!BN_copy(&dest->field, &src->field) || in ec_GFp_simple_group_copy() 157 !BN_copy(&dest->a, &src->a) || in ec_GFp_simple_group_copy() 158 !BN_copy(&dest->b, &src->b)) { in ec_GFp_simple_group_copy() 193 if (!BN_copy(&group->field, p)) { in ec_GFp_simple_group_set_curve() 206 } else if (!BN_copy(&group->a, tmp_a)) { in ec_GFp_simple_group_set_curve() 238 if (p != NULL && !BN_copy(p, &group->field)) { in ec_GFp_simple_group_get_curve() 257 if (a != NULL && !BN_copy(a, &group->a)) { in ec_GFp_simple_group_get_curve() 260 if (b != NULL && !BN_copy(b, &group->b)) { in ec_GFp_simple_group_get_curve() 307 if (!BN_copy(a, &group->a) || !BN_copy(b, &group->b)) { in ec_GFp_simple_group_check_discriminant() 371 if (!BN_copy(&dest->X, &src->X) || in ec_GFp_simple_point_copy() [all …]
|
D | ec.c | 310 if (!BN_copy(&group->order, order)) { in EC_GROUP_set_generator() 318 if (!BN_copy(&group->cofactor, cofactor)) { in EC_GROUP_set_generator() 392 if (!BN_copy(&group->order, order) || in ec_group_new_from_data() 490 if (!BN_copy(&dest->order, &src->order) || in ec_group_copy() 491 !BN_copy(&dest->cofactor, &src->cofactor)) { in ec_group_copy() 538 if (!BN_copy(order, &group->order)) { in EC_GROUP_get_order() 547 if (!BN_copy(cofactor, &group->cofactor)) { in EC_GROUP_get_cofactor()
|
D | ec_montgomery.c | 279 if (!BN_copy(r, group->one)) { in ec_GFp_mont_field_set_to_one()
|
D | ec_key.c | 199 if (!BN_copy(dest->priv_key, src->priv_key)) { in EC_KEY_copy()
|
/external/boringssl/src/crypto/bn/ |
D | gcd.c | 195 if (BN_copy(a, in_a) == NULL) { in BN_gcd() 198 if (BN_copy(b, in_b) == NULL) { in BN_gcd() 215 if (BN_copy(r, t) == NULL) { in BN_gcd() 262 if (!BN_one(X) || BN_copy(B, a) == NULL || BN_copy(A, n) == NULL) { in BN_mod_inverse() 477 if (!BN_copy(tmp, X)) { in BN_mod_inverse() 516 if (!BN_copy(R, Y)) { in BN_mod_inverse() 570 if (!BN_one(X) || BN_copy(B, a) == NULL || BN_copy(A, n) == NULL) { in BN_mod_inverse_no_branch() 676 if (!BN_copy(R, Y)) { in BN_mod_inverse_no_branch()
|
D | sqrt.c | 218 if (!BN_copy(ret, x)) { in BN_mod_sqrt() 227 if (!BN_copy(q, p)) { in BN_mod_sqrt() 364 if (!BN_copy(ret, x)) { in BN_mod_sqrt() 390 if (!BN_copy(t, y)) { in BN_mod_sqrt() 501 BN_copy(out_sqrt, estimate); in BN_sqrt()
|
D | kronecker.c | 80 if (!BN_copy(A, a) || in BN_kronecker() 81 !BN_copy(B, b)) { in BN_kronecker()
|
D | montgomery.c | 162 if (!BN_copy(&to->RR, &from->RR) || in BN_MONT_CTX_copy() 163 !BN_copy(&to->N, &from->N) || in BN_MONT_CTX_copy() 164 !BN_copy(&to->Ni, &from->Ni)) { in BN_MONT_CTX_copy() 185 if (!BN_copy(&mont->N, mod)) { in BN_MONT_CTX_set() 510 if (BN_copy(t, a)) { in BN_from_montgomery()
|
D | bn.c | 135 if (!BN_copy(copy, src)) { in BN_dup() 143 BIGNUM *BN_copy(BIGNUM *dest, const BIGNUM *src) { in BN_copy() function
|
D | exponentiation.c | 150 if (BN_copy(v, a) == NULL) { in BN_exp() 156 if (BN_copy(rr, a) == NULL) { in BN_exp() 177 BN_copy(r, rr); in BN_exp() 214 if (!BN_copy(&(recp->N), d)) { in BN_RECP_CTX_set() 279 if (!BN_copy(r, m)) { in BN_div_recp() 451 if (!BN_copy(aa, m)) { in mod_exp_recp() 1121 if (!BN_copy(rr, &tmp)) { in BN_mod_exp_mont_consttime()
|
D | prime.c | 522 BN_copy(t, a); in BN_is_prime_fasttest_ex() 537 if (!BN_copy(A1, A)) { in BN_is_prime_fasttest_ex()
|
D | div.c | 144 if (BN_copy(rm, num) == NULL) { in BN_div() 501 if (BN_copy(r, a) == NULL) { in BN_mod_lshift_quick()
|
D | bn_test.cc | 398 !BN_copy(b.get(), a.get()) || in test_sub() 446 !BN_copy(b.get(), a.get()) || in test_div() 542 if (!BN_copy(a.get(), b.get())) { in test_lshift1() 613 if (!BN_copy(a.get(), b.get())) { in test_rshift1() 849 if (!BN_copy(b.get(), a.get())) { in test_div_word()
|
D | mul.c | 670 BN_copy(r, rr); in BN_mul() 881 BN_copy(r, rr); in BN_sqr()
|
/external/vboot_reference/host/lib/ |
D | util_misc.c | 78 BN_copy(N, rsa_private_key->n); in vb_keyb_from_rsa() 98 BN_copy(RR, R); in vb_keyb_from_rsa()
|
/external/boringssl/src/crypto/dh/ |
D | check.c | 77 if (!BN_copy(&q, dh->p) || in DH_check_pub_key()
|
/external/vboot_reference/utility/ |
D | dumpRSAPublicKey.c | 92 BN_copy(RR, R); in output()
|
/external/boringssl/src/crypto/dsa/ |
D | dsa_impl.c | 133 if (!BN_copy(&kq, &k)) { in sign_setup() 626 !BN_copy(X, W) || in paramgen()
|
/external/boringssl/src/crypto/rsa/ |
D | blinding.c | 245 if (!BN_copy(r, b->Ai)) { in BN_BLINDING_convert_ex()
|
D | rsa_impl.c | 818 BN_copy(rsa->e, e_value); in keygen()
|
/external/boringssl/src/crypto/ecdsa/ |
D | ecdsa.c | 409 if (BN_copy(ret->r, in_r) == NULL) { in ECDSA_do_sign_ex()
|
/external/boringssl/src/include/openssl/ |
D | bn.h | 186 OPENSSL_EXPORT BIGNUM *BN_copy(BIGNUM *dest, const BIGNUM *src);
|
/external/openssh/ |
D | moduli.c | 334 if (BN_copy(largebase, start) == NULL) in gen_candidates()
|
D | sshkey.c | 1780 if ((BN_copy(n->dsa->p, k->dsa->p) == NULL) || in sshkey_from_private() 1781 (BN_copy(n->dsa->q, k->dsa->q) == NULL) || in sshkey_from_private() 1782 (BN_copy(n->dsa->g, k->dsa->g) == NULL) || in sshkey_from_private() 1783 (BN_copy(n->dsa->pub_key, k->dsa->pub_key) == NULL)) { in sshkey_from_private() 1812 if ((BN_copy(n->rsa->n, k->rsa->n) == NULL) || in sshkey_from_private() 1813 (BN_copy(n->rsa->e, k->rsa->e) == NULL)) { in sshkey_from_private()
|