Home
last modified time | relevance | path

Searched refs:BN_dup (Results 1 – 25 of 40) sorted by relevance

12

/external/boringssl/src/crypto/dsa/
Ddsa.c439 dsa->p = BN_dup(p); in DSA_generate_parameters_ex()
440 dsa->q = BN_dup(q); in DSA_generate_parameters_ex()
441 dsa->g = BN_dup(g); in DSA_generate_parameters_ex()
469 ret->p = BN_dup(dsa->p); in DSAparams_dup()
470 ret->q = BN_dup(dsa->q); in DSAparams_dup()
471 ret->g = BN_dup(dsa->g); in DSAparams_dup()
929 if ((ret->q = BN_dup(dsa->q)) == NULL) { in DSA_dup_DH()
933 if ((dsa->p != NULL && (ret->p = BN_dup(dsa->p)) == NULL) || in DSA_dup_DH()
934 (dsa->g != NULL && (ret->g = BN_dup(dsa->g)) == NULL) || in DSA_dup_DH()
935 (dsa->pub_key != NULL && (ret->pub_key = BN_dup(dsa->pub_key)) == NULL) || in DSA_dup_DH()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/crypto/dsa/
Ddsa.c440 dsa->p = BN_dup(p); in DSA_generate_parameters_ex()
441 dsa->q = BN_dup(q); in DSA_generate_parameters_ex()
442 dsa->g = BN_dup(g); in DSA_generate_parameters_ex()
470 ret->p = BN_dup(dsa->p); in DSAparams_dup()
471 ret->q = BN_dup(dsa->q); in DSAparams_dup()
472 ret->g = BN_dup(dsa->g); in DSAparams_dup()
963 if ((ret->q = BN_dup(dsa->q)) == NULL) { in DSA_dup_DH()
967 if ((dsa->p != NULL && (ret->p = BN_dup(dsa->p)) == NULL) || in DSA_dup_DH()
968 (dsa->g != NULL && (ret->g = BN_dup(dsa->g)) == NULL) || in DSA_dup_DH()
969 (dsa->pub_key != NULL && (ret->pub_key = BN_dup(dsa->pub_key)) == NULL) || in DSA_dup_DH()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/crypto/rsa_extra/
Drsa_test.cc1068 rsa->n = BN_dup(rsa_template->n); in TEST()
1070 rsa->e = BN_dup(rsa_template->e); in TEST()
1072 rsa->d = BN_dup(rsa_template->d); in TEST()
1074 rsa->p = BN_dup(rsa_template->p); in TEST()
1076 rsa->q = BN_dup(rsa_template->q); in TEST()
1078 rsa->dmp1 = BN_dup(rsa_template->dmp1); in TEST()
1080 rsa->dmq1 = BN_dup(rsa_template->dmq1); in TEST()
1082 rsa->iqmp = BN_dup(rsa_template->iqmp); in TEST()
/external/boringssl/src/crypto/rsa_extra/
Drsa_test.cc1070 rsa->n = BN_dup(rsa_template->n); in TEST()
1072 rsa->e = BN_dup(rsa_template->e); in TEST()
1074 rsa->d = BN_dup(rsa_template->d); in TEST()
1076 rsa->p = BN_dup(rsa_template->p); in TEST()
1078 rsa->q = BN_dup(rsa_template->q); in TEST()
1080 rsa->dmp1 = BN_dup(rsa_template->dmp1); in TEST()
1082 rsa->dmq1 = BN_dup(rsa_template->dmq1); in TEST()
1084 rsa->iqmp = BN_dup(rsa_template->iqmp); in TEST()
/external/rust/crates/quiche/deps/boringssl/src/crypto/dh/
Ddh_test.cc146 b->p = BN_dup(a->p); in RunBasicTests()
147 b->g = BN_dup(a->g); in RunBasicTests()
Ddh.c459 a = BN_dup(src); in int_dh_bn_cpy()
/external/boringssl/src/crypto/dh_extra/
Ddh_test.cc147 b->p = BN_dup(a->p); in RunBasicTests()
148 b->g = BN_dup(a->g); in RunBasicTests()
Dparams.c216 a = BN_dup(src); in int_dh_bn_cpy()
/external/openssh/
Dssh-rsa.c130 if ((d_consttime = BN_dup(rsa_d)) == NULL || in ssh_rsa_complete_crt_parameters()
131 (rsa_iqmp = BN_dup(iqmp)) == NULL) { in ssh_rsa_complete_crt_parameters()
/external/rust/crates/quiche/deps/boringssl/src/fuzz/
Dbn_mod_exp.cc35 bssl::UniquePtr<BIGNUM> exp(BN_dup(p)); in mod_exp()
/external/python/cryptography/src/cryptography/hazmat/backends/openssl/
Ddh.py24 q_dup = lib.BN_dup(q[0])
179 pub_key_dup = self._backend._lib.BN_dup(pub_key[0])
Ddsa.py165 pub_key_dup = self._backend._lib.BN_dup(pub_key[0])
/external/boringssl/src/crypto/fipsmodule/bn/
Dgcd.c298 a_reduced = BN_dup(a); in BN_mod_inverse()
Dbn.c107 BIGNUM *BN_dup(const BIGNUM *src) { in BN_dup() function
Ddiv.c682 abs_m = BN_dup(m); in BN_mod_lshift()
787 BIGNUM *tmp = BN_dup(a); in BN_mod_word()
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/bn/
Dgcd.c298 a_reduced = BN_dup(a); in BN_mod_inverse()
Dbn.c126 BIGNUM *BN_dup(const BIGNUM *src) { in BN_dup() function
Ddiv.c683 abs_m = BN_dup(m); in BN_mod_lshift()
788 BIGNUM *tmp = BN_dup(a); in BN_mod_word()
/external/rust/crates/quiche/deps/boringssl/src/crypto/evp/
Dp_dsa_asn1.c214 a = BN_dup(src); in dup_bn_into()
Dp_rsa.c125 dctx->pub_exp = BN_dup(sctx->pub_exp); in pkey_rsa_copy()
/external/boringssl/src/crypto/evp/
Dp_dsa_asn1.c218 a = BN_dup(src); in dup_bn_into()
Dp_rsa.c125 dctx->pub_exp = BN_dup(sctx->pub_exp); in pkey_rsa_copy()
/external/boringssl/src/crypto/bn_extra/
Dconvert.c261 copy = BN_dup(a); in BN_bn2dec()
/external/rust/crates/quiche/deps/boringssl/src/crypto/bn_extra/
Dconvert.c261 copy = BN_dup(a); in BN_bn2dec()
/external/boringssl/src/tool/
Dspeed.cc258 verify_key->n = BN_dup(key->n); in SpeedRSA()
259 verify_key->e = BN_dup(key->e); in SpeedRSA()

12