From 075b92628d4af1134e829fed5a4e5e7afb57d2af Mon Sep 17 00:00:00 2001 From: Valerio Setti Date: Tue, 8 Sep 2026 23:42:05 +0200 Subject: [PATCH] crypto_data_tests: fix comment for PSA_ALG_SM3 Signed-off-by: Valerio Setti --- scripts/mbedtls_framework/crypto_data_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/mbedtls_framework/crypto_data_tests.py b/scripts/mbedtls_framework/crypto_data_tests.py index c84e7292a..327ee87b0 100644 --- a/scripts/mbedtls_framework/crypto_data_tests.py +++ b/scripts/mbedtls_framework/crypto_data_tests.py @@ -59,7 +59,7 @@ class HashPSALowLevel: 'PSA_ALG_ASCON_HASH256': None, #lambda data: ascon.ascon_hash(data), 'PSA_ALG_BLAKE2S_HASH256': lambda data: hashlib.blake2s(data).hexdigest(), 'PSA_ALG_BLAKE2B_HASH512': lambda data: hashlib.blake2b(data).hexdigest(), - 'PSA_ALG_SM3': None, #lambda data: hashlib.new('sm3').hexdigest(), + 'PSA_ALG_SM3': None, #lambda data: hashlib.new('sm3', data).hexdigest(), } #type: Dict[str, Optional[Callable[[bytes], str]]] @staticmethod