Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/tls/
Dtlsv1_client_read.c36 u16 tls_version; in tls_process_server_hello() local
78 tls_version = WPA_GET_BE16(pos); in tls_process_server_hello()
79 if (!tls_version_ok(tls_version)) { in tls_process_server_hello()
89 tls_version_str(tls_version)); in tls_process_server_hello()
90 conn->rl.tls_version = tls_version; in tls_process_server_hello()
510 if (conn->rl.tls_version == TLS_VERSION_1_2) { in tlsv1_process_diffie_hellman()
533 conn->rl.tls_version, conn->client_random, in tlsv1_process_diffie_hellman()
541 conn->rl.tls_version, conn->client_random, in tlsv1_process_diffie_hellman()
551 if (tls_verify_signature(conn->rl.tls_version, in tlsv1_process_diffie_hellman()
912 if (conn->rl.tls_version >= TLS_VERSION_1_2) { in tls_process_server_finished()
[all …]
Dtlsv1_common.h260 int tlsv12_key_x_server_params_hash(u16 tls_version, const u8 *client_random,
264 int tls_key_x_server_params_hash(u16 tls_version, const u8 *client_random,
268 int tls_verify_signature(u16 tls_version, struct crypto_public_key *pk,
Dtlsv1_server_write.c85 WPA_PUT_BE16(pos, conn->rl.tls_version); in tls_write_server_hello()
443 if (conn->rl.tls_version >= TLS_VERSION_1_2) { in tls_write_server_key_exchange()
446 conn->rl.tls_version, conn->client_random, in tls_write_server_key_exchange()
494 conn->rl.tls_version, conn->client_random, in tls_write_server_key_exchange()
719 if (conn->rl.tls_version >= TLS_VERSION_1_2) { in tls_write_server_finished()
760 if (tls_prf(conn->rl.tls_version, in tls_write_server_finished()
922 WPA_PUT_BE16(pos, conn->rl.tls_version ? conn->rl.tls_version : in tlsv1_server_send_alert()
Dtlsv1_server_read.c114 conn->rl.tls_version = TLS_VERSION_1; in tls_process_client_hello()
117 conn->rl.tls_version = TLS_VERSION_1_2; in tls_process_client_hello()
120 conn->rl.tls_version = TLS_VERSION_1_1; in tls_process_client_hello()
122 conn->rl.tls_version = conn->client_version; in tls_process_client_hello()
124 tls_version_str(conn->rl.tls_version)); in tls_process_client_hello()
846 if (conn->rl.tls_version == TLS_VERSION_1_2) { in tls_process_certificate_verify()
922 if (tls_verify_signature(conn->rl.tls_version, conn->client_rsa_key, in tls_process_certificate_verify()
1085 if (conn->rl.tls_version >= TLS_VERSION_1_2) { in tls_process_client_finished()
1126 if (tls_prf(conn->rl.tls_version, in tls_process_client_finished()
Dtlsv1_client.c64 if (tls_prf(conn->rl.tls_version, in tls_derive_keys()
79 if (conn->rl.tls_version == TLS_VERSION_1) in tls_derive_keys()
81 if (tls_prf(conn->rl.tls_version, in tls_derive_keys()
107 if (conn->rl.tls_version == TLS_VERSION_1) { in tls_derive_keys()
476 conn->rl.tls_version = TLS_VERSION; in tlsv1_client_init()
540 return tls_prf(conn->rl.tls_version, in tlsv1_client_prf()
Dtlsv1_client_write.c475 if (conn->rl.tls_version == TLS_VERSION_1_2) { in tls_write_client_certificate_verify()
545 if (conn->rl.tls_version >= TLS_VERSION_1_2) { in tls_write_client_certificate_verify()
653 if (conn->rl.tls_version >= TLS_VERSION_1_2) { in tls_write_client_finished()
694 if (tls_prf(conn->rl.tls_version, in tls_write_client_finished()
848 WPA_PUT_BE16(pos, conn->rl.tls_version ? conn->rl.tls_version : in tlsv1_client_send_alert()
Dtlsv1_common.c338 int tlsv12_key_x_server_params_hash(u16 tls_version, in tlsv12_key_x_server_params_hash() argument
362 int tls_key_x_server_params_hash(u16 tls_version, const u8 *client_random, in tls_key_x_server_params_hash() argument
401 int tls_verify_signature(u16 tls_version, struct crypto_public_key *pk, in tls_verify_signature() argument
453 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()