Home
last modified time | relevance | path

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

/openssl/ssl/
H A Dt1_trce.c1056 unsigned long alg_k = sc->s3.tmp.new_cipher->algorithm_mkey; in ssl_get_keyex() local
1058 if (alg_k & SSL_kRSA) { in ssl_get_keyex()
1062 if (alg_k & SSL_kDHE) { in ssl_get_keyex()
1066 if (alg_k & SSL_kECDHE) { in ssl_get_keyex()
1070 if (alg_k & SSL_kPSK) { in ssl_get_keyex()
1074 if (alg_k & SSL_kRSAPSK) { in ssl_get_keyex()
1078 if (alg_k & SSL_kDHEPSK) { in ssl_get_keyex()
1082 if (alg_k & SSL_kECDHEPSK) { in ssl_get_keyex()
1086 if (alg_k & SSL_kSRP) { in ssl_get_keyex()
1090 if (alg_k & SSL_kGOST) { in ssl_get_keyex()
[all …]
H A Ds3_lib.c4300 alg_k = c->algorithm_mkey; in ssl3_choose_cipher()
4309 ok = (alg_k & mask_k) && (alg_a & mask_a); in ssl3_choose_cipher()
4318 if (alg_k & SSL_kECDHE) in ssl3_choose_cipher()
4331 if ((alg_k & SSL_kECDHE) && (alg_a & SSL_aECDSA) in ssl3_choose_cipher()
4364 uint32_t alg_k, alg_a = 0; in ssl3_get_req_cert_type() local
4372 alg_k = s->s3.tmp.new_cipher->algorithm_mkey; in ssl3_get_req_cert_type()
4375 if (s->version >= TLS1_VERSION && (alg_k & SSL_kGOST)) in ssl3_get_req_cert_type()
4389 if ((s->version == SSL3_VERSION) && (alg_k & SSL_kDHE)) { in ssl3_get_req_cert_type()
4665 if (alg_k & SSL_PSK) { in ssl_generate_master_secret()
4674 if (alg_k & SSL_kPSK) in ssl_generate_master_secret()
[all …]
/openssl/ssl/statem/
H A Dstatem_clnt.c2203 long alg_k; in tls_process_key_exchange() local
2217 if (alg_k & SSL_PSK) { in tls_process_key_exchange()
2226 } else if (alg_k & SSL_kSRP) { in tls_process_key_exchange()
2241 } else if (alg_k) { in tls_process_key_exchange()
2336 && !(alg_k & SSL_PSK)) { in tls_process_key_exchange()
3320 unsigned long alg_k; in tls_construct_client_key_exchange() local
3328 if ((alg_k & SSL_PSK) in tls_construct_client_key_exchange()
3341 } else if (alg_k & SSL_kGOST) { in tls_construct_client_key_exchange()
3344 } else if (alg_k & SSL_kGOST18) { in tls_construct_client_key_exchange()
3347 } 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()
3313 unsigned long alg_k; in tls_process_client_key_exchange() local
3315 alg_k = s->s3.tmp.new_cipher->algorithm_mkey; in tls_process_client_key_exchange()
3323 if (alg_k & SSL_kPSK) { in tls_process_client_key_exchange()
3334 } else if (alg_k & (SSL_kRSA | SSL_kRSAPSK)) { in tls_process_client_key_exchange()
3339 } else if (alg_k & (SSL_kDHE | SSL_kDHEPSK)) { in tls_process_client_key_exchange()
3349 } else if (alg_k & SSL_kSRP) { in tls_process_client_key_exchange()
3354 } else if (alg_k & SSL_kGOST) { in tls_process_client_key_exchange()
[all …]
H A Dextensions.c1036 unsigned long alg_k, alg_a; in final_ec_pt_formats() local
1041 alg_k = s->s3.tmp.new_cipher->algorithm_mkey; in final_ec_pt_formats()
1053 && ((alg_k & SSL_kECDHE) || (alg_a & SSL_aECDSA))) { in final_ec_pt_formats()
H A Dextensions_clnt.c115 unsigned long alg_k, alg_a; in use_ecc() local
130 alg_k = c->algorithm_mkey; in use_ecc()
132 if ((alg_k & (SSL_kECDHE | SSL_kECDHEPSK)) in use_ecc()
H A Dextensions_srvr.c1320 unsigned long alg_k = s->s3.tmp.new_cipher->algorithm_mkey; in tls_construct_stoc_ec_pt_formats() local
1322 int using_ecc = ((alg_k & SSL_kECDHE) || (alg_a & SSL_aECDSA)) in tls_construct_stoc_ec_pt_formats()

Completed in 77 milliseconds