Home
last modified time | relevance | path

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

/external/boringssl/src/ssl/
Ds3_lib.c480 uint32_t alg_k, alg_a, mask_k, mask_a; in ssl3_choose_cipher() local
513 alg_k = c->algorithm_mkey; in ssl3_choose_cipher()
516 ok = ok && (alg_k & mask_k) && (alg_a & mask_a); in ssl3_choose_cipher()
Ds3_srvr.c1217 uint32_t alg_k = ssl->s3->tmp.new_cipher->algorithm_mkey; in ssl3_send_server_key_exchange() local
1231 if (alg_k & SSL_kDHE) { in ssl3_send_server_key_exchange()
1259 } else if (alg_k & SSL_kECDHE) { in ssl3_send_server_key_exchange()
1278 assert(alg_k & SSL_kPSK); in ssl3_send_server_key_exchange()
1459 uint32_t alg_k; in ssl3_get_client_key_exchange() local
1480 alg_k = ssl->s3->tmp.new_cipher->algorithm_mkey; in ssl3_get_client_key_exchange()
1490 ((alg_k & SSL_kPSK) && CBS_len(&client_key_exchange) != 0)) { in ssl3_get_client_key_exchange()
1532 if (alg_k & SSL_kRSA) { in ssl3_get_client_key_exchange()
1638 } else if (alg_k & (SSL_kECDHE|SSL_kDHE)) { in ssl3_get_client_key_exchange()
1643 if (alg_k & SSL_kECDHE) { in ssl3_get_client_key_exchange()
[all …]
Ds3_clnt.c1063 long n, alg_k, alg_a; in ssl3_get_server_key_exchange() local
1103 alg_k = ssl->s3->tmp.new_cipher->algorithm_mkey; in ssl3_get_server_key_exchange()
1140 if (alg_k & SSL_kDHE) { in ssl3_get_server_key_exchange()
1187 } else if (alg_k & SSL_kECDHE) { in ssl3_get_server_key_exchange()
1218 } else if (!(alg_k & SSL_kPSK)) { in ssl3_get_server_key_exchange()
1588 uint32_t alg_k = ssl->s3->tmp.new_cipher->algorithm_mkey; in ssl3_send_client_key_exchange() local
1630 if (alg_k & SSL_kRSA) { in ssl3_send_client_key_exchange()
1679 } else if (alg_k & (SSL_kECDHE|SSL_kDHE)) { in ssl3_send_client_key_exchange()
1684 if (alg_k & SSL_kECDHE) { in ssl3_send_client_key_exchange()
1709 } else if (alg_k & SSL_kPSK) { in ssl3_send_client_key_exchange()
Dt1_lib.c1820 const uint32_t alg_k = cipher->algorithm_mkey; in ssl_any_ec_cipher_suites_enabled() local
1822 if ((alg_k & SSL_kECDHE) || (alg_a & SSL_aECDSA)) { in ssl_any_ec_cipher_suites_enabled()
1880 const uint32_t alg_k = ssl->s3->tmp.new_cipher->algorithm_mkey; in ext_ec_point_add_serverhello() local
1882 const int using_ecc = (alg_k & SSL_kECDHE) || (alg_a & SSL_aECDSA); in ext_ec_point_add_serverhello()