Searched refs:BN_copy (Results 1 - 25 of 33) sorted by relevance

12

/external/boringssl/src/crypto/bn/
H A Dkronecker.c80 if (!BN_copy(A, a) ||
81 !BN_copy(B, b)) {
H A Dgcd.c195 if (BN_copy(a, in_a) == NULL) {
198 if (BN_copy(b, in_b) == NULL) {
215 if (BN_copy(r, t) == NULL) {
265 if (!BN_one(X) || BN_copy(B, a) == NULL || BN_copy(A, n) == NULL) {
480 if (!BN_copy(tmp, X)) {
519 if (!BN_copy(R, Y)) {
583 if (!BN_one(X) || BN_copy(B, a) == NULL || BN_copy(A, n) == NULL) {
689 if (!BN_copy(
[all...]
H A Dsqrt.c218 if (!BN_copy(ret, x)) {
227 if (!BN_copy(q, p)) {
364 if (!BN_copy(ret, x)) {
390 if (!BN_copy(t, y)) {
500 if (ok && out_sqrt == in && !BN_copy(out_sqrt, estimate)) {
H A Dmontgomery.c156 if (!BN_copy(&to->RR, &from->RR) ||
157 !BN_copy(&to->N, &from->N)) {
182 if (!BN_copy(&mont->N, mod)) {
506 if (BN_copy(t, a)) {
H A Dbn.c135 if (!BN_copy(copy, src)) {
143 BIGNUM *BN_copy(BIGNUM *dest, const BIGNUM *src) { function
H A Dexponentiation.c161 if (BN_copy(v, a) == NULL) {
167 if (BN_copy(rr, a) == NULL) {
187 if (r != rr && !BN_copy(r, rr)) {
225 if (!BN_copy(&(recp->N), d)) {
290 if (!BN_copy(r, m)) {
466 if (!BN_copy(aa, m)) {
1123 if (!BN_copy(rr, &tmp)) {
1219 * probably more overhead than always using BN_mod (which uses BN_copy if a
H A Ddiv.c144 if (BN_copy(rm, num) == NULL) {
501 if (BN_copy(r, a) == NULL) {
H A Dprime.c519 if (t == NULL || !BN_copy(t, a)) {
536 if (!BN_copy(A1, A)) {
H A Dmul.c669 if (r != rr && !BN_copy(r, rr)) {
880 if (rr != r && !BN_copy(r, rr)) {
H A Dbn_test.cc390 !BN_copy(b.get(), a.get()) ||
448 !BN_copy(b.get(), a.get()) ||
544 if (!BN_copy(a.get(), b.get())) {
615 if (!BN_copy(a.get(), b.get())) {
849 if (!BN_copy(b.get(), a.get())) {
/external/boringssl/src/crypto/ec/
H A Dsimple.c112 if (!BN_copy(&dest->field, &src->field) ||
113 !BN_copy(&dest->a, &src->a) ||
114 !BN_copy(&dest->b, &src->b)) {
149 if (!BN_copy(&group->field, p)) {
162 } else if (!BN_copy(&group->a, tmp_a)) {
194 if (p != NULL && !BN_copy(p, &group->field)) {
213 if (a != NULL && !BN_copy(a, &group->a)) {
216 if (b != NULL && !BN_copy(b, &group->b)) {
262 if (!BN_copy(a, &group->a) || !BN_copy(
[all...]
H A Dec.c394 if (!BN_copy(&group->order, order)) {
402 if (!BN_copy(&group->cofactor, cofactor)) {
565 if (!BN_copy(&dest->order, &src->order) ||
566 !BN_copy(&dest->cofactor, &src->cofactor)) {
622 if (BN_copy(order, EC_GROUP_get0_order(group)) == NULL) {
630 if (!BN_copy(cofactor, &group->cofactor)) {
H A Dec_montgomery.c236 if (!BN_copy(r, group->one)) {
H A Dec_key.c193 if (!BN_copy(dest->priv_key, src->priv_key)) {
/external/vboot_reference/host/lib/
H A Dutil_misc.c78 BN_copy(N, rsa_private_key->n);
98 BN_copy(RR, R);
/external/boringssl/src/crypto/dh/
H A Dcheck.c77 if (!BN_copy(&q, dh->p) ||
/external/vboot_reference/utility/
H A DdumpRSAPublicKey.c92 BN_copy(RR, R);
/external/tpm2/
H A DRSAKeySieve.c257 BN_copy(bnWm1, bnW);
883 BN_copy(bnQ, bnP);
H A DCpriRSA.c85 if( BN_copy(bnPhi, bnN) == NULL
213 BN_copy(bnPhi, bnN);
1314 BN_copy(bnQ, bnP);
/external/boringssl/src/crypto/rsa/
H A Dblinding.c247 if (!BN_copy(r, b->Ai)) {
H A Drsa_impl.c891 if (!BN_copy(rsa->e, e_value)) {
1001 if (!BN_copy(ap->r, rsa->n)) {
1007 if (!BN_copy(rsa->n, r1)) {
/external/boringssl/src/crypto/ecdsa/
H A Decdsa.c416 if (BN_copy(ret->r, in_r) == NULL) {
/external/boringssl/src/crypto/dsa/
H A Ddsa.c294 !BN_copy(X, W) ||
665 /* BN_copy(&u1,&t1); */
807 if (!BN_copy(&kq, &k)) {
/external/boringssl/include/openssl/
H A Dbn.h185 /* BN_copy sets |dest| equal to |src| and returns |dest| or NULL on allocation
187 OPENSSL_EXPORT BIGNUM *BN_copy(BIGNUM *dest, const BIGNUM *src);
/external/boringssl/src/include/openssl/
H A Dbn.h185 /* BN_copy sets |dest| equal to |src| and returns |dest| or NULL on allocation
187 OPENSSL_EXPORT BIGNUM *BN_copy(BIGNUM *dest, const BIGNUM *src);

Completed in 534 milliseconds

12