Searched refs:BN_dup (Results 1 – 17 of 17) sorted by relevance
393 dsa->p = BN_dup(p); in DSA_generate_parameters_ex()394 dsa->q = BN_dup(q); in DSA_generate_parameters_ex()395 dsa->g = BN_dup(g); in DSA_generate_parameters_ex()423 ret->p = BN_dup(dsa->p); in DSAparams_dup()424 ret->q = BN_dup(dsa->q); in DSAparams_dup()425 ret->g = BN_dup(dsa->g); in DSAparams_dup()940 if ((ret->q = BN_dup(r->q)) == NULL) { in DSA_dup_DH()944 if ((r->p != NULL && (ret->p = BN_dup(r->p)) == NULL) || in DSA_dup_DH()945 (r->g != NULL && (ret->g = BN_dup(r->g)) == NULL) || in DSA_dup_DH()946 (r->pub_key != NULL && (ret->pub_key = BN_dup(r->pub_key)) == NULL) || in DSA_dup_DH()[all …]
197 dh->p = BN_dup(¶ms->p); in get_standard_parameters()198 dh->q = BN_dup(¶ms->q); in get_standard_parameters()199 dh->g = BN_dup(¶ms->g); in get_standard_parameters()
148 b->p = BN_dup(a->p); in RunBasicTests()149 b->g = BN_dup(a->g); in RunBasicTests()
409 a = BN_dup(src); in int_dh_bn_cpy()
753 key2->n = BN_dup(key1->n); in TEST()754 key2->e = BN_dup(key1->e); in TEST()755 key2->d = BN_dup(key1->d); in TEST()
270 ap->r = BN_dup(product_of_primes_so_far); in RSA_parse_private_key()
492 abs_m = BN_dup(m); in BN_mod_lshift()629 BIGNUM *tmp = BN_dup(a); in BN_mod_word()
123 BIGNUM *BN_dup(const BIGNUM *src) { in BN_dup() function
415 a_reduced = BN_dup(a); in BN_mod_inverse()
437 copy = BN_dup(a); in BN_bn2dec()
214 a = BN_dup(src); in dup_bn_into()
121 dctx->pub_exp = BN_dup(sctx->pub_exp); in pkey_rsa_copy()
178 verify_key->n = BN_dup(key->n); in SpeedRSA()179 verify_key->e = BN_dup(key->e); in SpeedRSA()
266 key->priv_key = BN_dup(priv_key); in EC_KEY_set_private_key()
2269 (pk->rsa->e = BN_dup(k->rsa->e)) == NULL || in sshkey_demote()2270 (pk->rsa->n = BN_dup(k->rsa->n)) == NULL) { in sshkey_demote()2281 (pk->dsa->p = BN_dup(k->dsa->p)) == NULL || in sshkey_demote()2282 (pk->dsa->q = BN_dup(k->dsa->q)) == NULL || in sshkey_demote()2283 (pk->dsa->g = BN_dup(k->dsa->g)) == NULL || in sshkey_demote()2284 (pk->dsa->pub_key = BN_dup(k->dsa->pub_key)) == NULL) { in sshkey_demote()
185 OPENSSL_EXPORT BIGNUM *BN_dup(const BIGNUM *src);
562 rsa->n = BN_dup(pub_rsa->n); in tls_cryptoapi_cert()563 rsa->e = BN_dup(pub_rsa->e); in tls_cryptoapi_cert()