generate_psa_tests.py: fix typo

Signed-off-by: Yanray Wang <yanray.wang@arm.com>
This commit is contained in:
Yanray Wang 2023-05-10 09:58:46 +08:00
parent e2bc158b38
commit 5dd429c8df

View file

@ -85,7 +85,7 @@ AES_128BIT_ONLY_DEP = ["!MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH"]
DEPENDENCY_FROM_KEY = { DEPENDENCY_FROM_KEY = {
AES_128BIT_ONLY_DEP_REGEX: AES_128BIT_ONLY_DEP AES_128BIT_ONLY_DEP_REGEX: AES_128BIT_ONLY_DEP
}#type: Dict[str, List[str]] }#type: Dict[str, List[str]]
def generate_key_dependencis(description: str) -> List[str]: def generate_key_dependencies(description: str) -> List[str]:
"""Return additional dependencies based on pairs of REGEX and dependencies. """Return additional dependencies based on pairs of REGEX and dependencies.
""" """
deps = [] deps = []
@ -592,7 +592,7 @@ class StorageFormat:
key.alg.string, key.alg2.string, key.alg.string, key.alg2.string,
) )
dependencies = finish_family_dependencies(dependencies, key.bits) dependencies = finish_family_dependencies(dependencies, key.bits)
dependencies += generate_key_dependencis(key.description) dependencies += generate_key_dependencies(key.description)
tc.set_dependencies(dependencies) tc.set_dependencies(dependencies)
tc.set_function('key_storage_' + verb) tc.set_function('key_storage_' + verb)
if self.forward: if self.forward: