Home
last modified time | relevance | path

Searched refs:cipher_suite (Results 1 – 25 of 34) sorted by relevance

12

/third_party/mbedtls/include/psa/
Dcrypto_extra.h1170 const psa_pake_cipher_suite_t* cipher_suite
1190 psa_pake_cipher_suite_t* cipher_suite,
1205 const psa_pake_cipher_suite_t* cipher_suite
1222 psa_pake_cipher_suite_t* cipher_suite,
1239 const psa_pake_cipher_suite_t* cipher_suite
1263 psa_pake_cipher_suite_t* cipher_suite,
1365 psa_pake_cipher_suite_t cipher_suite);
1756 const psa_pake_cipher_suite_t *cipher_suite) in psa_pake_cs_get_algorithm() argument
1758 return(cipher_suite->algorithm); in psa_pake_cs_get_algorithm()
1762 psa_pake_cipher_suite_t *cipher_suite, in psa_pake_cs_set_algorithm() argument
[all …]
/third_party/skia/third_party/externals/microhttpd/src/testcurl/https/
Dtls_test_common.h54 const char *cipher_suite; member
84 const char *cipher_suite, int proto_version,
113 send_curl_req (char *url, struct CBC *cbc, const char *cipher_suite,
117 test_https_transfer (void *cls, const char *cipher_suite, int proto_version);
138 (*test_function) (void * cls, const char *cipher_suite,
140 int daemon_flags, const char *cipher_suite, int proto_version, ...);
Dtest_https_get_parallel_threads.c65 cargs->cipher_suite, cargs->proto_version); in https_transfer_thread_adapter()
79 test_single_client (void *cls, const char *cipher_suite, in test_single_client() argument
84 { NULL, cipher_suite, curl_proto_version }; in test_single_client()
101 test_parallel_clients (void *cls, const char *cipher_suite, in test_parallel_clients() argument
109 { NULL, cipher_suite, curl_proto_version }; in test_parallel_clients()
Dtest_https_get_parallel.c64 cargs->cipher_suite, cargs->proto_version); in https_transfer_thread_adapter()
79 test_single_client (void *cls, const char *cipher_suite, in test_single_client() argument
84 { NULL, cipher_suite, curl_proto_version }; in test_single_client()
101 test_parallel_clients (void * cls, const char *cipher_suite, in test_parallel_clients() argument
109 { NULL, cipher_suite, curl_proto_version }; in test_parallel_clients()
Dtls_test_common.c67 const char *cipher_suite, int proto_version, in test_daemon_get() argument
102 curl_easy_setopt (c, CURLOPT_SSL_CIPHER_LIST, cipher_suite); in test_daemon_get()
210 send_curl_req (char *url, struct CBC * cbc, const char *cipher_suite, in send_curl_req() argument
232 curl_easy_setopt (c, CURLOPT_SSL_CIPHER_LIST, cipher_suite); in send_curl_req()
316 test_https_transfer (void *cls, const char *cipher_suite, int proto_version) in test_https_transfer() argument
338 if (CURLE_OK != send_curl_req (url, &cbc, cipher_suite, proto_version)) in test_https_transfer()
452 (*test_function) (void * cls, const char *cipher_suite, in test_wrap() argument
454 int daemon_flags, const char *cipher_suite, int proto_version, ...) in test_wrap()
470 ret = test_function (NULL, cipher_suite, proto_version); in test_wrap()
Dtest_https_get.c43 const char *cipher_suite, in test_cipher_option() argument
62 ret = test_https_transfer (test_fd, cipher_suite, proto_version); in test_cipher_option()
72 const char *cipher_suite, in test_secure_get() argument
91 ret = test_https_transfer (test_fd, cipher_suite, proto_version); in test_secure_get()
Dtest_https_multi_daemon.c45 const char *cipher_suite, in test_concurent_daemon_pair() argument
81 test_daemon_get (NULL, cipher_suite, proto_version, DEAMON_TEST_PORT, 0); in test_concurent_daemon_pair()
83 test_daemon_get (NULL, cipher_suite, proto_version, in test_concurent_daemon_pair()
88 test_daemon_get (NULL, cipher_suite, proto_version, DEAMON_TEST_PORT, 0); in test_concurent_daemon_pair()
Dtest_tls_authentication.c47 test_secure_get (void * cls, char *cipher_suite, int proto_version) in test_secure_get() argument
65 ret = test_daemon_get (NULL, cipher_suite, proto_version, DEAMON_TEST_PORT, 0); in test_secure_get()
Dtest_tls_options.c44 test_unmatching_ssl_version (void * cls, const char *cipher_suite, in test_unmatching_ssl_version() argument
67 send_curl_req (url, &cbc, cipher_suite, curl_req_ssl_version)) in test_unmatching_ssl_version()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/
Dtlsv1_record.c31 u16 cipher_suite) in tlsv1_record_set_cipher_suite() argument
37 cipher_suite); in tlsv1_record_set_cipher_suite()
38 rl->cipher_suite = cipher_suite; in tlsv1_record_set_cipher_suite()
40 suite = tls_get_cipher_suite(cipher_suite); in tlsv1_record_set_cipher_suite()
78 "0x%04x", rl->cipher_suite); in tlsv1_record_change_write_cipher()
79 rl->write_cipher_suite = rl->cipher_suite; in tlsv1_record_change_write_cipher()
112 "0x%04x", rl->cipher_suite); in tlsv1_record_change_read_cipher()
113 rl->read_cipher_suite = rl->cipher_suite; in tlsv1_record_change_read_cipher()
Dtlsv1_server_read.c126 u16 cipher_suite; in tls_process_client_hello() local
251 cipher_suite = 0; in tls_process_client_hello()
252 for (i = 0; !cipher_suite && i < conn->num_cipher_suites; i++) { in tls_process_client_hello()
259 if (!cipher_suite && tmp == conn->cipher_suites[i]) { in tls_process_client_hello()
260 cipher_suite = tmp; in tls_process_client_hello()
266 if (!cipher_suite) { in tls_process_client_hello()
273 if (tlsv1_record_set_cipher_suite(&conn->rl, cipher_suite) < 0) { in tls_process_client_hello()
281 conn->cipher_suite = cipher_suite; in tls_process_client_hello()
862 suite = tls_get_cipher_suite(conn->rl.cipher_suite); in tls_process_client_key_exchange()
Dtlsv1_record.h51 u16 cipher_suite; member
61 u16 cipher_suite);
Dtlsv1_client_read.c83 u16 cipher_suite; in tls_process_server_hello() local
172 cipher_suite = WPA_GET_BE16(pos); in tls_process_server_hello()
175 if (cipher_suite == conn->cipher_suites[i]) in tls_process_server_hello()
180 "cipher suite 0x%04x", cipher_suite); in tls_process_server_hello()
186 if (conn->session_resumed && cipher_suite != conn->prev_cipher_suite) { in tls_process_server_hello()
189 "0x%04x)", cipher_suite, conn->prev_cipher_suite); in tls_process_server_hello()
195 if (tlsv1_record_set_cipher_suite(&conn->rl, cipher_suite) < 0) { in tls_process_server_hello()
203 conn->prev_cipher_suite = cipher_suite; in tls_process_server_hello()
1077 if (!tls_server_key_exchange_allowed(conn->rl.cipher_suite)) { in tls_process_server_key_exchange()
1086 suite = tls_get_cipher_suite(conn->rl.cipher_suite); in tls_process_server_key_exchange()
Dtlsv1_server_write.c98 WPA_PUT_BE16(pos, conn->cipher_suite); in tls_write_server_hello()
197 suite = tls_get_cipher_suite(conn->rl.cipher_suite); in tls_write_server_certificate()
380 suite = tls_get_cipher_suite(conn->rl.cipher_suite); in tls_write_server_key_exchange()
386 if (!tls_server_key_exchange_allowed(conn->rl.cipher_suite)) { in tls_write_server_key_exchange()
Dtlsv1_server_i.h43 u16 cipher_suite; member
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/
Dtlsv1_record.c31 u16 cipher_suite) in tlsv1_record_set_cipher_suite() argument
37 cipher_suite); in tlsv1_record_set_cipher_suite()
38 rl->cipher_suite = cipher_suite; in tlsv1_record_set_cipher_suite()
40 suite = tls_get_cipher_suite(cipher_suite); in tlsv1_record_set_cipher_suite()
78 "0x%04x", rl->cipher_suite); in tlsv1_record_change_write_cipher()
79 rl->write_cipher_suite = rl->cipher_suite; in tlsv1_record_change_write_cipher()
112 "0x%04x", rl->cipher_suite); in tlsv1_record_change_read_cipher()
113 rl->read_cipher_suite = rl->cipher_suite; in tlsv1_record_change_read_cipher()
Dtlsv1_server_read.c126 u16 cipher_suite; in tls_process_client_hello() local
251 cipher_suite = 0; in tls_process_client_hello()
252 for (i = 0; !cipher_suite && i < conn->num_cipher_suites; i++) { in tls_process_client_hello()
259 if (!cipher_suite && tmp == conn->cipher_suites[i]) { in tls_process_client_hello()
260 cipher_suite = tmp; in tls_process_client_hello()
266 if (!cipher_suite) { in tls_process_client_hello()
273 if (tlsv1_record_set_cipher_suite(&conn->rl, cipher_suite) < 0) { in tls_process_client_hello()
281 conn->cipher_suite = cipher_suite; in tls_process_client_hello()
862 suite = tls_get_cipher_suite(conn->rl.cipher_suite); in tls_process_client_key_exchange()
Dtlsv1_record.h51 u16 cipher_suite; member
61 u16 cipher_suite);
Dtlsv1_client_read.c83 u16 cipher_suite; in tls_process_server_hello() local
172 cipher_suite = WPA_GET_BE16(pos); in tls_process_server_hello()
175 if (cipher_suite == conn->cipher_suites[i]) in tls_process_server_hello()
180 "cipher suite 0x%04x", cipher_suite); in tls_process_server_hello()
186 if (conn->session_resumed && cipher_suite != conn->prev_cipher_suite) { in tls_process_server_hello()
189 "0x%04x)", cipher_suite, conn->prev_cipher_suite); in tls_process_server_hello()
195 if (tlsv1_record_set_cipher_suite(&conn->rl, cipher_suite) < 0) { in tls_process_server_hello()
203 conn->prev_cipher_suite = cipher_suite; in tls_process_server_hello()
1085 if (!tls_server_key_exchange_allowed(conn->rl.cipher_suite)) { in tls_process_server_key_exchange()
1094 suite = tls_get_cipher_suite(conn->rl.cipher_suite); in tls_process_server_key_exchange()
Dtlsv1_server_write.c98 WPA_PUT_BE16(pos, conn->cipher_suite); in tls_write_server_hello()
197 suite = tls_get_cipher_suite(conn->rl.cipher_suite); in tls_write_server_certificate()
380 suite = tls_get_cipher_suite(conn->rl.cipher_suite); in tls_write_server_key_exchange()
386 if (!tls_server_key_exchange_allowed(conn->rl.cipher_suite)) { in tls_write_server_key_exchange()
Dtlsv1_server_i.h43 u16 cipher_suite; member
Dtlsv1_server.c533 switch (conn->rl.cipher_suite) { in tlsv1_server_get_cipher()
/third_party/mbedtls/library/
Dssl_tls13_client.c631 int cipher_suite = ciphersuite_list[i]; in ssl_tls13_write_client_hello_cipher_suites() local
634 ciphersuite_info = mbedtls_ssl_ciphersuite_from_id( cipher_suite ); in ssl_tls13_write_client_hello_cipher_suites()
642 (unsigned int) cipher_suite, in ssl_tls13_write_client_hello_cipher_suites()
647 MBEDTLS_PUT_UINT16_BE( cipher_suite, p, 0 ); in ssl_tls13_write_client_hello_cipher_suites()
1039 int cipher_suite ) in ssl_tls13_cipher_suite_is_offered() argument
1046 if( ciphersuite_list[i] == cipher_suite ) in ssl_tls13_cipher_suite_is_offered()
1073 uint16_t cipher_suite; in ssl_tls13_parse_server_hello() local
1136 cipher_suite = MBEDTLS_GET_UINT16_BE( p, 0 ); in ssl_tls13_parse_server_hello()
1145 ciphersuite_info = mbedtls_ssl_ciphersuite_from_id( cipher_suite ); in ssl_tls13_parse_server_hello()
1147 ssl_tls13_cipher_suite_is_offered( ssl, cipher_suite ) == 0 ) in ssl_tls13_parse_server_hello()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/pae/
Dieee802_1x_cp.c46 u64 cipher_suite; member
98 sm->current_cipher_suite != sm->cipher_suite; in changed_cipher()
214 sm->current_cipher_suite = sm->cipher_suite; in SM_STATE()
477 sm->cipher_suite = default_cs_id; in ieee802_1x_cp_sm_init()
611 sm->cipher_suite = cs; in ieee802_1x_cp_set_ciphersuite()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/pae/
Dieee802_1x_cp.c46 u64 cipher_suite; member
98 sm->current_cipher_suite != sm->cipher_suite; in changed_cipher()
196 sm->current_cipher_suite = sm->cipher_suite; in SM_STATE()
466 sm->cipher_suite = default_cs_id; in ieee802_1x_cp_sm_init()
600 sm->cipher_suite = cs; in ieee802_1x_cp_set_ciphersuite()

12