Home
last modified time | relevance | path

Searched refs:new_cipher (Results 1 – 13 of 13) sorted by relevance

/external/openssl/ssl/
Dd1_srvr.c421 if (!(s->s3->tmp.new_cipher->algorithm_auth & SSL_aNULL) in IMPLEMENT_dtls1_meth_func()
422 && !(s->s3->tmp.new_cipher->algorithm_mkey & SSL_kPSK)) in IMPLEMENT_dtls1_meth_func()
450 alg_k = s->s3->tmp.new_cipher->algorithm_mkey; in IMPLEMENT_dtls1_meth_func()
479 || (SSL_C_IS_EXPORT(s->s3->tmp.new_cipher) in IMPLEMENT_dtls1_meth_func()
480 …ize(s->cert->pkeys[SSL_PKEY_RSA_ENC].privatekey)*8 > SSL_C_EXPORT_PKEYLENGTH(s->s3->tmp.new_cipher) in IMPLEMENT_dtls1_meth_func()
508 ((s->s3->tmp.new_cipher->algorithm_auth & SSL_aNULL) && in IMPLEMENT_dtls1_meth_func()
513 (s->s3->tmp.new_cipher->algorithm_auth & SSL_aKRB5) in IMPLEMENT_dtls1_meth_func()
516 || (s->s3->tmp.new_cipher->algorithm_mkey & SSL_kPSK)) in IMPLEMENT_dtls1_meth_func()
714 s->session->cipher=s->s3->tmp.new_cipher; in IMPLEMENT_dtls1_meth_func()
956 if (s->s3->tmp.new_cipher == NULL) in dtls1_send_server_hello()
[all …]
Ds3_srvr.c189 if ((s->s3->tmp.new_cipher->algorithm_mkey & SSL_kSRP) && in ssl_check_srp_ext_ClientHello()
411 if (!(s->s3->tmp.new_cipher->algorithm_auth & SSL_aNULL) in IMPLEMENT_ssl3_meth_func()
412 && !(s->s3->tmp.new_cipher->algorithm_mkey & SSL_kPSK) in IMPLEMENT_ssl3_meth_func()
413 && !(s->s3->tmp.new_cipher->algorithm_auth & SSL_aKRB5)) in IMPLEMENT_ssl3_meth_func()
440 alg_k = s->s3->tmp.new_cipher->algorithm_mkey; in IMPLEMENT_ssl3_meth_func()
483 || (SSL_C_IS_EXPORT(s->s3->tmp.new_cipher) in IMPLEMENT_ssl3_meth_func()
484 …ize(s->cert->pkeys[SSL_PKEY_RSA_ENC].privatekey)*8 > SSL_C_EXPORT_PKEYLENGTH(s->s3->tmp.new_cipher) in IMPLEMENT_ssl3_meth_func()
511 ((s->s3->tmp.new_cipher->algorithm_auth & SSL_aNULL) && in IMPLEMENT_ssl3_meth_func()
516 (s->s3->tmp.new_cipher->algorithm_auth & SSL_aKRB5) in IMPLEMENT_ssl3_meth_func()
519 || (s->s3->tmp.new_cipher->algorithm_mkey & SSL_kPSK)) in IMPLEMENT_ssl3_meth_func()
[all …]
Ds3_clnt.c343 if (!(s->s3->tmp.new_cipher->algorithm_auth & SSL_aNULL) && in IMPLEMENT_ssl3_meth_func()
344 !(s->s3->tmp.new_cipher->algorithm_mkey & SSL_kPSK)) in IMPLEMENT_ssl3_meth_func()
398 if (s->s3->tmp.new_cipher->algorithm_mkey & SSL_kSRP) in IMPLEMENT_ssl3_meth_func()
485 s->session->cipher=s->s3->tmp.new_cipher; in IMPLEMENT_ssl3_meth_func()
1044 s->s3->tmp.new_cipher=c; in ssl3_get_server_hello()
1154 ((s->s3->tmp.new_cipher->algorithm_auth & SSL_aKRB5) && in ssl3_get_server_certificate()
1219 && !((s->s3->tmp.new_cipher->algorithm_mkey & SSL_kKRB5) && in ssl3_get_server_certificate()
1220 (s->s3->tmp.new_cipher->algorithm_auth & SSL_aKRB5)) in ssl3_get_server_certificate()
1246 need_cert = ((s->s3->tmp.new_cipher->algorithm_mkey & SSL_kKRB5) && in ssl3_get_server_certificate()
1247 (s->s3->tmp.new_cipher->algorithm_auth & SSL_aKRB5)) in ssl3_get_server_certificate()
[all …]
Dt1_enc.c343 is_export=SSL_C_IS_EXPORT(s->s3->tmp.new_cipher); in tls1_change_cipher_state()
354 s->s3->tmp.new_cipher->algorithm_mkey, in tls1_change_cipher_state()
355 s->s3->tmp.new_cipher->algorithm_auth, in tls1_change_cipher_state()
370 if (s->s3->tmp.new_cipher->algorithm2 & TLS1_STREAM_MAC) in tls1_change_cipher_state()
413 if (s->s3->tmp.new_cipher->algorithm2 & TLS1_STREAM_MAC) in tls1_change_cipher_state()
456 j=is_export ? (cl < SSL_C_EXPORT_KEYLENGTH(s->s3->tmp.new_cipher) ? in tls1_change_cipher_state()
457 cl : SSL_C_EXPORT_KEYLENGTH(s->s3->tmp.new_cipher)) : cl; in tls1_change_cipher_state()
1190 rv = tls1_PRF(s->s3->tmp.new_cipher->algorithm2, in tls1_export_keying_material()
Ds3_enc.c232 is_exp=SSL_C_IS_EXPORT(s->s3->tmp.new_cipher); in ssl3_change_cipher_state()
321 j=is_exp ? (cl < SSL_C_EXPORT_KEYLENGTH(s->s3->tmp.new_cipher) ? in ssl3_change_cipher_state()
322 cl : SSL_C_EXPORT_KEYLENGTH(s->s3->tmp.new_cipher)) : cl; in ssl3_change_cipher_state()
Dt1_lib.c803 if (((s->s3->tmp.new_cipher->id & 0xFFFF)==0x80 || (s->s3->tmp.new_cipher->id & 0xFFFF)==0x81) in ssl_add_serverhello_tlsext()
1743 unsigned long alg_k = s->s3->tmp.new_cipher->algorithm_mkey; in ssl_prepare_serverhello_tlsext()
1744 unsigned long alg_a = s->s3->tmp.new_cipher->algorithm_auth; in ssl_prepare_serverhello_tlsext()
1901 unsigned long alg_k = s->s3->tmp.new_cipher->algorithm_mkey; in ssl_check_serverhello_tlsext()
1902 unsigned long alg_a = s->s3->tmp.new_cipher->algorithm_auth; in ssl_check_serverhello_tlsext()
Dd1_clnt.c388 if (!(s->s3->tmp.new_cipher->algorithm_auth & SSL_aNULL) && in IMPLEMENT_dtls1_meth_func()
389 !(s->s3->tmp.new_cipher->algorithm_mkey & SSL_kPSK)) in IMPLEMENT_dtls1_meth_func()
551 s->session->cipher=s->s3->tmp.new_cipher; in IMPLEMENT_dtls1_meth_func()
981 alg_k=s->s3->tmp.new_cipher->algorithm_mkey; in dtls1_send_client_key_exchange()
Dssl3.h504 const SSL_CIPHER *new_cipher; member
Dssl_lib.c2251 const SSL_CIPHER *cs = s->s3->tmp.new_cipher; in ssl_check_srvr_ecc_cert_and_alg()
2324 ssl_set_cert_masks(c, s->s3->tmp.new_cipher); in ssl_get_server_send_cert()
2326 alg_k = s->s3->tmp.new_cipher->algorithm_mkey; in ssl_get_server_send_cert()
2327 alg_a = s->s3->tmp.new_cipher->algorithm_auth; in ssl_get_server_send_cert()
2667 return SSL_CIPHER_authentication_method(ssl->s3->tmp.new_cipher); in SSL_authentication_method()
Ds3_pkt.c1327 if (s->s3->tmp.new_cipher == NULL) in ssl3_read_bytes()
1475 s->session->cipher=s->s3->tmp.new_cipher; in ssl3_do_change_cipher_spec()
Ds3_lib.c4031 alg_k = s->s3->tmp.new_cipher->algorithm_mkey; in ssl3_get_req_cert_type()
4289 long alg2 = s->s3->tmp.new_cipher->algorithm2; in ssl_get_algorithm2()
/external/openssl/include/openssl/
Dssl3.h504 const SSL_CIPHER *new_cipher; member
/external/openssl/patches/
Djsse.patch336 + return SSL_CIPHER_authentication_method(ssl->s3->tmp.new_cipher);