hostap/src/tls
Jouni Malinen 390b92913a TLS testing: Allow hostapd to be used as a TLS testing tool
The internal TLS server implementation and RADIUS server implementation
in hostapd can be configured to allow EAP clients to be tested to
perform TLS validation steps correctly. This functionality is not
included in the default build; CONFIG_TESTING_OPTIONS=y in
hostapd/.config can be used to enable this.

When enabled, the RADIUS server will configure special TLS test modes
based on the received User-Name attribute value in this format:
<user>@test-tls-<id>.<rest-of-realm>. For example,
anonymous@test-tls-1.example.com. When this special format is used, TLS
test modes are enabled. For other cases, the RADIUS server works
normally.

The following TLS test cases are enabled in this commit:
1 - break verify_data in the server Finished message
2 - break signed_params hash in ServerKeyExchange
3 - break Signature in ServerKeyExchange

Correctly behaving TLS client must abort connection if any of these
failures is detected and as such, shall not transmit continue the
session.

Signed-off-by: Jouni Malinen <j@w1.fi>
2014-03-09 18:47:09 +02:00
..
.gitignore Add rules for building src/tls/libtls.a and use it with eap_example 2009-12-06 16:27:54 +02:00
asn1.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
asn1.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
bignum.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
bignum.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
libtommath.c libtommath: Avoid a compiler warning on unused variable 2013-03-16 12:03:37 +02:00
Makefile Include TLS v1.1 and v1.2 support in library build 2011-11-27 22:08:29 +02:00
pkcs1.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
pkcs1.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
pkcs5.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
pkcs5.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
pkcs8.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
pkcs8.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
rsa.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
rsa.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
tlsv1_client.c TLS: Add support for DHE-RSA cipher suites 2014-03-09 15:43:50 +02:00
tlsv1_client.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
tlsv1_client_i.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
tlsv1_client_read.c TLS client: Send decrypt_error on verify_data validation error 2014-03-09 18:21:13 +02:00
tlsv1_client_write.c TLS: Add support for DHE-RSA cipher suites 2014-03-09 15:43:50 +02:00
tlsv1_common.c TLS: Share a helper function for verifying Signature 2014-03-09 17:11:58 +02:00
tlsv1_common.h TLS: Share a helper function for verifying Signature 2014-03-09 17:11:58 +02:00
tlsv1_cred.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
tlsv1_cred.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
tlsv1_record.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
tlsv1_record.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
tlsv1_server.c TLS testing: Allow hostapd to be used as a TLS testing tool 2014-03-09 18:47:09 +02:00
tlsv1_server.h TLS testing: Allow hostapd to be used as a TLS testing tool 2014-03-09 18:47:09 +02:00
tlsv1_server_i.h TLS testing: Allow hostapd to be used as a TLS testing tool 2014-03-09 18:47:09 +02:00
tlsv1_server_read.c TLS testing: Allow hostapd to be used as a TLS testing tool 2014-03-09 18:47:09 +02:00
tlsv1_server_write.c TLS testing: Allow hostapd to be used as a TLS testing tool 2014-03-09 18:47:09 +02:00
x509v3.c Add dup_binstr() to help common binary string tasks 2013-04-27 23:44:59 +03:00
x509v3.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00