Hanno Becker
b3268dac00
Add encryption/decryption tests for small records
...
This commit adds tests to check the behavior of the record encryption
routine `ssl_encrypt_buf` when the buffer surrounding the plaintext is
too small to hold the expansion in the beginning and end (due to IV's,
padding, and MAC).
Each test starts successively increases the space available at the
beginning, end, or both, of the record buffer, and checks that the
record encryption either fails with a BUFFER_TOO_SMALL error, or
that it succeeds. Moreover, if it succeeds, it is checked that
decryption succeeds, too, and results in the original record.
2019-04-25 12:58:21 +01:00
..
2019-02-15 10:13:35 -05:00
2019-01-31 08:20:20 -05:00
2019-02-13 07:34:54 -05:00
2018-08-06 11:42:56 +01:00
2013-04-08 18:09:51 +02:00
2015-04-08 13:25:31 +02:00
2013-04-08 18:09:51 +02:00
2019-01-31 08:20:20 -05:00
2018-06-11 14:03:22 +01:00
2019-01-31 08:20:20 -05:00
2018-06-13 12:13:58 +01:00
2015-04-08 13:25:31 +02:00
2018-08-06 11:42:06 +01:00
2019-01-31 08:20:20 -05:00
2019-01-31 08:20:20 -05:00
2019-02-28 09:36:30 +00:00
2019-02-28 09:36:30 +00:00
2015-09-30 16:31:10 +02:00
2018-08-06 11:42:06 +01:00
2019-01-31 08:20:20 -05:00
2019-01-31 08:20:20 -05:00
2019-01-31 08:20:20 -05:00
2019-01-31 08:20:20 -05:00
2019-01-31 08:20:20 -05:00
2019-01-31 08:20:20 -05:00
2018-05-24 13:37:31 +02:00
2019-01-31 08:20:20 -05:00
2018-05-24 13:37:31 +02:00
2019-01-31 08:20:20 -05:00
2018-11-22 14:03:39 +00:00
2018-03-27 19:25:35 -07:00
2018-03-27 19:25:35 -07:00
2018-03-27 19:25:35 -07:00
2018-11-22 14:03:39 +00:00
2018-05-24 13:37:31 +02:00
2018-11-22 14:03:39 +00:00
2018-03-27 19:25:35 -07:00
2019-04-16 16:06:34 +02:00
2018-11-22 14:03:39 +00:00
2019-01-31 08:20:20 -05:00
2019-04-02 10:02:55 -07:00
2018-03-27 19:25:35 -07:00
2019-01-31 08:20:20 -05:00
2016-10-13 13:53:13 +01:00
2018-08-06 11:42:06 +01:00
2018-08-29 23:38:57 +03:00
2019-02-01 02:53:16 -05:00
2017-09-04 14:17:10 +02:00
2018-08-06 11:42:06 +01:00
2015-04-08 13:25:31 +02:00
2018-08-06 11:42:06 +01:00
2019-01-31 08:20:20 -05:00
2019-01-31 08:20:20 -05:00
2019-02-22 15:42:03 +00:00
2019-02-22 15:39:03 +00:00
2019-01-31 08:20:20 -05:00
2019-01-31 08:20:20 -05:00
2019-01-31 08:20:20 -05:00
2019-01-31 08:20:20 -05:00
2019-02-27 14:47:10 +00:00
2019-03-27 17:01:24 +00:00
2017-07-24 15:31:30 +01:00
2018-08-15 13:55:37 +01:00
2015-04-08 13:25:31 +02:00
2018-08-06 11:40:57 +01:00
2018-08-06 11:40:57 +01:00
2017-07-27 21:44:33 +01:00
2018-08-06 11:40:57 +01:00
2017-07-27 21:44:33 +01:00
2018-08-06 11:40:57 +01:00
2017-07-27 21:44:33 +01:00
2018-08-06 11:40:57 +01:00
2019-01-31 08:20:20 -05:00
2019-01-31 08:20:20 -05:00
2018-06-11 13:10:14 +01:00
2019-01-28 15:18:15 +02:00
2018-08-06 11:42:06 +01:00
2015-04-08 13:25:31 +02:00
2015-04-08 13:25:31 +02:00
2015-04-08 13:25:31 +02:00
2015-04-08 13:25:31 +02:00
2017-10-06 11:58:50 +01:00
2018-08-06 11:42:06 +01:00
2017-10-06 11:58:50 +01:00
2018-08-06 11:42:06 +01:00
2018-01-23 19:37:44 +00:00
2018-08-06 11:40:57 +01:00
2019-04-05 14:08:49 +01:00
2019-04-05 14:08:49 +01:00
2018-08-13 14:46:45 +03:00
2019-01-24 10:37:40 +01:00
2019-04-16 13:26:54 +03:00
2019-04-16 13:26:54 +03:00
2017-05-30 16:54:23 +01:00
2018-08-06 11:42:06 +01:00
2019-01-31 08:20:20 -05:00
2019-02-13 07:34:54 -05:00
2019-02-19 18:33:57 +01:00
2019-02-19 18:33:57 +01:00
2019-02-19 18:33:57 +01:00
2019-02-19 18:33:57 +01:00
2018-02-08 17:18:19 +08:00
2018-08-06 11:42:06 +01:00
2018-07-27 17:15:39 +01:00
2018-08-06 11:42:06 +01:00
2015-04-08 13:25:31 +02:00
2019-01-31 08:20:20 -05:00
2018-05-24 13:37:31 +02:00
2019-01-31 08:20:20 -05:00
2019-01-31 08:20:20 -05:00
2019-01-31 08:20:20 -05:00
2019-01-31 08:20:20 -05:00
2019-01-31 08:20:20 -05:00
2019-04-25 12:58:21 +01:00
2019-04-25 12:58:21 +01:00
2019-01-29 10:19:49 +01:00
2019-02-05 09:22:20 +01:00
2019-03-19 16:12:55 +00:00
2018-08-06 11:40:57 +01:00
2019-03-28 16:13:44 +00:00
2019-04-05 16:45:01 +01:00
2019-02-28 09:38:03 +00:00
2019-02-28 09:36:30 +00:00
2015-04-08 13:25:31 +02:00
2018-08-06 11:42:06 +01:00