Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/dsa/
Ddsa.c332 if ((ret->q = BN_dup(r->q)) == NULL) { in DSA_dup_DH()
336 if ((r->p != NULL && (ret->p = BN_dup(r->p)) == NULL) || in DSA_dup_DH()
337 (r->g != NULL && (ret->g = BN_dup(r->g)) == NULL) || in DSA_dup_DH()
338 (r->pub_key != NULL && (ret->pub_key = BN_dup(r->pub_key)) == NULL) || in DSA_dup_DH()
339 (r->priv_key != NULL && (ret->priv_key = BN_dup(r->priv_key)) == NULL)) { in DSA_dup_DH()
Ddsa_impl.c703 ret->p = BN_dup(p); in paramgen()
704 ret->q = BN_dup(q); in paramgen()
705 ret->g = BN_dup(g); in paramgen()
/external/boringssl/src/crypto/rsa/
Dblinding.c145 ret->A = BN_dup(A); in BN_BLINDING_new()
151 ret->Ai = BN_dup(Ai); in BN_BLINDING_new()
158 ret->mod = BN_dup(mod); in BN_BLINDING_new()
311 ret->e = BN_dup(e); in BN_BLINDING_create_param()
Drsa_test.c347 key2->n = BN_dup(key1->n); in test_recover_crt_params()
348 key2->e = BN_dup(key1->e); in test_recover_crt_params()
349 key2->d = BN_dup(key1->d); in test_recover_crt_params()
/external/boringssl/src/crypto/dh/
Dparams.c274 dh->p = BN_dup(&params->p); in get_standard_parameters()
275 dh->q = BN_dup(&params->q); in get_standard_parameters()
276 dh->g = BN_dup(&params->g); in get_standard_parameters()
Ddh_test.cc145 b->p = BN_dup(a->p); in RunBasicTests()
146 b->g = BN_dup(a->g); in RunBasicTests()
Ddh.c178 a = BN_dup(src); in int_dh_bn_cpy()
/external/boringssl/src/crypto/ec/
Dec_montgomery.c165 dest->one = BN_dup(src->one); in ec_GFp_mont_group_copy()
Dec_key.c261 key->priv_key = BN_dup(priv_key); in EC_KEY_set_private_key()
/external/boringssl/src/crypto/bn/
Dbn.c123 BIGNUM *BN_dup(const BIGNUM *src) { in BN_dup() function
Dconvert.c371 t = BN_dup(a); in BN_bn2dec()
Ddiv.c486 abs_m = BN_dup(m); in BN_mod_lshift()
/external/boringssl/src/ssl/
Dssl_cert.c188 BIGNUM *b = BN_dup(cert->dh_tmp->priv_key); in ssl_cert_dup()
196 BIGNUM *b = BN_dup(cert->dh_tmp->pub_key); in ssl_cert_dup()
/external/boringssl/src/crypto/evp/
Dp_rsa.c120 dctx->pub_exp = BN_dup(sctx->pub_exp); in pkey_rsa_copy()
Dp_dsa_asn1.c347 a = BN_dup(src); in dup_bn_into()
/external/boringssl/src/include/openssl/
Dbn.h183 OPENSSL_EXPORT BIGNUM *BN_dup(const BIGNUM *src);
/external/openssh/
Dsshkey.c2290 (pk->rsa->e = BN_dup(k->rsa->e)) == NULL || in sshkey_demote()
2291 (pk->rsa->n = BN_dup(k->rsa->n)) == NULL) { in sshkey_demote()
2303 (pk->dsa->p = BN_dup(k->dsa->p)) == NULL || in sshkey_demote()
2304 (pk->dsa->q = BN_dup(k->dsa->q)) == NULL || in sshkey_demote()
2305 (pk->dsa->g = BN_dup(k->dsa->g)) == NULL || in sshkey_demote()
2306 (pk->dsa->pub_key = BN_dup(k->dsa->pub_key)) == NULL) { in sshkey_demote()
/external/wpa_supplicant_8/src/crypto/
Dtls_openssl.c440 rsa->n = BN_dup(pub_rsa->n); in tls_cryptoapi_cert()
441 rsa->e = BN_dup(pub_rsa->e); in tls_cryptoapi_cert()