Searched refs:alg_k (Results 1 – 7 of 7) sorted by relevance
1111 unsigned long alg_k = sc->s3.tmp.new_cipher->algorithm_mkey; in ssl_get_keyex() local1113 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 …]
4372 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() local4444 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 …]
2405 long alg_k; in tls_process_key_exchange() local2419 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() local3538 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 …]
361 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() local3388 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 …]
1093 unsigned long alg_k, alg_a; in final_ec_pt_formats() local1098 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()
142 unsigned long alg_k, alg_a; in use_ecc() local157 alg_k = c->algorithm_mkey; in use_ecc()159 if ((alg_k & (SSL_kECDHE | SSL_kECDHEPSK)) in use_ecc()
1360 unsigned long alg_k = s->s3.tmp.new_cipher->algorithm_mkey; in tls_construct_stoc_ec_pt_formats() local1362 int using_ecc = ((alg_k & SSL_kECDHE) || (alg_a & SSL_aECDSA)) in tls_construct_stoc_ec_pt_formats()
Completed in 83 milliseconds