mirror of
https://github.com/yuzu-mirror/mbedtls.git
synced 2026-04-04 14:08:39 +00:00
test: sha: test SHA224 and SHA256 separately
This is meant to adapt to the new library design in which SHA224 and SHA256 can be built independently from each other. Signed-off-by: Valerio Setti <vsetti@baylibre.com>
This commit is contained in:
parent
a3f99591f6
commit
46e8fd8263
3 changed files with 19 additions and 5 deletions
|
|
@ -243,6 +243,9 @@ const selftest_t selftests[] =
|
|||
#if defined(MBEDTLS_SHA1_C)
|
||||
{"sha1", mbedtls_sha1_self_test},
|
||||
#endif
|
||||
#if defined(MBEDTLS_SHA224_C)
|
||||
{"sha256", mbedtls_sha224_self_test},
|
||||
#endif
|
||||
#if defined(MBEDTLS_SHA256_C)
|
||||
{"sha256", mbedtls_sha256_self_test},
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue