summaryrefslogtreecommitdiff
path: root/lib/gnutls_record.c
Commit message (Collapse)AuthorAgeFilesLines
* Removed the 'gnutls_' prefix from files to simplify file namingNikos Mavrogiannopoulos2015-08-231-1752/+0
|
* document the need for gnutls_transport_set_pull_timeout_functionNikos Mavrogiannopoulos2015-04-301-0/+3
|
* GNUTLS_NONBLOCK can be used for non-DTLS sessions as wellNikos Mavrogiannopoulos2015-04-301-2/+2
|
* doc updateNikos Mavrogiannopoulos2015-04-081-1/+1
|
* gnutls_record_discard_queued() is both for TLS and DTLSNikos Mavrogiannopoulos2015-04-081-1/+1
|
* gnutls_record_set_max_empty_records: removedNikos Mavrogiannopoulos2015-03-281-22/+1
|
* doc: avoid using structure for opaque typesNikos Mavrogiannopoulos2015-03-201-20/+20
|
* fixed sequence number copyNikos Mavrogiannopoulos2015-02-201-1/+1
|
* Revert "Added gnutls_record_is_async()"Nikos Mavrogiannopoulos2015-01-281-29/+0
| | | | This reverts commit 2232822aabe473d124f924d64ff52981d685fd41.
* Added gnutls_record_is_async()Nikos Mavrogiannopoulos2015-01-271-0/+29
| | | | | | That function indicates whether gnutls_record_recv() and gnutls_record_send() can be used independently and in parallel.
* corrected documentation for the cork/uncork functionsNikos Mavrogiannopoulos2014-12-191-4/+4
| | | | Reported by Jaak Ristioja.
* doc updateNikos Mavrogiannopoulos2014-12-191-2/+2
|
* corrected documentation of gnutls_cork()Nikos Mavrogiannopoulos2014-12-191-3/+2
|
* treat GNUTLS_E_GOT_APPLICATION_DATA as non-fatal if initial negotiation is ↵Nikos Mavrogiannopoulos2014-11-211-1/+1
| | | | | | | complete This corrects a regression introduced in b5a0de2e6da98866cafb770c3141b7353d030ab2 Reported by Dan Winship. https://savannah.gnu.org/support/?108690
* Added gnutls_record_discard_queued()Nikos Mavrogiannopoulos2014-10-071-1/+20
| | | | That function allows to discard queued data in DTLS.
* restrict the number of non-fatal errors gnutls_handshake() can returnNikos Mavrogiannopoulos2014-09-251-6/+0
|
* record: tolerate a finished packet with errors in DTLSNikos Mavrogiannopoulos2014-08-231-0/+1
|
* record: in DTLS discard only messages that cause unexpected packet errorsNikos Mavrogiannopoulos2014-08-231-1/+5
|
* gnutls_packet_get() was introduced to avoid exporting a structure on the API.Nikos Mavrogiannopoulos2014-06-161-6/+41
| | | | That change will allow exporting more info associated with a packet in the future.
* Added gnutls_record_recv_packet() and gnutls_packet_deinit()Nikos Mavrogiannopoulos2014-06-061-16/+97
| | | | | These functions allow for a faster variant of gnutls_record_recv(), i.e., a variant that eliminates the data memcpy().
* Small cleanups in packet receive as well as a memory leak error.Nikos Mavrogiannopoulos2014-05-081-23/+10
| | | | The memory leak was uncovered by the Codenomicon TLS suite.
* several bug fixes due to coverity.Nikos Mavrogiannopoulos2014-04-151-1/+1
|
* doc updateNikos Mavrogiannopoulos2014-03-311-2/+2
|
* cleaned up documentation of gnutls_record_send()Nikos Mavrogiannopoulos2014-03-311-10/+10
|
* make gnutls_record_uncork() more DTLS friendly.Nikos Mavrogiannopoulos2014-03-281-1/+14
|
* removed unneeded warning; all systems we support set this function.Nikos Mavrogiannopoulos2014-01-161-5/+0
|
* Align on 16-byte boundaries the buffers provided to cryptodev.Nikos Mavrogiannopoulos2013-12-151-7/+13
| | | | | | | When gnutls is compiled with support for cryptodev, the buffers provided to crypto backend are ensured to be 16-byte aligned (except the ones provided by the user). That increases performance in several crypto accelerators.
* simplified _mbuffer_allocNikos Mavrogiannopoulos2013-12-151-2/+3
|
* Added gnutls_record_check_corked.Nikos Mavrogiannopoulos2013-12-121-0/+5
|
* Corrected bug which affected compressed records.Nikos Mavrogiannopoulos2013-11-221-3/+5
| | | | | | | | | Less space was provided for decryption than the required causing disconnection issues when compression was used. The issue was pointed by Frank Zschockelt. Also replaced the macros MAX_RECORD_RECV_SIZE and MAX_RECV_SIZE with max_decrypted_size() and max_record_recv_size().
* reindented codeNikos Mavrogiannopoulos2013-11-081-1085/+1106
|
* debug_log -> record_logNikos Mavrogiannopoulos2013-10-311-1/+1
|
* Duplicate messages moved from audit log to debug log. There are networks ↵Nikos Mavrogiannopoulos2013-10-301-1/+1
| | | | where this is extremely common.
* _gnutls_send_tlen_int() accepts the actual pad rather than the intended ↵Nikos Mavrogiannopoulos2013-09-011-8/+10
| | | | data. Corrections in sending records with %NEW_PADDING.
* documented parametersNikos Mavrogiannopoulos2013-08-011-0/+8
|
* allow empty fragments with padding.Nikos Mavrogiannopoulos2013-07-291-1/+1
|
* simplified decrypted data allocation.Nikos Mavrogiannopoulos2013-07-261-2/+1
|
* small optimizations.Nikos Mavrogiannopoulos2013-07-261-13/+1
|
* When in compatibility mode allow for larger record sizes than the maximum.Nikos Mavrogiannopoulos2013-07-261-2/+2
|
* documented dtls behavior.Nikos Mavrogiannopoulos2013-06-191-2/+6
|
* DTLS replay protection can now be disabled.Nikos Mavrogiannopoulos2013-06-101-1/+1
|
* simplified code by passing an mbuffer.Nikos Mavrogiannopoulos2013-05-251-21/+22
|
* optimized access to TLS protocol version properties.Nikos Mavrogiannopoulos2013-05-251-8/+11
|
* fixes in record version checkingNikos Mavrogiannopoulos2013-05-211-10/+21
|
* Improved record version checksNikos Mavrogiannopoulos2013-05-201-14/+42
|
* more detailed errorNikos Mavrogiannopoulos2013-05-191-1/+2
|
* Allow record layer packets with version less than the negotiated.Nikos Mavrogiannopoulos2013-05-191-1/+1
| | | | Allowing such records avoids issue in DTLS client hello request verification.
* If gnutls_record_send fails with GNUTLS_E_AGAIN or GNUTLS_E_INTERRUPTED, the ↵Tim Kosse2013-05-111-3/+3
| | | | | | | | documentation allows passing null for the data and size on retry. Commit 2ec84d6 broke this usage of gnutls_record_send. This patch fixes the problem. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* convert gnutls versions to TLS major-minor in a single function.Nikos Mavrogiannopoulos2013-03-271-2/+1
|
* small optimizations in session storageNikos Mavrogiannopoulos2013-02-271-0/+3
|