mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-26 21:35:35 +00:00
7a1cb41ba2
All started from a copy of the SHA256 block and modified as follows: - for MD5, just s/SHA256/MD5/ - for SHA384, adapt the dependency line then s/SHA256/SHA384 - for SHA1, s/SHA256/SHA1/ then manually adapt the plaintext length for the cases with "!trunc, B-1" and "!trunc, B", as the MAC length (20) is not a multiple of the block size (16) for this hash Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>