Home
last modified time | relevance | path

Searched refs:dh_tmp (Results 1 – 12 of 12) sorted by relevance

/external/openssl/ssl/
Dssl_cert.c214 if (cert->dh_tmp != NULL) in ssl_cert_dup()
216 ret->dh_tmp = DHparams_dup(cert->dh_tmp); in ssl_cert_dup()
217 if (ret->dh_tmp == NULL) in ssl_cert_dup()
222 if (cert->dh_tmp->priv_key) in ssl_cert_dup()
224 BIGNUM *b = BN_dup(cert->dh_tmp->priv_key); in ssl_cert_dup()
230 ret->dh_tmp->priv_key = b; in ssl_cert_dup()
232 if (cert->dh_tmp->pub_key) in ssl_cert_dup()
234 BIGNUM *b = BN_dup(cert->dh_tmp->pub_key); in ssl_cert_dup()
240 ret->dh_tmp->pub_key = b; in ssl_cert_dup()
320 if (ret->dh_tmp != NULL) in ssl_cert_dup()
[all …]
Dssl_lib.c2135 int rsa_enc,rsa_tmp,rsa_sign,dh_tmp,dh_rsa,dh_dsa,dsa_sign; in ssl_set_cert_masks() local
2159 dh_tmp=(c->dh_tmp != NULL || c->dh_tmp_cb != NULL); in ssl_set_cert_masks()
2161 (dh_tmp && DH_size(c->dh_tmp)*8 <= kl)); in ssl_set_cert_masks()
2163 dh_tmp=dh_tmp_export=0; in ssl_set_cert_masks()
2194 rsa_tmp,rsa_tmp_export,dh_tmp,have_ecdh_tmp, in ssl_set_cert_masks()
2216 if ( (dh_tmp || dh_rsa || dh_dsa) && in ssl_set_cert_masks()
2227 if (dh_tmp) in ssl_set_cert_masks()
Ds3_lib.c3208 if (s->cert->dh_tmp != NULL) in ssl3_ctrl()
3209 DH_free(s->cert->dh_tmp); in ssl3_ctrl()
3210 s->cert->dh_tmp = dh; in ssl3_ctrl()
3540 if (cert->dh_tmp != NULL) in ssl3_ctx_ctrl()
3541 DH_free(cert->dh_tmp); in ssl3_ctx_ctrl()
3542 cert->dh_tmp=new; in ssl3_ctx_ctrl()
Dssl_locl.h507 DH *dh_tmp; member
Dd1_srvr.c1095 dhp=cert->dh_tmp; in dtls1_send_server_key_exchange()
Ds3_srvr.c1657 dhp=cert->dh_tmp; in ssl3_send_server_key_exchange()
/external/chromium_org/third_party/openssl/openssl/ssl/
Dssl_cert.c230 if (cert->dh_tmp != NULL) in ssl_cert_dup()
232 ret->dh_tmp = DHparams_dup(cert->dh_tmp); in ssl_cert_dup()
233 if (ret->dh_tmp == NULL) in ssl_cert_dup()
238 if (cert->dh_tmp->priv_key) in ssl_cert_dup()
240 BIGNUM *b = BN_dup(cert->dh_tmp->priv_key); in ssl_cert_dup()
246 ret->dh_tmp->priv_key = b; in ssl_cert_dup()
248 if (cert->dh_tmp->pub_key) in ssl_cert_dup()
250 BIGNUM *b = BN_dup(cert->dh_tmp->pub_key); in ssl_cert_dup()
256 ret->dh_tmp->pub_key = b; in ssl_cert_dup()
340 if (ret->dh_tmp != NULL) in ssl_cert_dup()
[all …]
Dssl_lib.c2048 int rsa_enc,rsa_tmp,rsa_sign,dh_tmp,dh_rsa,dh_dsa,dsa_sign; in ssl_set_cert_masks() local
2072 dh_tmp=(c->dh_tmp != NULL || c->dh_tmp_cb != NULL); in ssl_set_cert_masks()
2074 (dh_tmp && DH_size(c->dh_tmp)*8 <= kl)); in ssl_set_cert_masks()
2076 dh_tmp=dh_tmp_export=0; in ssl_set_cert_masks()
2107 rsa_tmp,rsa_tmp_export,dh_tmp,have_ecdh_tmp, in ssl_set_cert_masks()
2129 if ( (dh_tmp || dh_rsa || dh_dsa) && in ssl_set_cert_masks()
2140 if (dh_tmp) in ssl_set_cert_masks()
Ds3_lib.c3255 if (s->cert->dh_tmp != NULL) in ssl3_ctrl()
3256 DH_free(s->cert->dh_tmp); in ssl3_ctrl()
3257 s->cert->dh_tmp = dh; in ssl3_ctrl()
3585 if (cert->dh_tmp != NULL) in ssl3_ctx_ctrl()
3586 DH_free(cert->dh_tmp); in ssl3_ctx_ctrl()
3587 cert->dh_tmp=new; in ssl3_ctx_ctrl()
Dssl_locl.h524 DH *dh_tmp; member
Dd1_srvr.c1095 dhp=cert->dh_tmp; in dtls1_send_server_key_exchange()
Ds3_srvr.c1658 dhp=cert->dh_tmp; in ssl3_send_server_key_exchange()