Home
last modified time | relevance | path

Searched refs:alg_k (Results 1 – 7 of 7) sorted by relevance

/openssl/ssl/
H A Dt1_trce.c1111 unsigned long alg_k = sc->s3.tmp.new_cipher->algorithm_mkey; in ssl_get_keyex() local
1113 if (alg_k & SSL_kRSA) { in ssl_get_keyex()
1117 if (alg_k & SSL_kDHE) { in ssl_get_keyex()
1121 if (alg_k & SSL_kECDHE) { in ssl_get_keyex()
1125 if (alg_k & SSL_kPSK) { in ssl_get_keyex()
1129 if (alg_k & SSL_kRSAPSK) { in ssl_get_keyex()
1133 if (alg_k & SSL_kDHEPSK) { in ssl_get_keyex()
1137 if (alg_k & SSL_kECDHEPSK) { in ssl_get_keyex()
1141 if (alg_k & SSL_kSRP) { in ssl_get_keyex()
1145 if (alg_k & SSL_kGOST) { in ssl_get_keyex()
[all …]
H A Ds3_lib.c4372 alg_k = c->algorithm_mkey; in ssl3_choose_cipher()
4381 ok = (alg_k & mask_k) && (alg_a & mask_a); in ssl3_choose_cipher()
4390 if (alg_k & SSL_kECDHE) in ssl3_choose_cipher()
4403 if ((alg_k & SSL_kECDHE) && (alg_a & SSL_aECDSA) in ssl3_choose_cipher()
4436 uint32_t alg_k, alg_a = 0; in ssl3_get_req_cert_type() local
4444 alg_k = s->s3.tmp.new_cipher->algorithm_mkey; in ssl3_get_req_cert_type()
4447 if (s->version >= TLS1_VERSION && (alg_k & SSL_kGOST)) in ssl3_get_req_cert_type()
4461 if ((s->version == SSL3_VERSION) && (alg_k & SSL_kDHE)) { in ssl3_get_req_cert_type()
4737 if (alg_k & SSL_PSK) { in ssl_generate_master_secret()
4746 if (alg_k & SSL_kPSK) in ssl_generate_master_secret()
[all …]
/openssl/ssl/statem/
H A Dstatem_clnt.c2405 long alg_k; in tls_process_key_exchange() local
2419 if (alg_k & SSL_PSK) { in tls_process_key_exchange()
2428 } else if (alg_k & SSL_kSRP) { in tls_process_key_exchange()
2443 } else if (alg_k) { in tls_process_key_exchange()
2539 && !(alg_k & SSL_PSK)) { in tls_process_key_exchange()
3530 unsigned long alg_k; in tls_construct_client_key_exchange() local
3538 if ((alg_k & SSL_PSK) in tls_construct_client_key_exchange()
3551 } else if (alg_k & SSL_kGOST) { in tls_construct_client_key_exchange()
3554 } else if (alg_k & SSL_kGOST18) { in tls_construct_client_key_exchange()
3557 } else if (alg_k & SSL_kSRP) { in tls_construct_client_key_exchange()
[all …]
H A Dstatem_srvr.c361 if (alg_k & (SSL_kDHE | SSL_kECDHE) in send_server_key_exchange()
368 || ((alg_k & (SSL_kPSK | SSL_kRSAPSK)) in send_server_key_exchange()
375 || (alg_k & SSL_kSRP) in send_server_key_exchange()
3386 unsigned long alg_k; in tls_process_client_key_exchange() local
3388 alg_k = s->s3.tmp.new_cipher->algorithm_mkey; in tls_process_client_key_exchange()
3396 if (alg_k & SSL_kPSK) { in tls_process_client_key_exchange()
3407 } else if (alg_k & (SSL_kRSA | SSL_kRSAPSK)) { in tls_process_client_key_exchange()
3412 } else if (alg_k & (SSL_kDHE | SSL_kDHEPSK)) { in tls_process_client_key_exchange()
3422 } else if (alg_k & SSL_kSRP) { in tls_process_client_key_exchange()
3427 } else if (alg_k & SSL_kGOST) { in tls_process_client_key_exchange()
[all …]
H A Dextensions.c1093 unsigned long alg_k, alg_a; in final_ec_pt_formats() local
1098 alg_k = s->s3.tmp.new_cipher->algorithm_mkey; in final_ec_pt_formats()
1110 && ((alg_k & SSL_kECDHE) || (alg_a & SSL_aECDSA))) { in final_ec_pt_formats()
H A Dextensions_clnt.c142 unsigned long alg_k, alg_a; in use_ecc() local
157 alg_k = c->algorithm_mkey; in use_ecc()
159 if ((alg_k & (SSL_kECDHE | SSL_kECDHEPSK)) in use_ecc()
H A Dextensions_srvr.c1360 unsigned long alg_k = s->s3.tmp.new_cipher->algorithm_mkey; in tls_construct_stoc_ec_pt_formats() local
1362 int using_ecc = ((alg_k & SSL_kECDHE) || (alg_a & SSL_aECDSA)) in tls_construct_stoc_ec_pt_formats()

Completed in 46 milliseconds