aboutsummaryrefslogtreecommitdiffstats
path: root/src/libtls/tls_protection.c
Commit message (Collapse)AuthorAgeFilesLines
* Use standard unsigned integer typesAndreas Steffen2016-03-241-2/+2
|
* libtls: Check for CHANGE_CIPHER_SPEC type only if upper layer returns NEED_MOREMartin Willi2015-01-121-6/+5
| | | | | | | A type is returned only if upper layers successfully created a record, that is returns NEED_MORE. If we do not check for the return value, we might check a previous record or the uninitialized type variable and falsely reset the sequence number.
* tls: Separate TLS protection to abstracted AEAD modesMartin Willi2014-03-311-196/+18
| | | | | | 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.
* Moved debug.[ch] to utils folderTobias Brunner2012-10-241-1/+1
|
* Add a return value to crypter_t.decrypt()Martin Willi2012-07-161-1/+6
|
* Add a return value to crypter_t.encryptMartin Willi2012-07-161-1/+10
|
* Check rng return value when generating secrets and IVs in libtlsTobias Brunner2012-07-161-4/+4
|
* Add a return value to signer_t.get_signature()Martin Willi2012-07-161-8/+9
|
* Add a return value to signer_t.allocate_signature()Martin Willi2012-07-161-1/+5
|
* Don't allocate extra memory to MAC the TLS headerMartin Willi2011-09-281-22/+23
|
* Verify TLS MAC even if padding is invalid to prevent timing attacksMartin Willi2011-09-281-6/+4
|
* Fixed common misspellings.Tobias Brunner2011-07-201-1/+1
| | | | Mostly found by 'codespell'.
* Accept TLS records with zero-length plaintextMartin Willi2010-09-061-1/+1
|
* Implemented TLS Alert handlingMartin Willi2010-08-231-14/+34
|
* Introducing a dedicated debug message group for libtlsMartin Willi2010-08-231-6/+6
|
* Use IV length of a crypter instead of block size for IV calculationsMartin Willi2010-08-131-10/+12
|
* fixed sequence numbering and iv of TLS protection layerAndreas Steffen2010-08-121-3/+3
|
* Moved TLS stack to its own libraryMartin Willi2010-08-031-0/+311