Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/dsa/
Ddsa.c371 dsa->p = BN_dup(p); in DSA_generate_parameters_ex()
372 dsa->q = BN_dup(q); in DSA_generate_parameters_ex()
373 dsa->g = BN_dup(g); in DSA_generate_parameters_ex()
892 if ((ret->q = BN_dup(r->q)) == NULL) { in DSA_dup_DH()
896 if ((r->p != NULL && (ret->p = BN_dup(r->p)) == NULL) || in DSA_dup_DH()
897 (r->g != NULL && (ret->g = BN_dup(r->g)) == NULL) || in DSA_dup_DH()
898 (r->pub_key != NULL && (ret->pub_key = BN_dup(r->pub_key)) == NULL) || in DSA_dup_DH()
899 (r->priv_key != NULL && (ret->priv_key = BN_dup(r->priv_key)) == NULL)) { in DSA_dup_DH()
/external/boringssl/src/crypto/dh/
Dparams.c259 dh->p = BN_dup(&params->p); in get_standard_parameters()
260 dh->q = BN_dup(&params->q); in get_standard_parameters()
261 dh->g = BN_dup(&params->g); in get_standard_parameters()
Ddh_test.cc144 b->p = BN_dup(a->p); in RunBasicTests()
145 b->g = BN_dup(a->g); in RunBasicTests()
Ddh.c389 a = BN_dup(src); in int_dh_bn_cpy()
/external/boringssl/src/crypto/rsa/
Dblinding.c147 ret->A = BN_dup(A); in BN_BLINDING_new()
153 ret->Ai = BN_dup(Ai); in BN_BLINDING_new()
160 ret->mod = BN_dup(mod); in BN_BLINDING_new()
313 ret->e = BN_dup(e); in BN_BLINDING_create_param()
Drsa_test.cc765 key2->n = BN_dup(key1->n); in TestRecoverCRTParams()
766 key2->e = BN_dup(key1->e); in TestRecoverCRTParams()
767 key2->d = BN_dup(key1->d); in TestRecoverCRTParams()
Drsa_asn1.c268 ap->r = BN_dup(product_of_primes_so_far); in RSA_parse_private_key()
/external/boringssl/src/crypto/bn/
Dbn.c123 BIGNUM *BN_dup(const BIGNUM *src) { in BN_dup() function
Dconvert.c395 t = BN_dup(a); in BN_bn2dec()
Ddiv.c486 abs_m = BN_dup(m); in BN_mod_lshift()
/external/boringssl/src/crypto/ec/
Dec_montgomery.c122 dest->one = BN_dup(src->one); in ec_GFp_mont_group_copy()
Dec_key.c269 key->priv_key = BN_dup(priv_key); in EC_KEY_set_private_key()
/external/boringssl/src/crypto/evp/
Dp_dsa_asn1.c318 a = BN_dup(src); in dup_bn_into()
Dp_rsa.c120 dctx->pub_exp = BN_dup(sctx->pub_exp); in pkey_rsa_copy()
/external/boringssl/src/include/openssl/
Dbn.h183 OPENSSL_EXPORT BIGNUM *BN_dup(const BIGNUM *src);
/external/wpa_supplicant_8/src/crypto/
Dtls_openssl.c550 rsa->n = BN_dup(pub_rsa->n); in tls_cryptoapi_cert()
551 rsa->e = BN_dup(pub_rsa->e); in tls_cryptoapi_cert()