/external/boringssl/src/crypto/dsa/ |
D | dsa.c | 439 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/ |
D | dsa.c | 440 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/ |
D | rsa_test.cc | 1068 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/ |
D | rsa_test.cc | 1070 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/ |
D | dh_test.cc | 146 b->p = BN_dup(a->p); in RunBasicTests() 147 b->g = BN_dup(a->g); in RunBasicTests()
|
D | dh.c | 459 a = BN_dup(src); in int_dh_bn_cpy()
|
/external/boringssl/src/crypto/dh_extra/ |
D | dh_test.cc | 147 b->p = BN_dup(a->p); in RunBasicTests() 148 b->g = BN_dup(a->g); in RunBasicTests()
|
D | params.c | 216 a = BN_dup(src); in int_dh_bn_cpy()
|
/external/openssh/ |
D | ssh-rsa.c | 130 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/ |
D | bn_mod_exp.cc | 35 bssl::UniquePtr<BIGNUM> exp(BN_dup(p)); in mod_exp()
|
/external/python/cryptography/src/cryptography/hazmat/backends/openssl/ |
D | dh.py | 24 q_dup = lib.BN_dup(q[0]) 179 pub_key_dup = self._backend._lib.BN_dup(pub_key[0])
|
D | dsa.py | 165 pub_key_dup = self._backend._lib.BN_dup(pub_key[0])
|
/external/boringssl/src/crypto/fipsmodule/bn/ |
D | gcd.c | 298 a_reduced = BN_dup(a); in BN_mod_inverse()
|
D | bn.c | 107 BIGNUM *BN_dup(const BIGNUM *src) { in BN_dup() function
|
D | div.c | 682 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/ |
D | gcd.c | 298 a_reduced = BN_dup(a); in BN_mod_inverse()
|
D | bn.c | 126 BIGNUM *BN_dup(const BIGNUM *src) { in BN_dup() function
|
D | div.c | 683 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/ |
D | p_dsa_asn1.c | 214 a = BN_dup(src); in dup_bn_into()
|
D | p_rsa.c | 125 dctx->pub_exp = BN_dup(sctx->pub_exp); in pkey_rsa_copy()
|
/external/boringssl/src/crypto/evp/ |
D | p_dsa_asn1.c | 218 a = BN_dup(src); in dup_bn_into()
|
D | p_rsa.c | 125 dctx->pub_exp = BN_dup(sctx->pub_exp); in pkey_rsa_copy()
|
/external/boringssl/src/crypto/bn_extra/ |
D | convert.c | 261 copy = BN_dup(a); in BN_bn2dec()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/bn_extra/ |
D | convert.c | 261 copy = BN_dup(a); in BN_bn2dec()
|
/external/boringssl/src/tool/ |
D | speed.cc | 258 verify_key->n = BN_dup(key->n); in SpeedRSA() 259 verify_key->e = BN_dup(key->e); in SpeedRSA()
|