Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/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()
104 WPA_PUT_BE16(pos, tls_version); in tls_send_client_hello()
129 if (conn->rl.tls_version >= TLS_VERSION_1_2) { in tls_send_client_hello()
618 if (conn->rl.tls_version == TLS_VERSION_1_2) { in tls_write_client_certificate_verify()
[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_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()
733 if (conn->rl.tls_version == TLS_VERSION_1_2) { in tlsv1_process_diffie_hellman()
757 conn->rl.tls_version, pos[0], in tlsv1_process_diffie_hellman()
767 conn->rl.tls_version, conn->client_random, in tlsv1_process_diffie_hellman()
777 if (tls_verify_signature(conn->rl.tls_version, in tlsv1_process_diffie_hellman()
[all …]
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()
541 return tls_prf(conn->rl.tls_version, in tlsv1_client_prf()
854 switch (conn->rl.tls_version) { in tlsv1_client_get_version()
Dtlsv1_server_write.c85 WPA_PUT_BE16(pos, conn->rl.tls_version); in tls_write_server_hello()
566 if (conn->rl.tls_version >= TLS_VERSION_1_2) { in tls_write_server_key_exchange()
569 conn->rl.tls_version, TLS_HASH_ALG_SHA256, in tls_write_server_key_exchange()
618 conn->rl.tls_version, conn->client_random, in tls_write_server_key_exchange()
843 if (conn->rl.tls_version >= TLS_VERSION_1_2) { in tls_write_server_finished()
884 if (tls_prf(conn->rl.tls_version, in tls_write_server_finished()
1072 WPA_PUT_BE16(pos, conn->rl.tls_version ? conn->rl.tls_version : in tlsv1_server_send_alert()
Dtlsv1_server_read.c186 conn->rl.tls_version = TLS_VERSION_1; in tls_process_client_hello()
189 conn->rl.tls_version = TLS_VERSION_1_2; in tls_process_client_hello()
192 conn->rl.tls_version = TLS_VERSION_1_1; in tls_process_client_hello()
194 conn->rl.tls_version = conn->client_version; in tls_process_client_hello()
196 tls_version_str(conn->rl.tls_version)); in tls_process_client_hello()
931 if (conn->rl.tls_version == TLS_VERSION_1_2) { in tls_process_certificate_verify()
1002 if (tls_verify_signature(conn->rl.tls_version, conn->client_rsa_key, in tls_process_certificate_verify()
1165 if (conn->rl.tls_version >= TLS_VERSION_1_2) { in tls_process_client_finished()
1206 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
Dtlsv1_server.c71 if (tls_prf(conn->rl.tls_version, in tlsv1_server_derive_keys()
87 if (tls_prf(conn->rl.tls_version, in tlsv1_server_derive_keys()
486 return tls_prf(conn->rl.tls_version, in tlsv1_server_prf()
/external/boringssl/src/ssl/
Dssl_lib.c2503 uint16_t tls_version = ~wire_version; in ssl3_version_from_wire() local
2504 uint16_t version = tls_version + 0x0201; in ssl3_version_from_wire()
2506 if ((version >> 8) < (tls_version >> 8)) { in ssl3_version_from_wire()
2509 if ((version & 0xff) < (tls_version & 0xff)) { in ssl3_version_from_wire()