Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | libtls: Link against ws_w32 on Windows | Martin Willi | 2014-06-04 | 1 | -0/+4 |
| | |||||
* | unit-tests: Make sure plugins in the builddir are loaded | Tobias Brunner | 2014-05-19 | 1 | -1/+1 |
| | | | | | | When running the tests in GDB the working directory apparently is different. With the relative path used previously the plugins would not be found and those installed on the system would get used. | ||||
* | enum: Return boolean result for enum_from_name() lookup | Martin Willi | 2014-05-16 | 1 | -2/+2 |
| | | | | | | | | | | | Handling the result for enum_from_name() is difficult, as checking for negative return values requires a cast if the enum type is unsigned. The new signature clearly differentiates lookup result from lookup value. Further, this actually allows to convert real -1 enum values, which could not be distinguished from "not-found" and the -1 return value. This also fixes several clang warnings where enums are unsigned. | ||||
* | tls: Move variable sized tls_record_t struct to end of tls_t data | Martin Willi | 2014-05-16 | 1 | -4/+4 |
| | | | | clang complains about the the non-last variable length member. | ||||
* | Implemented PT-EAP protocol (RFC 7171) | Andreas Steffen | 2014-05-12 | 2 | -47/+70 |
| | |||||
* | tls: Add a test case to check correct enum name mapping of cipher suites | Martin Willi | 2014-04-01 | 3 | -0/+250 |
| | |||||
* | tls: Add socket based tests testing all supported suites with TLS 1.2/1.1/1.0 | Martin Willi | 2014-04-01 | 3 | -0/+527 |
| | |||||
* | tls: Remove superfluous initializers in TLS AEAD implementations | Martin Willi | 2014-04-01 | 4 | -4/+0 |
| | |||||
* | tls: Support a maximum TLS version to negotiate using TLS socket abstraction | Martin Willi | 2014-04-01 | 2 | -2/+4 |
| | |||||
* | tls: Support a null encryption flag on TLS socket abstraction | Martin Willi | 2014-04-01 | 2 | -3/+16 |
| | |||||
* | tls: Introduce a generic TLS purpose that accepts NULL encryption ciphers | Martin Willi | 2014-04-01 | 3 | -0/+6 |
| | |||||
* | tls: Export a function to list supported TLS cipher suites | Martin Willi | 2014-04-01 | 2 | -18/+66 |
| | |||||
* | tls: Create a unit-test runner | Martin Willi | 2014-04-01 | 5 | -0/+93 |
| | |||||
* | tls: Fix some TLS cipher suite enum names | Martin Willi | 2014-03-31 | 1 | -3/+3 |
| | | | | | It is important to have them mapped correctly, as we use these official TLS identifiers to configure specific TLS suites. | ||||
* | tls: Include TLS version announced in Client Hello in encrypted premaster | Martin Willi | 2014-03-31 | 1 | -1/+7 |
| | | | | | | While a hardcoded 1.2 version is fine when we offer that in Client Hello, we should include the actually offered version if it has been reduced before starting the exchange. | ||||
* | tls: Check for minimal TLS record length before each record iteration | Martin Willi | 2014-03-31 | 1 | -8/+8 |
| | | | | | | Fixes fragment reassembling if a buffer contains more than one record, but the last record contains a partial TLS record header. Thanks to Nick Saunders and Jamil Nimeh for identifying this issue and providing a fix for it. | ||||
* | tls: Fix AEAD algorithm filtering, avoid filtering all suites if no AEAD found | Martin Willi | 2014-03-31 | 1 | -19/+52 |
| | |||||
* | tls: Offer TLS signature schemes in ClientHello in order of preference | Martin Willi | 2014-03-31 | 1 | -90/+59 |
| | | | | | Additionally, we now query plugin features to find out what schemes we exactly support. | ||||
* | tls: Define AES-GCM cipher suites from RFC 5288/5289 | Martin Willi | 2014-03-31 | 1 | -0/+54 |
| | |||||
* | tls: Implement the TLS AEAD abstraction for real AEAD modes | Martin Willi | 2014-03-31 | 4 | -8/+262 |
| | |||||
* | tls: Separate TLS protection to abstracted AEAD modes | Martin Willi | 2014-03-31 | 8 | -325/+874 |
| | | | | | | To better separate the code path for different TLS versions and modes of operation, we introduce a TLS AEAD abstraction. We provide three implementations using traditional transforms, and get prepared for TLS AEAD modes. | ||||
* | libtls: Move settings to <ns>.tls with fallback to libtls | Tobias Brunner | 2014-02-12 | 2 | -4/+9 |
| | |||||
* | Build all shared libraries with -no-undefined and link them properly | Tobias Brunner | 2013-09-12 | 1 | -0/+6 |
| | | | | | | | | | | The flag is required to convince libtool on Cygwin to build DLLs. But on Windows these shared libraries can not have undefined symbols, so we have to link them explicitly to the libraries they reference. For plugins this is currently not done, so only the monolithic build is supported. The plugin loader wouldn't be able to load DLLs anyway, as it tries to load files that don't exist on Cygwin. | ||||
* | Optimize TLS socket buffer for TLS_MAX_FRAGMENT_LEN | Andreas Steffen | 2013-08-19 | 1 | -2/+2 |
| | |||||
* | Extract client identity and authentication type from SASL authentication | Andreas Steffen | 2013-08-15 | 1 | -0/+7 |
| | |||||
* | automake: replace INCLUDES by AM_CPPFLAGS | Martin Willi | 2013-07-18 | 1 | -2/+2 |
| | | | | | | INCLUDES are now deprecated and throw warnings when using automake 1.13. We now also differentiate AM_CPPFLAGS and AM_CFLAGS, where includes and defines are passed to AM_CPPFLAGS only. | ||||
* | fixed typo | Andreas Steffen | 2013-03-27 | 1 | -1/+1 |
| | |||||
* | Use proper integer types when handling TLS exchanges | Tobias Brunner | 2013-03-22 | 1 | -5/+6 |
| | | | | tls_t.build takes a size_t argument not a ssize_t. | ||||
* | If TLS peer authentication not required, the client does nonetheless, allow ↵ | Martin Willi | 2013-03-06 | 1 | -4/+19 |
| | | | | it to fail | ||||
* | Request a TLS client certificate even if no peer identity is given | Martin Willi | 2013-02-28 | 1 | -5/+1 |
| | | | | | This allows a peer to perform client authentication if it wants, but skip it if not. | ||||
* | Wrap tls_t.get_{server,peer}_id methods in tls_socket_t | Martin Willi | 2013-02-28 | 2 | -0/+28 |
| | |||||
* | Delegate tls_t.get_{peer,server}_id to handshake layer | Martin Willi | 2013-02-28 | 7 | -29/+78 |
| | | | | | This allows to get updated peer identities if the peer can't authenticate, or does when it is optional. | ||||
* | Merge branch 'pt-tls' | Martin Willi | 2013-02-14 | 3 | -84/+202 |
|\ | |||||
| * | Send TLS close notify during tls_socket_t destruction | Martin Willi | 2013-01-15 | 1 | -2/+25 |
| | | |||||
| * | Send TLS close notify if application returns SUCCESS | Martin Willi | 2013-01-15 | 1 | -2/+6 |
| | | |||||
| * | Block TLS read when sending data, but have to wait for the handshake data first | Martin Willi | 2013-01-15 | 1 | -4/+11 |
| | | |||||
| * | Use a more POSIXy tls_socket interface with more flexibility. | Martin Willi | 2013-01-15 | 2 | -81/+165 |
| | | | | | | | | | | If an unsufficient read buffer is provided, application data gets cached for subsequent read() calls. | ||||
* | | make AR identities available to IMVs via IF-IMV 1.4 draft | Andreas Steffen | 2013-02-11 | 2 | -0/+28 |
|/ | |||||
* | Fixed encoding of TLS extensions (elliptic_curves and signature_algorithms) | Tobias Brunner | 2012-11-28 | 2 | -0/+2 |
| | |||||
* | Moved debug.[ch] to utils folder | Tobias Brunner | 2012-10-24 | 10 | -10/+10 |
| | |||||
* | Moved data structures to new collections subfolder | Tobias Brunner | 2012-10-24 | 2 | -3/+3 |
| | |||||
* | Added missing break when building TLS cipher suites | Tobias Brunner | 2012-09-28 | 1 | -0/+1 |
| | |||||
* | Don't allow NULL encryption with PEAP | Martin Willi | 2012-09-12 | 1 | -1/+3 |
| | |||||
* | Use memmove on overlapping regions, and operate with correct sizeof() | Martin Willi | 2012-09-12 | 1 | -2/+2 |
| | |||||
* | Whitespace cleanups in tls_eap | Martin Willi | 2012-09-12 | 1 | -6/+6 |
| | |||||
* | Check if TLS handshake received Finished before processing application data | Martin Willi | 2012-08-09 | 1 | -0/+6 |
| | |||||
* | Fix tls_prf bug introduced with bc474883 | Martin Willi | 2012-07-17 | 1 | -4/+7 |
| | |||||
* | Add a return value to hasher_t.allocate_hash() | Martin Willi | 2012-07-16 | 1 | -2/+2 |
| | |||||
* | Add a return value to hasher_t.get_hash() | Martin Willi | 2012-07-16 | 1 | -4/+4 |
| | |||||
* | Add a return value to crypter_t.set_key() | Martin Willi | 2012-07-16 | 1 | -4/+10 |
| |