Update test_psa_constant_names.py for new values

Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com>
This commit is contained in:
Bence Szépkúti 2020-12-08 07:33:08 +01:00
parent 6879f42be4
commit 7e37bf97ee

View File

@ -95,10 +95,10 @@ class Inputs:
self.key_types = set(['0xffff']) self.key_types = set(['0xffff'])
self.key_usage_flags = set(['0x80000000']) self.key_usage_flags = set(['0x80000000'])
# Hard-coded value for unknown algorithms # Hard-coded value for unknown algorithms
self.hash_algorithms = set(['0x010000fe']) self.hash_algorithms = set(['0x020000fe'])
self.mac_algorithms = set(['0x02ff00ff']) self.mac_algorithms = set(['0x0300ffff'])
self.ka_algorithms = set(['0x30fc0000']) self.ka_algorithms = set(['0x09fc0000'])
self.kdf_algorithms = set(['0x200000ff']) self.kdf_algorithms = set(['0x080000ff'])
# For AEAD algorithms, the only variability is over the tag length, # For AEAD algorithms, the only variability is over the tag length,
# and this only applies to known algorithms, so don't test an # and this only applies to known algorithms, so don't test an
# unknown algorithm. # unknown algorithm.