Searched refs:mask_k (Results 1 – 2 of 2) sorted by relevance
/external/boringssl/src/ssl/ |
D | handshake_server.c | 694 uint32_t mask_k = 0; in ssl_get_compatible_server_ciphers() local 700 mask_k |= SSL_kRSA; in ssl_get_compatible_server_ciphers() 708 mask_k |= SSL_kDHE; in ssl_get_compatible_server_ciphers() 714 mask_k |= SSL_kECDHE; in ssl_get_compatible_server_ciphers() 719 mask_k |= SSL_kPSK; in ssl_get_compatible_server_ciphers() 723 *out_mask_k = mask_k; in ssl_get_compatible_server_ciphers() 735 uint32_t alg_k, alg_a, mask_k, mask_a; in ssl3_choose_cipher() local 760 ssl_get_compatible_server_ciphers(hs, &mask_k, &mask_a); in ssl3_choose_cipher() 776 ok = ok && (alg_k & mask_k) && (alg_a & mask_a); in ssl3_choose_cipher()
|
D | handshake_client.c | 595 uint32_t mask_a, mask_k; in ssl_write_client_cipher_list() local 596 ssl_get_client_disabled(ssl, &mask_a, &mask_k); in ssl_write_client_cipher_list() 632 if ((cipher->algorithm_mkey & mask_k) || in ssl_write_client_cipher_list() 954 uint32_t mask_a, mask_k; in ssl3_get_server_hello() local 955 ssl_get_client_disabled(ssl, &mask_a, &mask_k); in ssl3_get_server_hello() 956 if ((c->algorithm_mkey & mask_k) || (c->algorithm_auth & mask_a) || in ssl3_get_server_hello()
|