e807336e7b
The TLS phase can be determined from flags alone, therefore m_phase member eliminated
2016-08-15 10:40:27 +02:00
95426cde7c
Clean-up
2016-08-15 10:09:01 +02:00
99aa53726d
- PPP authentication EAP response packet is correctly formed now
...
- MS-MPPE-Send-Key/MS-MPPE-Recv-Key sorted out
2016-08-14 21:04:19 +02:00
95e2f7e01b
Encryption/decryption revised
...
- Number of memory copying reduced
- HMAC verification of server packets added
- Handshake hashing simplified
2016-08-14 18:51:18 +02:00
940def31e6
Unused tls_conn_state member removed
2016-08-14 13:29:51 +02:00
47653492a2
Session key importing honours MSDN recommendation about exponent-one key usage
2016-08-14 12:44:49 +02:00
d1925a0704
method_tls::prf() simplified
2016-08-14 12:41:19 +02:00
ae37c9aa6c
TLS and TTLS distinction
2016-08-13 18:55:33 +02:00
eb918f3141
Processing of vendor specific TLS messages introduced
2016-08-13 18:48:02 +02:00
c749753c68
State constants renamed more systematically
2016-08-13 18:45:40 +02:00
9f92a73aa1
make_handshake() renamed to make_message() and made more general
2016-08-13 18:42:52 +02:00
6d54d45512
Pre-master secret encryption moved to make_client_key_exchange()
2016-08-13 18:39:22 +02:00
534f6f6d7d
tls_conn_state is class now
2016-08-13 08:09:47 +02:00
c7a41d891a
TLS work continues...
2016-08-12 21:09:50 +02:00
a8c306953a
TLS work continues...
2016-08-11 15:13:50 +02:00
77fe6b1bed
TLS connection state moved from eap::method_tls to eap::method_tls::conn_state to make reusable later
2016-08-11 12:00:38 +02:00
659629ed93
Clean-up
2016-08-11 09:44:01 +02:00
6b4f597f27
- Microsoft's HMAC had problems with secrets longer than 16B, therefore we implemented our own
...
- Key generation finished
- Additional memory sanitization
2016-08-10 16:10:40 +02:00
fb0fa0de31
HMAC fixed to start with the correct key now
2016-08-10 11:18:20 +02:00
e92f47677d
TLS implementation continues...
2016-08-09 18:37:12 +02:00
ba5bf1e533
HMAC cleanup
2016-08-09 06:39:33 +02:00
b71e30f642
EAP_ERROR replaced with C++ exceptions for increased code readability
2016-08-08 22:59:17 +02:00
788c8cdb16
TLS implementation continues...
2016-08-08 18:52:13 +02:00
ce9e636840
TLS start packet processing logic made more robust
2016-08-08 10:42:24 +02:00
8f4c177d49
eap namespace clean-up
2016-08-08 10:13:34 +02:00
d199cb68bb
Work continues...
...
- More event reporting added
- unsigned long and DWORD replaced with unsigned int for code readability and (possibly) portability
- Client hello message fixed
- SSL version reverted to TLS 1.0, will catch-up later if required
2016-08-07 12:15:45 +02:00
e649a86b1f
Error checking and size asserts added
2016-08-07 06:56:29 +02:00
a0efb6742d
EAP-TTLS work continues...
2016-08-06 16:27:15 +02:00
b39cc927d2
Session.h/cpp >> Method.h/cpp
2016-08-06 10:36:58 +02:00
faadb712fc
Sessions are actually methods now
2016-08-06 10:28:15 +02:00
97d0f75f8d
eap::method introduced
2016-08-06 09:52:29 +02:00
2aa4bce8cc
eap::config::m_module reference again
2016-08-06 07:01:12 +02:00
2711425677
Documentation update
2016-08-05 15:52:27 +02:00
437f5f91b8
eap::peer<> and eap::session<> redundant template argument removed
2016-08-05 13:45:18 +02:00
4fc029138c
config_method_with_cred is no longer a template
2016-08-05 11:51:59 +02:00
460adb9858
m_module is now a pointer instead of reference
2016-08-05 11:23:59 +02:00
a9ecde86d9
TLS specific package communication moved from TTLS to TLS session
2016-08-05 11:01:30 +02:00
f2aa43913d
EAP-TTLS session development continues...
2016-08-05 00:32:57 +02:00
a102b43a19
eap::type_t >> winstd::eap_type_t
2016-08-04 12:08:20 +02:00
6ae8029a47
config_method split into config_method and config_method_with_cred<>
2016-07-21 22:30:03 +02:00
ee8410bdb9
credentials::target_suffix() is public now, as it can be reused to provide GUI method identifier
2016-07-21 12:33:32 +02:00
627b20aabc
pack() => operator <<, unpack() => operator >>, get_pk_size() => pksizeof()
2016-07-21 09:20:09 +02:00
51428d290f
Memory overflow detection when packing/unpacking BLOB added
2016-07-20 19:29:21 +02:00
2f4425f38c
EAPSerial.h merged into EAP.h
2016-07-20 18:17:25 +02:00
180d9b265c
eap::config_method is no longer a template class
2016-07-20 15:21:58 +02:00
ce0bbc5b45
config_method::m_preshared moved to heap, which in turn required shift to virtual methods for packing/unpacking BLOBs
2016-07-20 14:59:12 +02:00
434e042f8b
Class naming update
2016-07-20 10:37:12 +02:00
a92cafea36
eap::credentials::get_name() method introduced to allow more detailed display of certificate names
2016-07-20 10:05:36 +02:00
4f6943044f
eap::credentials::m_identity replaced with virtual method get_identity()
2016-07-20 09:54:26 +02:00
4630b32f77
target_suffix() method is private now
2016-07-19 13:39:41 +02:00