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-04-13 15:34:43 +01:00
2023-04-26 22:23:27 +01:00
2023-03-21 16:29:31 +01:00
2023-03-21 16:28:00 +01:00
2023-03-21 16:28:00 +01:00
2023-03-21 16:29:31 +01:00
2023-03-31 18:04:34 +01:00