Searched refs:BN_dup (Results 1 – 23 of 23) sorted by relevance
157 ((s->srp_ctx.N = BN_dup(ctx->srp_ctx.N)) == NULL)) || in SSL_SRP_CTX_init()159 ((s->srp_ctx.g = BN_dup(ctx->srp_ctx.g)) == NULL)) || in SSL_SRP_CTX_init()161 ((s->srp_ctx.s = BN_dup(ctx->srp_ctx.s)) == NULL)) || in SSL_SRP_CTX_init()163 ((s->srp_ctx.B = BN_dup(ctx->srp_ctx.B)) == NULL)) || in SSL_SRP_CTX_init()165 ((s->srp_ctx.A = BN_dup(ctx->srp_ctx.A)) == NULL)) || in SSL_SRP_CTX_init()167 ((s->srp_ctx.a = BN_dup(ctx->srp_ctx.a)) == NULL)) || in SSL_SRP_CTX_init()169 ((s->srp_ctx.v = BN_dup(ctx->srp_ctx.v)) == NULL)) || in SSL_SRP_CTX_init()171 ((s->srp_ctx.b = BN_dup(ctx->srp_ctx.b)) == NULL))) in SSL_SRP_CTX_init()260 s->srp_ctx.N = BN_dup(GN->N); in SSL_set_srp_server_param_pw()261 s->srp_ctx.g = BN_dup(GN->g); in SSL_set_srp_server_param_pw()[all …]
240 BIGNUM *b = BN_dup(cert->dh_tmp->priv_key); in ssl_cert_dup()250 BIGNUM *b = BN_dup(cert->dh_tmp->pub_key); in ssl_cert_dup()
1134 dh->pub_key=BN_dup(dhp->pub_key); in dtls1_send_server_key_exchange()1135 dh->priv_key=BN_dup(dhp->priv_key); in dtls1_send_server_key_exchange()
1666 dh->pub_key=BN_dup(dhp->pub_key); in ssl3_send_server_key_exchange()1667 dh->priv_key=BN_dup(dhp->priv_key); in ssl3_send_server_key_exchange()
304 if ((ret->p = BN_dup(r->p)) == NULL) in DSA_dup_DH()309 if ((ret->q = BN_dup(r->q)) == NULL) in DSA_dup_DH()313 if ((ret->g = BN_dup(r->g)) == NULL) in DSA_dup_DH()316 if ((ret->pub_key = BN_dup(r->pub_key)) == NULL) in DSA_dup_DH()319 if ((ret->priv_key = BN_dup(r->priv_key)) == NULL) in DSA_dup_DH()
350 ret->p=BN_dup(p); in dsa_builtin_paramgen()351 ret->q=BN_dup(q); in dsa_builtin_paramgen()352 ret->g=BN_dup(g); in dsa_builtin_paramgen()
378 if ((a=BN_dup(from->pkey.dsa->p)) == NULL) in dsa_copy_parameters()384 if ((a=BN_dup(from->pkey.dsa->q)) == NULL) in dsa_copy_parameters()390 if ((a=BN_dup(from->pkey.dsa->g)) == NULL) in dsa_copy_parameters()
151 if ((ret->A = BN_dup(A)) == NULL) goto err; in BN_BLINDING_new()155 if ((ret->Ai = BN_dup(Ai)) == NULL) goto err; in BN_BLINDING_new()159 if ((ret->mod = BN_dup(mod)) == NULL) goto err; in BN_BLINDING_new()332 ret->e = BN_dup(e); in BN_BLINDING_create_param()
240 abs_m = BN_dup(m); in BN_mod_lshift()
412 r = BN_dup(b); in bn_dup_expand()460 BIGNUM *BN_dup(const BIGNUM *a) in BN_dup() function
125 if ((t=BN_dup(a)) == NULL) goto err; in BN_bn2dec()
525 BIGNUM *BN_dup(const BIGNUM *a);
144 b->p=BN_dup(a->p); in main()145 b->g=BN_dup(a->g); in main()
414 if ((a=BN_dup(from->pkey.dh->p)) == NULL) in dh_copy_parameters()420 if ((a=BN_dup(from->pkey.dh->g)) == NULL) in dh_copy_parameters()
81 ctx->p.p = BN_dup(p); in JPAKE_CTX_init()82 ctx->p.g = BN_dup(g); in JPAKE_CTX_init()83 ctx->p.q = BN_dup(q); in JPAKE_CTX_init()84 ctx->secret = BN_dup(secret); in JPAKE_CTX_init()
1730 if ((pk->rsa->e = BN_dup(k->rsa->e)) == NULL) in key_demote()1732 if ((pk->rsa->n = BN_dup(k->rsa->n)) == NULL) in key_demote()1742 if ((pk->dsa->p = BN_dup(k->dsa->p)) == NULL) in key_demote()1744 if ((pk->dsa->q = BN_dup(k->dsa->q)) == NULL) in key_demote()1746 if ((pk->dsa->g = BN_dup(k->dsa->g)) == NULL) in key_demote()1748 if ((pk->dsa->pub_key = BN_dup(k->dsa->pub_key)) == NULL) in key_demote()
189 dest->field_data2 = BN_dup(src->field_data2); in ec_GFp_mont_group_copy()
481 key->priv_key = BN_dup(priv_key); in EC_KEY_set_private_key()
128 dctx->pub_exp = BN_dup(sctx->pub_exp); in pkey_rsa_copy()
395 rsa->n = BN_dup(pub_rsa->n); in tls_cryptoapi_cert()396 rsa->e = BN_dup(pub_rsa->e); in tls_cryptoapi_cert()
399 rsa->n = BN_dup(pub_rsa->n); in tls_cryptoapi_cert()400 rsa->e = BN_dup(pub_rsa->e); in tls_cryptoapi_cert()
1457 if ((attrs->values[code].number = BN_dup(number))) in STORE_ATTR_INFO_set_number()