Hanno Becker
13996927cb
Introduce configuration option for TLS 1.3 padding granularity
...
TLS 1.3 record protection allows the addition of an arbitrary amount
of padding.
This commit introduces a configuration option
```
MBEDTLS_SSL_TLS13_PADDING_GRANULARITY
```
The semantics of this option is that padding is chosen in a minimal
way so that the padded plaintext has a length which is a multiple of
MBEDTLS_SSL_TLS13_PADDING_GRANULARITY.
For example, setting MBEDTLS_SSL_TLS13_PADDING_GRANULARITY to 1024
means that padded plaintexts will have length 1024, 2048, ..., while
setting it to 1 means that no padding will be used.
Signed-off-by: Hanno Becker <hanno.becker@arm.com >
2020-05-31 08:51:25 +01:00
..
2019-08-15 15:44:50 +01:00
2019-08-15 15:44:50 +01:00
2019-08-15 15:44:50 +01:00
2019-08-15 15:44:50 +01:00
2020-03-19 14:23:45 +01:00
2019-10-31 19:17:26 +02:00
2019-08-15 15:44:50 +01:00
2019-11-04 10:39:20 +00:00
2019-08-15 15:44:50 +01:00
2019-09-02 13:44:57 +02:00
2019-08-15 15:44:50 +01:00
2019-08-15 15:44:50 +01:00
2020-03-04 15:39:14 +01:00
2019-08-15 15:44:50 +01:00
2019-08-15 15:44:50 +01:00
2020-03-27 17:16:15 +00:00
2019-08-15 15:44:50 +01:00
2019-08-15 15:44:50 +01:00
2019-08-15 15:44:50 +01:00
2020-03-23 17:55:32 +01:00
2020-05-31 08:51:25 +01:00
2020-01-09 13:48:52 +00:00
2020-03-19 13:36:33 +01:00
2019-08-15 15:44:50 +01:00
2020-03-19 14:23:45 +01:00
2019-08-19 13:37:46 +01:00
2019-09-05 11:18:58 +01:00
2019-08-15 15:44:50 +01:00
2019-08-15 15:44:50 +01:00
2020-03-19 14:23:45 +01:00
2019-08-15 15:44:50 +01:00
2019-08-15 15:44:50 +01:00
2020-04-20 16:03:46 -07:00
2019-08-15 15:44:50 +01:00
2019-08-15 15:44:50 +01:00
2019-08-16 09:26:41 +01:00
2019-10-23 19:46:55 +02:00
2019-08-15 15:44:50 +01:00
2019-08-15 15:44:50 +01:00
2019-08-15 15:44:50 +01:00
2020-01-06 11:40:23 +01:00
2019-08-15 15:44:50 +01:00
2019-08-15 15:44:50 +01:00
2020-03-19 13:36:33 +01:00
2020-03-19 13:36:33 +01:00
2019-08-15 15:44:50 +01:00
2019-08-15 15:44:50 +01:00
2019-08-15 15:44:50 +01:00
2019-08-15 15:44:50 +01:00
2019-08-15 15:44:50 +01:00
2019-11-26 18:20:59 +01:00
2019-08-15 15:44:50 +01:00
2020-03-19 13:36:33 +01:00
2019-08-15 15:44:50 +01:00
2019-08-15 15:44:50 +01:00
2019-08-15 15:44:50 +01:00
2019-08-15 15:44:50 +01:00
2019-08-15 15:44:50 +01:00
2020-01-31 10:24:21 +01:00
2019-08-15 15:44:50 +01:00
2019-08-15 15:44:50 +01:00
2019-11-13 12:15:35 +01:00
2019-08-15 15:44:50 +01:00
2019-08-15 15:44:50 +01:00
2020-01-24 10:57:25 +01:00
2020-03-19 13:36:33 +01:00
2020-03-23 17:55:32 +01:00
2020-03-19 13:36:33 +01:00
2020-05-28 10:32:23 +01:00
2020-03-19 13:36:33 +01:00
2020-05-31 08:51:25 +01:00
2019-08-15 15:44:50 +01:00
2019-08-15 15:44:50 +01:00
2020-04-08 17:15:18 +01:00
2020-03-19 13:36:33 +01:00
2020-03-19 13:36:33 +01:00
2020-03-19 13:36:33 +01:00
2020-03-19 13:36:33 +01:00
2019-08-15 15:44:50 +01:00