• Home
  • Raw
  • Download

Lines Matching refs:alg_k

1361 	long i,param_len,n,alg_k,alg_a;  in ssl3_get_key_exchange()  local
1442 alg_k=s->s3->tmp.new_cipher->algorithm_mkey; in ssl3_get_key_exchange()
1509 else if (alg_k & SSL_kSRP) in ssl3_get_key_exchange()
1631 else if (alg_k & SSL_kRSA) in ssl3_get_key_exchange()
1700 else if (alg_k & SSL_kEDH) in ssl3_get_key_exchange()
1796 else if ((alg_k & SSL_kDHr) || (alg_k & SSL_kDHd)) in ssl3_get_key_exchange()
1805 else if (alg_k & SSL_kEECDH) in ssl3_get_key_exchange()
1914 else if (!(alg_k & SSL_kPSK)) in ssl3_get_key_exchange()
2040 !((alg_a & SSL_aPSK) && !(alg_k & SSL_kRSA))) in ssl3_get_key_exchange()
2440 unsigned long alg_k; in ssl3_send_client_key_exchange() local
2467 alg_k=s->s3->tmp.new_cipher->algorithm_mkey; in ssl3_send_client_key_exchange()
2514 if (!(alg_k & SSL_kEECDH)) in ssl3_send_client_key_exchange()
2557 else if (alg_k & SSL_kRSA) in ssl3_send_client_key_exchange()
2623 else if (alg_k & SSL_kKRB5) in ssl3_send_client_key_exchange()
2642 alg_k, SSL_kKRB5); in ssl3_send_client_key_exchange()
2757 else if (alg_k & (SSL_kEDH|SSL_kDHr|SSL_kDHd)) in ssl3_send_client_key_exchange()
2822 else if (alg_k & (SSL_kEECDH|SSL_kECDHr|SSL_kECDHe)) in ssl3_send_client_key_exchange()
2847 if ((alg_k & (SSL_kECDHr|SSL_kECDHe)) && (s->cert != NULL)) in ssl3_send_client_key_exchange()
3058 else if (alg_k & SSL_kGOST) in ssl3_send_client_key_exchange()
3149 else if (alg_k & SSL_kSRP) in ssl3_send_client_key_exchange()
3181 else if (!(alg_k & SSL_kPSK) || ((alg_k & SSL_kPSK) && !(alg_a & SSL_aPSK))) in ssl3_send_client_key_exchange()
3472 long alg_k,alg_a; in ssl3_check_cert_and_algorithm() local
3482 alg_k=s->s3->tmp.new_cipher->algorithm_mkey; in ssl3_check_cert_and_algorithm()
3486 if ((alg_a & (SSL_aDH|SSL_aNULL|SSL_aKRB5)) || (alg_k & SSL_kPSK)) in ssl3_check_cert_and_algorithm()
3540 if ((alg_k & SSL_kRSA) && in ssl3_check_cert_and_algorithm()
3548 if ((alg_k & SSL_kEDH) && in ssl3_check_cert_and_algorithm()
3554 else if ((alg_k & SSL_kDHr) && !has_bits(i,EVP_PK_DH|EVP_PKS_RSA)) in ssl3_check_cert_and_algorithm()
3560 else if ((alg_k & SSL_kDHd) && !has_bits(i,EVP_PK_DH|EVP_PKS_DSA)) in ssl3_check_cert_and_algorithm()
3571 if (alg_k & SSL_kRSA) in ssl3_check_cert_and_algorithm()
3583 if (alg_k & (SSL_kEDH|SSL_kDHr|SSL_kDHd)) in ssl3_check_cert_and_algorithm()