Home
last modified time | relevance | path

Searched refs:tls_version (Results 1 – 25 of 41) sorted by relevance

12

/third_party/libcoap/src/
Dcoap_debug.c1061 coap_tls_version_t *tls_version = coap_get_tls_library_version(); in coap_string_tls_version() local
1067 switch (tls_version->type) { in coap_string_tls_version()
1074 (unsigned long)(tls_version->version >> 16), in coap_string_tls_version()
1075 (unsigned long)((tls_version->version >> 8) & 0xff), in coap_string_tls_version()
1076 (unsigned long)(tls_version->version & 0xff), in coap_string_tls_version()
1077 (unsigned long)(tls_version->built_version >> 16), in coap_string_tls_version()
1078 (unsigned long)((tls_version->built_version >> 8) & 0xff), in coap_string_tls_version()
1079 (unsigned long)(tls_version->built_version & 0xff)); in coap_string_tls_version()
1082 switch (tls_version->version &0xf) { in coap_string_tls_version()
1091 beta[5] = (tls_version->version &0xf) + '0'; in coap_string_tls_version()
[all …]
/third_party/mbedtls/library/
Dssl_client.c353 ssl->tls_version) != 0) { in ssl_write_client_hello_cipher_suites()
451 (MBEDTLS_SSL_VERSION_TLS1_2 <= ssl->tls_version); in ssl_write_client_hello_body()
457 (MBEDTLS_SSL_VERSION_TLS1_3 <= ssl->tls_version); in ssl_write_client_hello_body()
703 if (ssl->tls_version == MBEDTLS_SSL_VERSION_TLS1_2) { in ssl_generate_random()
738 session_negotiate->tls_version == MBEDTLS_SSL_VERSION_TLS1_3 && in ssl_prepare_client_hello()
764 ssl->handshake->min_tls_version = ssl->tls_version; in ssl_prepare_client_hello()
769 ssl->tls_version = session_negotiate->tls_version; in ssl_prepare_client_hello()
770 ssl->handshake->min_tls_version = ssl->tls_version; in ssl_prepare_client_hello()
772 ssl->tls_version = ssl->conf->max_tls_version; in ssl_prepare_client_hello()
803 if (ssl->tls_version == MBEDTLS_SSL_VERSION_TLS1_2) { in ssl_prepare_client_hello()
[all …]
Dssl_msg.c448 tls_version, in ssl_extract_add_data_from_record() argument
549 if (tls_version == MBEDTLS_SSL_VERSION_TLS1_3) { in ssl_extract_add_data_from_record()
557 ((void) tls_version); in ssl_extract_add_data_from_record()
761 if (transform->tls_version == MBEDTLS_SSL_VERSION_TLS1_3) { in mbedtls_ssl_encrypt_buf()
830 transform->tls_version, in mbedtls_ssl_encrypt_buf()
961 transform->tls_version, in mbedtls_ssl_encrypt_buf()
1172 rec, transform->tls_version, in mbedtls_ssl_encrypt_buf()
1388 transform->tls_version, in mbedtls_ssl_decrypt_buf()
1522 transform->tls_version, in mbedtls_ssl_decrypt_buf()
1805 transform->tls_version, in mbedtls_ssl_decrypt_buf()
[all …]
Dssl_tls13_server.c45 ssl->tls_version, in ssl_tls13_validate_peer_ciphersuite()
46 ssl->tls_version) != 0)) { in ssl_tls13_validate_peer_ciphersuite()
740 uint16_t tls_version; in ssl_tls13_parse_supported_versions_ext() local
751 tls_version = mbedtls_ssl_read_version(p, ssl->conf->transport); in ssl_tls13_parse_supported_versions_ext()
755 if (tls_version == MBEDTLS_SSL_VERSION_TLS1_3) { in ssl_tls13_parse_supported_versions_ext()
770 (unsigned int) tls_version)); in ssl_tls13_parse_supported_versions_ext()
1297 ssl->tls_version = MBEDTLS_SSL_VERSION_TLS1_3; in ssl_tls13_parse_client_hello()
1301 ssl->session_negotiate->tls_version = MBEDTLS_SSL_VERSION_TLS1_3; in ssl_tls13_parse_client_hello()
1825 ssl->tls_version); in ssl_tls13_write_server_hello_supported_versions_ext()
1828 ssl->tls_version)); in ssl_tls13_write_server_hello_supported_versions_ext()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/
Dtlsv1_client.c43 u16 tls_version = TLS_VERSION; in tls_client_highest_ver() local
48 tls_version == TLS_VERSION_1_2) in tls_client_highest_ver()
49 tls_version = TLS_VERSION_1_1; in tls_client_highest_ver()
53 tls_version == TLS_VERSION_1_1) in tls_client_highest_ver()
54 tls_version = TLS_VERSION_1; in tls_client_highest_ver()
57 tls_version == TLS_VERSION_1) in tls_client_highest_ver()
60 return tls_version; in tls_client_highest_ver()
89 if (tls_prf(conn->rl.tls_version, in tls_derive_keys()
104 if (conn->rl.tls_version == TLS_VERSION_1) in tls_derive_keys()
106 if (tls_prf(conn->rl.tls_version, in tls_derive_keys()
[all …]
Dtlsv1_client_write.c51 u16 tls_version = tls_client_highest_ver(conn); in tls_send_client_hello() local
53 if (!tls_version) { in tls_send_client_hello()
59 tls_version_str(tls_version)); in tls_send_client_hello()
95 WPA_PUT_BE16(pos, tls_version); in tls_send_client_hello()
120 if (conn->rl.tls_version >= TLS_VERSION_1_2) { in tls_send_client_hello()
609 if (conn->rl.tls_version == TLS_VERSION_1_2) { in tls_write_client_certificate_verify()
674 if (conn->rl.tls_version >= TLS_VERSION_1_2) { in tls_write_client_certificate_verify()
782 if (conn->rl.tls_version >= TLS_VERSION_1_2) { in tls_write_client_finished()
823 if (tls_prf(conn->rl.tls_version, in tls_write_client_finished()
979 WPA_PUT_BE16(pos, conn->rl.tls_version ? conn->rl.tls_version : in tlsv1_client_send_alert()
Dtlsv1_client_read.c84 u16 tls_version; in tls_process_server_hello() local
126 tls_version = WPA_GET_BE16(pos); in tls_process_server_hello()
127 if (!tls_version_ok(tls_version) || in tls_process_server_hello()
128 tls_version_disabled(conn, tls_version)) { in tls_process_server_hello()
138 tls_version_str(tls_version)); in tls_process_server_hello()
139 conn->rl.tls_version = tls_version; in tls_process_server_hello()
738 if (conn->rl.tls_version == TLS_VERSION_1_2) { in tlsv1_process_diffie_hellman()
762 conn->rl.tls_version, pos[0], in tlsv1_process_diffie_hellman()
772 conn->rl.tls_version, conn->client_random, in tlsv1_process_diffie_hellman()
782 if (tls_verify_signature(conn->rl.tls_version, in tlsv1_process_diffie_hellman()
[all …]
Dtlsv1_common.h262 int tlsv12_key_x_server_params_hash(u16 tls_version, u8 hash_Alg,
267 int tls_key_x_server_params_hash(u16 tls_version, const u8 *client_random,
271 int tls_verify_signature(u16 tls_version, struct crypto_public_key *pk,
Dtlsv1_server_write.c88 WPA_PUT_BE16(pos, conn->rl.tls_version); in tls_write_server_hello()
569 if (conn->rl.tls_version >= TLS_VERSION_1_2) { in tls_write_server_key_exchange()
572 conn->rl.tls_version, TLS_HASH_ALG_SHA256, in tls_write_server_key_exchange()
621 conn->rl.tls_version, conn->client_random, in tls_write_server_key_exchange()
846 if (conn->rl.tls_version >= TLS_VERSION_1_2) { in tls_write_server_finished()
887 if (tls_prf(conn->rl.tls_version, in tls_write_server_finished()
1075 WPA_PUT_BE16(pos, conn->rl.tls_version ? conn->rl.tls_version : in tlsv1_server_send_alert()
Dtlsv1_server_read.c195 conn->rl.tls_version = TLS_VERSION_1; in tls_process_client_hello()
198 conn->rl.tls_version = TLS_VERSION_1_2; in tls_process_client_hello()
201 conn->rl.tls_version = TLS_VERSION_1_1; in tls_process_client_hello()
203 conn->rl.tls_version = conn->client_version; in tls_process_client_hello()
205 tls_version_str(conn->rl.tls_version)); in tls_process_client_hello()
959 if (conn->rl.tls_version == TLS_VERSION_1_2) { in tls_process_certificate_verify()
1030 if (tls_verify_signature(conn->rl.tls_version, conn->client_rsa_key, in tls_process_certificate_verify()
1193 if (conn->rl.tls_version >= TLS_VERSION_1_2) { in tls_process_client_finished()
1234 if (tls_prf(conn->rl.tls_version, in tls_process_client_finished()
Dtlsv1_common.c338 int tlsv12_key_x_server_params_hash(u16 tls_version, u8 hash_alg, in tlsv12_key_x_server_params_hash() argument
378 int tls_key_x_server_params_hash(u16 tls_version, const u8 *client_random, in tls_key_x_server_params_hash() argument
414 int tls_verify_signature(u16 tls_version, struct crypto_public_key *pk, in tls_verify_signature() argument
466 if (tls_version >= TLS_VERSION_1_2) { in tls_verify_signature()
Dtlsv1_record.c167 WPA_PUT_BE16(pos, rl->tls_version); in tlsv1_record_send()
176 rl->iv_size && rl->tls_version >= TLS_VERSION_1_1; in tlsv1_record_send()
378 if (rl->tls_version >= TLS_VERSION_1_1) { in tlsv1_record_receive()
Dtlsv1_record.h32 u16 tls_version; member
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/
Dtlsv1_client_write.c51 u16 tls_version = TLS_VERSION; in tls_send_client_hello() local
56 tls_version == TLS_VERSION_1_2) in tls_send_client_hello()
57 tls_version = TLS_VERSION_1_1; in tls_send_client_hello()
61 tls_version == TLS_VERSION_1_1) in tls_send_client_hello()
62 tls_version = TLS_VERSION_1; in tls_send_client_hello()
65 tls_version == TLS_VERSION_1) { in tls_send_client_hello()
71 tls_version_str(tls_version)); in tls_send_client_hello()
107 WPA_PUT_BE16(pos, tls_version); in tls_send_client_hello()
132 if (conn->rl.tls_version >= TLS_VERSION_1_2) { in tls_send_client_hello()
621 if (conn->rl.tls_version == TLS_VERSION_1_2) { in tls_write_client_certificate_verify()
[all …]
Dtlsv1_client_read.c84 u16 tls_version; in tls_process_server_hello() local
126 tls_version = WPA_GET_BE16(pos); in tls_process_server_hello()
127 if (!tls_version_ok(tls_version) || in tls_process_server_hello()
128 tls_version_disabled(conn, tls_version)) { in tls_process_server_hello()
138 tls_version_str(tls_version)); in tls_process_server_hello()
139 conn->rl.tls_version = tls_version; in tls_process_server_hello()
730 if (conn->rl.tls_version == TLS_VERSION_1_2) { in tlsv1_process_diffie_hellman()
754 conn->rl.tls_version, pos[0], in tlsv1_process_diffie_hellman()
764 conn->rl.tls_version, conn->client_random, in tlsv1_process_diffie_hellman()
774 if (tls_verify_signature(conn->rl.tls_version, in tlsv1_process_diffie_hellman()
[all …]
Dtlsv1_common.h262 int tlsv12_key_x_server_params_hash(u16 tls_version, u8 hash_Alg,
267 int tls_key_x_server_params_hash(u16 tls_version, const u8 *client_random,
271 int tls_verify_signature(u16 tls_version, struct crypto_public_key *pk,
Dtlsv1_client.c65 if (tls_prf(conn->rl.tls_version, in tls_derive_keys()
80 if (conn->rl.tls_version == TLS_VERSION_1) in tls_derive_keys()
82 if (tls_prf(conn->rl.tls_version, in tls_derive_keys()
108 if (conn->rl.tls_version == TLS_VERSION_1) { in tls_derive_keys()
476 conn->rl.tls_version = TLS_VERSION; in tlsv1_client_init()
563 res = tls_prf(conn->rl.tls_version, in tlsv1_client_prf()
878 switch (conn->rl.tls_version) { in tlsv1_client_get_version()
Dtlsv1_server_write.c88 WPA_PUT_BE16(pos, conn->rl.tls_version); in tls_write_server_hello()
569 if (conn->rl.tls_version >= TLS_VERSION_1_2) { in tls_write_server_key_exchange()
572 conn->rl.tls_version, TLS_HASH_ALG_SHA256, in tls_write_server_key_exchange()
621 conn->rl.tls_version, conn->client_random, in tls_write_server_key_exchange()
846 if (conn->rl.tls_version >= TLS_VERSION_1_2) { in tls_write_server_finished()
887 if (tls_prf(conn->rl.tls_version, in tls_write_server_finished()
1075 WPA_PUT_BE16(pos, conn->rl.tls_version ? conn->rl.tls_version : in tlsv1_server_send_alert()
Dtlsv1_server_read.c195 conn->rl.tls_version = TLS_VERSION_1; in tls_process_client_hello()
198 conn->rl.tls_version = TLS_VERSION_1_2; in tls_process_client_hello()
201 conn->rl.tls_version = TLS_VERSION_1_1; in tls_process_client_hello()
203 conn->rl.tls_version = conn->client_version; in tls_process_client_hello()
205 tls_version_str(conn->rl.tls_version)); in tls_process_client_hello()
959 if (conn->rl.tls_version == TLS_VERSION_1_2) { in tls_process_certificate_verify()
1030 if (tls_verify_signature(conn->rl.tls_version, conn->client_rsa_key, in tls_process_certificate_verify()
1193 if (conn->rl.tls_version >= TLS_VERSION_1_2) { in tls_process_client_finished()
1234 if (tls_prf(conn->rl.tls_version, in tls_process_client_finished()
Dtlsv1_common.c338 int tlsv12_key_x_server_params_hash(u16 tls_version, u8 hash_alg, in tlsv12_key_x_server_params_hash() argument
378 int tls_key_x_server_params_hash(u16 tls_version, const u8 *client_random, in tls_key_x_server_params_hash() argument
414 int tls_verify_signature(u16 tls_version, struct crypto_public_key *pk, in tls_verify_signature() argument
466 if (tls_version >= TLS_VERSION_1_2) { in tls_verify_signature()
Dtlsv1_record.c167 WPA_PUT_BE16(pos, rl->tls_version); in tlsv1_record_send()
176 rl->iv_size && rl->tls_version >= TLS_VERSION_1_1; in tlsv1_record_send()
378 if (rl->tls_version >= TLS_VERSION_1_1) { in tlsv1_record_receive()
Dtlsv1_record.h32 u16 tls_version; member
/third_party/mbedtls/include/mbedtls/
Dssl.h1193 mbedtls_ssl_protocol_version MBEDTLS_PRIVATE(tls_version);
1626 mbedtls_ssl_protocol_version MBEDTLS_PRIVATE(tls_version);
4094 mbedtls_ssl_protocol_version tls_version) in mbedtls_ssl_conf_max_tls_version() argument
4096 conf->MBEDTLS_PRIVATE(max_tls_version) = tls_version; in mbedtls_ssl_conf_max_tls_version()
4151 mbedtls_ssl_protocol_version tls_version) in mbedtls_ssl_conf_min_tls_version() argument
4153 conf->MBEDTLS_PRIVATE(min_tls_version) = tls_version; in mbedtls_ssl_conf_min_tls_version()
4516 return ssl->MBEDTLS_PRIVATE(tls_version); in mbedtls_ssl_get_version_number()
/third_party/node/deps/openssl/openssl/util/perl/TLSProxy/
DRecord.pm47 my %tls_version = (
84 print " Version: $tls_version{$version}\n";
/third_party/openssl/util/perl/TLSProxy/
DRecord.pm47 my %tls_version = (
84 print " Version: $tls_version{$version}\n";

12