Lines Matching refs:alg_k

74     long alg_k = s->s3.tmp.new_cipher->algorithm_mkey;  in key_exchange_expected()  local
80 if (alg_k & (SSL_kDHE | SSL_kECDHE | SSL_kDHEPSK | SSL_kECDHEPSK in key_exchange_expected()
2405 long alg_k; in tls_process_key_exchange() local
2412 alg_k = s->s3.tmp.new_cipher->algorithm_mkey; in tls_process_key_exchange()
2419 if (alg_k & SSL_PSK) { in tls_process_key_exchange()
2427 if (alg_k & (SSL_kPSK | SSL_kRSAPSK)) { in tls_process_key_exchange()
2428 } else if (alg_k & SSL_kSRP) { in tls_process_key_exchange()
2433 } else if (alg_k & (SSL_kDHE | SSL_kDHEPSK)) { in tls_process_key_exchange()
2438 } else if (alg_k & (SSL_kECDHE | SSL_kECDHEPSK)) { 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
3532 alg_k = s->s3.tmp.new_cipher->algorithm_mkey; in tls_construct_client_key_exchange()
3538 if ((alg_k & SSL_PSK) in tls_construct_client_key_exchange()
3542 if (alg_k & (SSL_kRSA | SSL_kRSAPSK)) { in tls_construct_client_key_exchange()
3545 } else if (alg_k & (SSL_kDHE | SSL_kDHEPSK)) { in tls_construct_client_key_exchange()
3548 } else if (alg_k & (SSL_kECDHE | SSL_kECDHEPSK)) { 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()
3560 } else if (!(alg_k & SSL_kPSK)) { in tls_construct_client_key_exchange()
3921 long alg_k, alg_a; in ssl3_check_cert_and_algorithm() local
3924 alg_k = s->s3.tmp.new_cipher->algorithm_mkey; in ssl3_check_cert_and_algorithm()
3941 if (alg_k & (SSL_kRSA | SSL_kRSAPSK) && idx != SSL_PKEY_RSA) { in ssl3_check_cert_and_algorithm()
3947 if ((alg_k & SSL_kDHE) && (s->s3.peer_tmp == NULL)) { in ssl3_check_cert_and_algorithm()