From 61b7f61d5ebd5cb2b81621cbc08303a88945bbac Mon Sep 17 00:00:00 2001 From: Darryl Green Date: Mon, 4 Feb 2019 16:00:21 +0000 Subject: [PATCH] Change unknown hash algorithm value 0x010000ff corresponds to PSA_ALG_ANY_HASH, so this collides and isn't an unknown algorithm. --- tests/scripts/test_psa_constant_names.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/scripts/test_psa_constant_names.py b/tests/scripts/test_psa_constant_names.py index 1c19cd44b..2d2e213ff 100755 --- a/tests/scripts/test_psa_constant_names.py +++ b/tests/scripts/test_psa_constant_names.py @@ -61,7 +61,7 @@ when applicable.''' self.key_types = set(['0xffffffff']) self.key_usage_flags = set(['0x80000000']) # Hard-coded value for unknown algorithms - self.hash_algorithms = set(['0x010000ff']) + self.hash_algorithms = set(['0x010000fe']) self.mac_algorithms = set(['0x02ff00ff']) self.kdf_algorithms = set(['0x300000ff', '0x310000ff']) # For AEAD algorithms, the only variability is over the tag length,