Searched refs:alg_k (Results 1 – 7 of 7) sorted by relevance
/third_party/openssl/ssl/ |
D | t1_trce.c | 1042 unsigned long alg_k = ssl->s3->tmp.new_cipher->algorithm_mkey; in ssl_get_keyex() local 1044 if (alg_k & SSL_kRSA) { in ssl_get_keyex() 1048 if (alg_k & SSL_kDHE) { in ssl_get_keyex() 1052 if (alg_k & SSL_kECDHE) { in ssl_get_keyex() 1056 if (alg_k & SSL_kPSK) { in ssl_get_keyex() 1060 if (alg_k & SSL_kRSAPSK) { in ssl_get_keyex() 1064 if (alg_k & SSL_kDHEPSK) { in ssl_get_keyex() 1068 if (alg_k & SSL_kECDHEPSK) { in ssl_get_keyex() 1072 if (alg_k & SSL_kSRP) { in ssl_get_keyex() 1076 if (alg_k & SSL_kGOST) { in ssl_get_keyex()
|
D | s3_lib.c | 4132 unsigned long alg_k = 0, alg_a = 0, mask_k = 0, mask_a = 0; in ssl3_choose_cipher() local 4264 alg_k = c->algorithm_mkey; in ssl3_choose_cipher() 4269 if ((alg_k & SSL_PSK) && s->psk_server_callback == NULL) in ssl3_choose_cipher() 4273 ok = (alg_k & mask_k) && (alg_a & mask_a); in ssl3_choose_cipher() 4275 fprintf(stderr, "%d:[%08lX:%08lX:%08lX:%08lX]%p:%s\n", ok, alg_k, in ssl3_choose_cipher() 4284 if (alg_k & SSL_kECDHE) in ssl3_choose_cipher() 4298 if ((alg_k & SSL_kECDHE) && (alg_a & SSL_aECDSA) in ssl3_choose_cipher() 4328 uint32_t alg_k, alg_a = 0; in ssl3_get_req_cert_type() local 4336 alg_k = s->s3->tmp.new_cipher->algorithm_mkey; in ssl3_get_req_cert_type() 4339 if (s->version >= TLS1_VERSION && (alg_k & SSL_kGOST)) in ssl3_get_req_cert_type() [all …]
|
/third_party/openssl/ssl/statem/ |
D | statem_clnt.c | 62 long alg_k = s->s3->tmp.new_cipher->algorithm_mkey; in key_exchange_expected() local 68 if (alg_k & (SSL_kDHE | SSL_kECDHE | SSL_kDHEPSK | SSL_kECDHEPSK in key_exchange_expected() 2257 long alg_k; in tls_process_key_exchange() local 2263 alg_k = s->s3->tmp.new_cipher->algorithm_mkey; in tls_process_key_exchange() 2272 if (alg_k & SSL_PSK) { in tls_process_key_exchange() 2280 if (alg_k & (SSL_kPSK | SSL_kRSAPSK)) { in tls_process_key_exchange() 2281 } else if (alg_k & SSL_kSRP) { in tls_process_key_exchange() 2286 } else if (alg_k & (SSL_kDHE | SSL_kDHEPSK)) { in tls_process_key_exchange() 2291 } else if (alg_k & (SSL_kECDHE | SSL_kECDHEPSK)) { in tls_process_key_exchange() 2296 } else if (alg_k) { in tls_process_key_exchange() [all …]
|
D | statem_srvr.c | 326 unsigned long alg_k = s->s3->tmp.new_cipher->algorithm_mkey; in send_server_key_exchange() local 336 if (alg_k & (SSL_kDHE | SSL_kECDHE) in send_server_key_exchange() 343 || ((alg_k & (SSL_kPSK | SSL_kRSAPSK)) in send_server_key_exchange() 346 || (alg_k & (SSL_PSK & (SSL_kDHEPSK | SSL_kECDHEPSK))) in send_server_key_exchange() 350 || (alg_k & SSL_kSRP) in send_server_key_exchange() 3460 unsigned long alg_k; in tls_process_client_key_exchange() local 3462 alg_k = s->s3->tmp.new_cipher->algorithm_mkey; in tls_process_client_key_exchange() 3465 if ((alg_k & SSL_PSK) && !tls_process_cke_psk_preamble(s, pkt)) { in tls_process_client_key_exchange() 3470 if (alg_k & SSL_kPSK) { in tls_process_client_key_exchange() 3483 } else if (alg_k & (SSL_kRSA | SSL_kRSAPSK)) { in tls_process_client_key_exchange() [all …]
|
D | extensions.c | 1042 unsigned long alg_k, alg_a; in final_ec_pt_formats() local 1047 alg_k = s->s3->tmp.new_cipher->algorithm_mkey; in final_ec_pt_formats() 1059 && ((alg_k & SSL_kECDHE) || (alg_a & SSL_aECDSA))) { in final_ec_pt_formats()
|
D | extensions_clnt.c | 119 unsigned long alg_k, alg_a; in use_ecc() local 131 alg_k = c->algorithm_mkey; in use_ecc() 133 if ((alg_k & (SSL_kECDHE | SSL_kECDHEPSK)) in use_ecc()
|
D | extensions_srvr.c | 1387 unsigned long alg_k = s->s3->tmp.new_cipher->algorithm_mkey; in tls_construct_stoc_ec_pt_formats() local 1389 int using_ecc = ((alg_k & SSL_kECDHE) || (alg_a & SSL_aECDSA)) in tls_construct_stoc_ec_pt_formats()
|