mirror of
https://github.com/cuberite/polarssl.git
synced 2025-08-20 19:16:32 -04:00

For all test that want to use a hash, identify it by its numerical type rather than a string. The motivation is that when we isolate the MD-light subset from the larger MD, it won't have support for string identifiers. Do the change for all tests, not just those that will exercise functions in MD-light, for the sake of uniformity and because numerical identifiers just feel better. Note: mbedtls_md_info_from_string is still tested in md_info(). Note: for 2.28 the motivation of upcoming work on MD-light doesn't apply, but the change is still backported in order keep the two branches closer to each other (especially the .function file). Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>