/external/openssl/patches/ |
D | 0011-ecdhe_psk.patch | 49 + if (alg_a & SSL_aPSK) 191 - if (!(alg_a & (SSL_aNULL|SSL_aSRP)) && !(alg_k & SSL_kPSK)) 192 + if (!(alg_a & (SSL_aNULL|SSL_aSRP)) && 194 + !((alg_a & SSL_aPSK) && !(alg_k & SSL_kRSA))) 205 + unsigned long alg_a; 226 + alg_a=s->s3->tmp.new_cipher->algorithm_auth; 229 + if (alg_a & SSL_aPSK) 363 + if ((alg_a & SSL_aPSK) && psk_len != 0) 387 + if (!(alg_a & SSL_aPSK)) 415 + if ((alg_a & SSL_aPSK) && psk_len != 0) [all …]
|
D | 0007-tls12_digests.patch | 143 unsigned long alg_a; 147 alg_a = cipher->algorithm_auth; 155 if ((alg_a & SSL_aDSS) && 164 else if (alg_a & SSL_aRSA) 176 else if ((alg_a & SSL_aECDSA) &&
|
D | 0013-tls_psk_hint.patch | 206 - || ((alg_a & SSL_aPSK) && ((alg_k & SSL_kEECDH) || s->ctx->psk_identity_hint)) 207 + || ((alg_a & SSL_aPSK) && ((alg_k & SSL_kEECDH) || s->session->psk_identity_hint)) 223 if (alg_a & SSL_aPSK) 240 if (alg_a & SSL_aPSK)
|
/external/openssl/ssl/ |
D | s3_clnt.c | 1361 long i,param_len,n,alg_k,alg_a; in ssl3_get_key_exchange() local 1443 alg_a=s->s3->tmp.new_cipher->algorithm_auth; in ssl3_get_key_exchange() 1449 if (alg_a & SSL_aPSK) in ssl3_get_key_exchange() 1618 if (alg_a & SSL_aRSA) in ssl3_get_key_exchange() 1625 else if (alg_a & SSL_aDSS) in ssl3_get_key_exchange() 1688 if (alg_a & SSL_aRSA) in ssl3_get_key_exchange() 1781 if (alg_a & SSL_aRSA) in ssl3_get_key_exchange() 1788 else if (alg_a & SSL_aDSS) in ssl3_get_key_exchange() 1896 else if (alg_a & SSL_aRSA) in ssl3_get_key_exchange() 1900 else if (alg_a & SSL_aECDSA) in ssl3_get_key_exchange() [all …]
|
D | s3_srvr.c | 221 unsigned long alg_a; in IMPLEMENT_ssl3_meth_func() local 449 alg_a = s->s3->tmp.new_cipher->algorithm_auth; in IMPLEMENT_ssl3_meth_func() 484 || ((alg_a & SSL_aPSK) && ((alg_k & SSL_kEECDH) || s->session->psk_identity_hint)) in IMPLEMENT_ssl3_meth_func() 1636 unsigned long alg_a; in ssl3_send_server_key_exchange() local 1648 alg_a=s->s3->tmp.new_cipher->algorithm_auth; in ssl3_send_server_key_exchange() 1656 if (alg_a & SSL_aPSK) in ssl3_send_server_key_exchange() 1910 if (!(alg_a & (SSL_aNULL|SSL_aSRP)) in ssl3_send_server_key_exchange() 1912 && !((alg_a & SSL_aPSK) && !(alg_k & SSL_kRSA))) in ssl3_send_server_key_exchange() 1955 if (alg_a & SSL_aPSK) in ssl3_send_server_key_exchange() 2202 unsigned long alg_a; in ssl3_get_client_key_exchange() local [all …]
|
D | ssl_lib.c | 2400 unsigned long alg_k, alg_a; in ssl_check_srvr_ecc_cert_and_alg() local 2407 alg_a = cs->algorithm_auth; in ssl_check_srvr_ecc_cert_and_alg() 2454 if (alg_a & SSL_aECDSA) in ssl_check_srvr_ecc_cert_and_alg() 2472 unsigned long alg_k,alg_a; in ssl_get_server_send_pkey() local 2480 alg_a = s->s3->tmp.new_cipher->algorithm_auth; in ssl_get_server_send_pkey() 2497 else if (alg_a & SSL_aECDSA) in ssl_get_server_send_pkey() 2505 else if (alg_a & SSL_aDSS) in ssl_get_server_send_pkey() 2507 else if (alg_a & SSL_aRSA) in ssl_get_server_send_pkey() 2514 else if (alg_a & SSL_aKRB5) in ssl_get_server_send_pkey() 2519 else if (alg_a & SSL_aGOST94) in ssl_get_server_send_pkey() [all …]
|
D | s3_lib.c | 3899 unsigned long alg_k,alg_a,mask_k,mask_a,emask_k,emask_a; in ssl3_choose_cipher() local 3969 alg_a=c->algorithm_auth; in ssl3_choose_cipher() 3980 if ((alg_a & SSL_aPSK) && s->psk_server_callback == NULL) in ssl3_choose_cipher() 3986 ok = (alg_k & emask_k) && (alg_a & emask_a); in ssl3_choose_cipher() 3988 printf("%d:[%08lX:%08lX:%08lX:%08lX]%p:%s (export)\n",ok,alg_k,alg_a,emask_k,emask_a, in ssl3_choose_cipher() 3994 ok = (alg_k & mask_k) && (alg_a & mask_a); in ssl3_choose_cipher() 3996 printf("%d:[%08lX:%08lX:%08lX:%08lX]%p:%s\n",ok,alg_k,alg_a,mask_k,mask_a,(void *)c, in ssl3_choose_cipher() 4005 (alg_a & SSL_aECDSA || alg_a & SSL_aECDH) in ssl3_choose_cipher() 4057 (alg_a & SSL_aECDSA || alg_a & SSL_aECDH) in ssl3_choose_cipher() 4160 if ((alg_k & SSL_kEECDH) && (alg_a & SSL_aECDSA) && s->s3->is_probably_safari) in ssl3_choose_cipher()
|
D | t1_lib.c | 1987 unsigned long alg_k, alg_a; in ssl_prepare_clienthello_tlsext() local 1995 alg_a = c->algorithm_auth; in ssl_prepare_clienthello_tlsext() 1996 if ((alg_k & (SSL_kEECDH|SSL_kECDHr|SSL_kECDHe) || (alg_a & SSL_aECDSA))) in ssl_prepare_clienthello_tlsext() 2080 unsigned long alg_a = s->s3->tmp.new_cipher->algorithm_auth; in ssl_prepare_serverhello_tlsext() local 2081 int using_ecc = (alg_k & (SSL_kEECDH|SSL_kECDHr|SSL_kECDHe)) || (alg_a & SSL_aECDSA); in ssl_prepare_serverhello_tlsext() 2273 unsigned long alg_a = s->s3->tmp.new_cipher->algorithm_auth; in ssl_check_serverhello_tlsext() local 2276 ((alg_k & (SSL_kEECDH|SSL_kECDHr|SSL_kECDHe)) || (alg_a & SSL_aECDSA))) in ssl_check_serverhello_tlsext()
|
/external/chromium_org/third_party/boringssl/src/ssl/ |
D | s3_clnt.c | 1149 long n,alg_k,alg_a; in ssl3_get_server_key_exchange() local 1229 alg_a=s->s3->tmp.new_cipher->algorithm_auth; in ssl3_get_server_key_exchange() 1232 if (alg_a & SSL_aPSK) in ssl3_get_server_key_exchange() 1308 if (alg_a & SSL_aRSA) in ssl3_get_server_key_exchange() 1362 if (alg_a & SSL_aRSA) in ssl3_get_server_key_exchange() 1445 else if (alg_a & SSL_aRSA) in ssl3_get_server_key_exchange() 1447 else if (alg_a & SSL_aECDSA) in ssl3_get_server_key_exchange() 1875 unsigned long alg_a; in ssl3_send_client_key_exchange() local 1892 alg_a=s->s3->tmp.new_cipher->algorithm_auth; in ssl3_send_client_key_exchange() 1894 if (alg_a & SSL_aPSK) in ssl3_send_client_key_exchange() [all …]
|
D | d1_srvr.c | 166 unsigned long alg_a; in IMPLEMENT_dtls1_meth_func() local 377 alg_a = s->s3->tmp.new_cipher->algorithm_auth; in IMPLEMENT_dtls1_meth_func() 389 ((alg_a & SSL_aPSK) && s->session->psk_identity_hint)) in IMPLEMENT_dtls1_meth_func()
|
D | s3_srvr.c | 192 unsigned long alg_a; in IMPLEMENT_ssl3_meth_func() local 370 alg_a = s->s3->tmp.new_cipher->algorithm_auth; in IMPLEMENT_ssl3_meth_func() 382 ((alg_a & SSL_aPSK) && s->session->psk_identity_hint)) in IMPLEMENT_ssl3_meth_func() 1285 unsigned long alg_a; in ssl3_send_server_key_exchange() local 1297 alg_a=s->s3->tmp.new_cipher->algorithm_auth; in ssl3_send_server_key_exchange() 1304 if (alg_a & SSL_aPSK) in ssl3_send_server_key_exchange() 1534 if (alg_a & SSL_aPSK) in ssl3_send_server_key_exchange() 1751 unsigned long alg_a; in ssl3_get_client_key_exchange() local 1779 alg_a=s->s3->tmp.new_cipher->algorithm_auth; in ssl3_get_client_key_exchange() 1782 if (alg_a & SSL_aPSK) in ssl3_get_client_key_exchange() [all …]
|
D | s3_lib.c | 1786 unsigned long alg_k,alg_a,mask_k,mask_a; in ssl3_choose_cipher() local 1859 alg_a=c->algorithm_auth; in ssl3_choose_cipher() 1862 if ((alg_a & SSL_aPSK) && s->psk_server_callback == NULL) in ssl3_choose_cipher() 1865 ok = ok && (alg_k & mask_k) && (alg_a & mask_a); in ssl3_choose_cipher() 1867 printf("%d:[%08lX:%08lX:%08lX:%08lX]%p:%s\n",ok,alg_k,alg_a,mask_k,mask_a,(void *)c, in ssl3_choose_cipher()
|
D | t1_lib.c | 896 unsigned long alg_k, alg_a; in ssl_add_clienthello_tlsext() local 904 alg_a = c->algorithm_auth; in ssl_add_clienthello_tlsext() 905 if ((alg_k & SSL_kEECDH) || (alg_a & SSL_aECDSA)) in ssl_add_clienthello_tlsext() 1205 unsigned long alg_a = s->s3->tmp.new_cipher->algorithm_auth; in ssl_add_serverhello_tlsext() local 1206 int using_ecc = (alg_k & SSL_kEECDH) || (alg_a & SSL_aECDSA); in ssl_add_serverhello_tlsext() 2176 unsigned long alg_a = s->s3->tmp.new_cipher->algorithm_auth; in ssl_check_serverhello_tlsext() local 2179 ((alg_k & SSL_kEECDH) || (alg_a & SSL_aECDSA))) in ssl_check_serverhello_tlsext()
|
D | ssl_ciph.c | 1450 unsigned long alg_a = c->algorithm_auth; in ssl_cipher_get_cert_index() local 1452 if (alg_a & SSL_aECDSA) in ssl_cipher_get_cert_index() 1454 else if (alg_a & SSL_aRSA) in ssl_cipher_get_cert_index()
|
D | ssl_lib.c | 2259 unsigned long alg_a; in ssl_check_srvr_ecc_cert_and_alg() local 2263 alg_a = cs->algorithm_auth; in ssl_check_srvr_ecc_cert_and_alg() 2272 if (alg_a & SSL_aECDSA) in ssl_check_srvr_ecc_cert_and_alg() 2325 unsigned long alg_a; in ssl_get_sign_pkey() local 2329 alg_a = cipher->algorithm_auth; in ssl_get_sign_pkey() 2341 if (alg_a & SSL_aRSA) in ssl_get_sign_pkey() 2348 else if ((alg_a & SSL_aECDSA) && in ssl_get_sign_pkey()
|