Searched refs:BN_dup (Results 1 – 18 of 18) sorted by relevance
332 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()
703 ret->p = BN_dup(p); in paramgen()704 ret->q = BN_dup(q); in paramgen()705 ret->g = BN_dup(g); in paramgen()
145 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()
347 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()
274 dh->p = BN_dup(¶ms->p); in get_standard_parameters()275 dh->q = BN_dup(¶ms->q); in get_standard_parameters()276 dh->g = BN_dup(¶ms->g); in get_standard_parameters()
145 b->p = BN_dup(a->p); in RunBasicTests()146 b->g = BN_dup(a->g); in RunBasicTests()
178 a = BN_dup(src); in int_dh_bn_cpy()
165 dest->one = BN_dup(src->one); in ec_GFp_mont_group_copy()
261 key->priv_key = BN_dup(priv_key); in EC_KEY_set_private_key()
123 BIGNUM *BN_dup(const BIGNUM *src) { in BN_dup() function
371 t = BN_dup(a); in BN_bn2dec()
486 abs_m = BN_dup(m); in BN_mod_lshift()
188 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()
120 dctx->pub_exp = BN_dup(sctx->pub_exp); in pkey_rsa_copy()
347 a = BN_dup(src); in dup_bn_into()
183 OPENSSL_EXPORT BIGNUM *BN_dup(const BIGNUM *src);
2290 (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()
440 rsa->n = BN_dup(pub_rsa->n); in tls_cryptoapi_cert()441 rsa->e = BN_dup(pub_rsa->e); in tls_cryptoapi_cert()