Home
last modified time | relevance | path

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

/external/openssl/ssl/
Dtls_srp.c157 ((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 …]
Dssl_cert.c240 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()
Dd1_srvr.c1134 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()
Ds3_srvr.c1666 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()
/external/openssl/crypto/dsa/
Ddsa_lib.c304 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()
Ddsa_gen.c350 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()
Ddsa_ameth.c378 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()
/external/openssl/crypto/bn/
Dbn_blind.c151 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()
Dbn_mod.c240 abs_m = BN_dup(m); in BN_mod_lshift()
Dbn_lib.c412 r = BN_dup(b); in bn_dup_expand()
460 BIGNUM *BN_dup(const BIGNUM *a) in BN_dup() function
Dbn_print.c125 if ((t=BN_dup(a)) == NULL) goto err; in BN_bn2dec()
Dbn.h525 BIGNUM *BN_dup(const BIGNUM *a);
/external/openssl/crypto/dh/
Ddhtest.c144 b->p=BN_dup(a->p); in main()
145 b->g=BN_dup(a->g); in main()
Ddh_ameth.c414 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()
/external/openssl/crypto/jpake/
Djpake.c81 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()
/external/openssh/
Dkey.c1730 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()
/external/openssl/crypto/ec/
Decp_mont.c189 dest->field_data2 = BN_dup(src->field_data2); in ec_GFp_mont_group_copy()
Dec_key.c481 key->priv_key = BN_dup(priv_key); in EC_KEY_set_private_key()
/external/openssl/crypto/rsa/
Drsa_pmeth.c128 dctx->pub_exp = BN_dup(sctx->pub_exp); in pkey_rsa_copy()
/external/openssl/include/openssl/
Dbn.h525 BIGNUM *BN_dup(const BIGNUM *a);
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/
Dtls_openssl.c395 rsa->n = BN_dup(pub_rsa->n); in tls_cryptoapi_cert()
396 rsa->e = BN_dup(pub_rsa->e); in tls_cryptoapi_cert()
/external/wpa_supplicant_8/src/crypto/
Dtls_openssl.c399 rsa->n = BN_dup(pub_rsa->n); in tls_cryptoapi_cert()
400 rsa->e = BN_dup(pub_rsa->e); in tls_cryptoapi_cert()
/external/openssl/crypto/store/
Dstr_lib.c1457 if ((attrs->values[code].number = BN_dup(number))) in STORE_ATTR_INFO_set_number()