mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-04-09 22:03:41 +02:00
- removed the check on saltlen > 0 and added tests positive test cases for this. - added negative test cases when even saltlen == 0 is not enough. This allowed to uncover an underflow bu in the slen check (when olen-slen-2 is negative) - fixed the saltlen check to avoid underflow - added more test cases where saltlen is the maximum possible value and one above the maximum possible value (different hash, different key size) Signed-off-by: Cédric Meuter <cedric.meuter@gmail.com>