Home
last modified time | relevance | path

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

/freebsd-14.2/crypto/openssl/ssl/
H A Dt1_trce.c1053 unsigned long alg_k = ssl->s3.tmp.new_cipher->algorithm_mkey; in ssl_get_keyex() local
1055 if (alg_k & SSL_kRSA) { in ssl_get_keyex()
1059 if (alg_k & SSL_kDHE) { in ssl_get_keyex()
1063 if (alg_k & SSL_kECDHE) { in ssl_get_keyex()
1067 if (alg_k & SSL_kPSK) { in ssl_get_keyex()
1071 if (alg_k & SSL_kRSAPSK) { in ssl_get_keyex()
1075 if (alg_k & SSL_kDHEPSK) { in ssl_get_keyex()
1079 if (alg_k & SSL_kECDHEPSK) { in ssl_get_keyex()
1083 if (alg_k & SSL_kSRP) { in ssl_get_keyex()
1087 if (alg_k & SSL_kGOST) { in ssl_get_keyex()
[all …]
H A Ds3_lib.c4268 alg_k = c->algorithm_mkey; in ssl3_choose_cipher()
4277 ok = (alg_k & mask_k) && (alg_a & mask_a); in ssl3_choose_cipher()
4286 if (alg_k & SSL_kECDHE) in ssl3_choose_cipher()
4299 if ((alg_k & SSL_kECDHE) && (alg_a & SSL_aECDSA) in ssl3_choose_cipher()
4331 uint32_t alg_k, alg_a = 0; in ssl3_get_req_cert_type() local
4339 alg_k = s->s3.tmp.new_cipher->algorithm_mkey; in ssl3_get_req_cert_type()
4342 if (s->version >= TLS1_VERSION && (alg_k & SSL_kGOST)) in ssl3_get_req_cert_type()
4356 if ((s->version == SSL3_VERSION) && (alg_k & SSL_kDHE)) { in ssl3_get_req_cert_type()
4606 if (alg_k & SSL_PSK) { in ssl_generate_master_secret()
4615 if (alg_k & SSL_kPSK) in ssl_generate_master_secret()
[all …]
/freebsd-14.2/crypto/openssl/ssl/statem/
H A Dstatem_clnt.c2181 long alg_k; in tls_process_key_exchange() local
2194 if (alg_k & SSL_PSK) { in tls_process_key_exchange()
2203 } else if (alg_k & SSL_kSRP) { in tls_process_key_exchange()
2218 } else if (alg_k) { in tls_process_key_exchange()
2314 && !(alg_k & SSL_PSK)) { in tls_process_key_exchange()
3284 unsigned long alg_k; in tls_construct_client_key_exchange() local
3292 if ((alg_k & SSL_PSK) in tls_construct_client_key_exchange()
3305 } else if (alg_k & SSL_kGOST) { in tls_construct_client_key_exchange()
3308 } else if (alg_k & SSL_kGOST18) { in tls_construct_client_key_exchange()
3311 } else if (alg_k & SSL_kSRP) { in tls_construct_client_key_exchange()
[all …]
H A Dstatem_srvr.c335 if (alg_k & (SSL_kDHE | SSL_kECDHE) in send_server_key_exchange()
342 || ((alg_k & (SSL_kPSK | SSL_kRSAPSK)) in send_server_key_exchange()
349 || (alg_k & SSL_kSRP) in send_server_key_exchange()
3283 unsigned long alg_k; in tls_process_client_key_exchange() local
3285 alg_k = s->s3.tmp.new_cipher->algorithm_mkey; in tls_process_client_key_exchange()
3293 if (alg_k & SSL_kPSK) { in tls_process_client_key_exchange()
3304 } else if (alg_k & (SSL_kRSA | SSL_kRSAPSK)) { in tls_process_client_key_exchange()
3309 } else if (alg_k & (SSL_kDHE | SSL_kDHEPSK)) { in tls_process_client_key_exchange()
3319 } else if (alg_k & SSL_kSRP) { in tls_process_client_key_exchange()
3324 } else if (alg_k & SSL_kGOST) { in tls_process_client_key_exchange()
[all …]
H A Dextensions.c1035 unsigned long alg_k, alg_a; in final_ec_pt_formats() local
1040 alg_k = s->s3.tmp.new_cipher->algorithm_mkey; in final_ec_pt_formats()
1052 && ((alg_k & SSL_kECDHE) || (alg_a & SSL_aECDSA))) { in final_ec_pt_formats()
H A Dextensions_clnt.c114 unsigned long alg_k, alg_a; in use_ecc() local
128 alg_k = c->algorithm_mkey; in use_ecc()
130 if ((alg_k & (SSL_kECDHE | SSL_kECDHEPSK)) in use_ecc()
H A Dextensions_srvr.c1317 unsigned long alg_k = s->s3.tmp.new_cipher->algorithm_mkey; in tls_construct_stoc_ec_pt_formats() local
1319 int using_ecc = ((alg_k & SSL_kECDHE) || (alg_a & SSL_aECDSA)) in tls_construct_stoc_ec_pt_formats()