Waleed Elmelegy 708d78f80b Improve & test legacy mbedtls_pkcs5_pbe2
* Prevent pkcs5_pbe2 encryption when PKCS7 padding has been
  disabled since this not part of the specs.
* Allow decryption when PKCS7 padding is disabled for legacy
  reasons, However, invalid padding is not checked.
* Add tests to check these scenarios. Test data has been
  reused but with changing padding data in last block to
  check for valid/invalid padding.
* Document new behaviour, known limitations and possible
  security concerns.

Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
2023-07-19 14:01:35 +01:00
..
2023-03-16 17:21:33 +01:00
2023-04-26 16:55:37 +08:00
2023-04-26 13:06:01 +08:00
2023-03-17 17:31:18 +01:00
2023-03-31 09:01:45 +02:00
2023-02-10 16:03:44 +00:00
2023-04-12 06:07:23 +00:00
2023-03-21 16:28:00 +01:00
2023-04-26 22:23:13 +01:00
2023-04-26 22:23:13 +01:00
2023-03-24 10:43:40 +01:00
2023-03-21 16:29:31 +01:00
2023-03-03 05:23:44 -05:00
2023-03-13 12:15:49 +00:00
2023-03-21 16:28:00 +01:00
2023-03-21 16:28:00 +01:00
2023-03-14 16:03:57 +00:00
2023-03-14 16:03:57 +00:00
2023-03-21 16:29:31 +01:00
2023-03-21 16:29:31 +01:00