openssl/ssl/record
Matt Caswell 8ccde3fc78 Fix read pipelining
During read pipelining we must ensure that the buffer is sufficiently large
to read enough data to fill our pipelines. We also remove some code that
moved data to the start of the packet if we can. This was unnecessary
because of later code which would end up moving it anyway. The earlier move
was also incorrect in the case that |clearold| was 0. This would cause the
read pipelining code to fail with sufficiently large records.

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Todd Short <todd.short@me.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19456)
2022-11-02 11:11:40 +01:00
..
methods Fix read pipelining 2022-11-02 11:11:40 +01:00
build.info Remove some redundant code 2022-10-20 14:39:33 +01:00
rec_layer_d1.c Remove some redundant code 2022-10-20 14:39:33 +01:00
rec_layer_s3.c Make SSL_alloc_buffers() and SSL_free_buffers() work again 2022-10-27 10:52:52 +01:00
record_local.h Remove some redundant code 2022-10-20 14:39:33 +01:00
record.h Make SSL_alloc_buffers() and SSL_free_buffers() work again 2022-10-27 10:52:52 +01:00
recordmethod.h Remove some unused OSSL_RECORD_METHOD functions 2022-10-27 10:52:52 +01:00
ssl3_record.c Remove some redundant code 2022-10-20 14:39:33 +01:00
tls_pad.c Fix leakage when the cacheline is 32-bytes in CBC_MAC_ROTATE_IN_PLACE 2022-05-09 16:40:21 +02:00