Andrew Zaborowski
84cae48c1b
eap-tls: Make use of l_cert_load_container_file
...
Switch EAP-TLS-ClientCert and EAP-TLS-ClientKey to use
l_cert_load_container_file for file loading so that the file format is
autodetected. Add new setting EAP-TLS-ClientKeyBundle for loading both
the client certificate and private key from one file.
2021-01-25 14:01:58 -06:00
Andrew Zaborowski
b0aa1e4e88
eap-tls: Drop EAP-{TTLS,PEAP}-Client{Cert,Key}
...
As requested move the client certificate and private key loading from
eap-tls-common.c to eap-tls.c. No man page change needed because those
two settings weren't documented in it in the first place.
2021-01-25 14:01:58 -06:00
Marcel Holtmann
152b56a12a
treewide: Move the Intel copyright forward to 2019
2019-10-25 00:43:08 +02:00
Tim Kourt
fb656ff87a
eap-tls-common: Make databuf private
2018-12-11 17:09:51 -06:00
Denis Kenzior
94b7a69146
eap-tls-common: Fix typo
2018-12-05 11:55:00 -06:00
Tim Kourt
f07119b33a
eap-tls-common: Add tunnel API for send, close
2018-12-04 10:25:24 -06:00
Tim Kourt
6490ecd615
eap-tls-common: Add accessors for variant data and ver
2018-12-04 10:23:49 -06:00
Tim Kourt
663cf9931e
eap-tls-common: Expose PRF
2018-12-04 10:22:00 -06:00
Tim Kourt
8dc9276800
eap-tls-common: Make send empty response func. public
2018-12-04 10:21:28 -06:00
Tim Kourt
779f668ab9
eap-tls-common: Introduce variant data and reset API
2018-12-04 10:19:55 -06:00
Tim Kourt
bb98101bd4
eap-tls-common: Handle response retransmission
2018-12-04 10:19:20 -06:00
Tim Kourt
9df7785fee
eap-tls-common: Add phase 2 failure flag
...
This flag is used by the extensions to signal the failure
during phase 2 execution.
2018-12-04 10:18:53 -06:00
Tim Kourt
c2d3a84e3a
eap-tls-common: Add method completion flag
...
This flag prevents methods from restarting
2018-12-04 10:16:36 -06:00
Tim Kourt
36e2252606
eap-tls-common: Add basic request handling
...
This also introduces the version negotiation
2018-12-03 14:31:16 -06:00
Tim Kourt
7aa35bf6c7
eap-tls-common: Introduce eap_tls_variant_ops
...
eap_tls_variant_ops will allow methods such as TTLS, PEAP,
etc. to specify their own handlers for the Phase 2 operations.
2018-12-03 14:31:16 -06:00
Tim Kourt
87c411f816
eap-tls-common: Introduce a common tls state and load settings
2018-11-19 17:10:53 -06:00
Tim Kourt
514d442db1
eap-tls-common: Add check for phase one settings
2018-11-19 17:10:53 -06:00
Tim Kourt
410ee2f6b9
eap-tls-common: introduce utility functions for eap-tls
2018-09-21 12:15:25 -05:00