generate_psa_tests.py: REVERT adapt OpFail test generator for HKDF-Exract/Expand algs
@@ -78,11 +78,6 @@ def automatic_dependencies(*expressions: str) -> List[str]:
"""
used = set()
for expr in expressions:
- # HKDF_EXTRACT and HKDF_EXPAND algs depend on HKDF
- if "HKDF_EXTRACT" in expr:
- expr = expr.replace("HKDF_EXTRACT", "HKDF")
- if "HKDF_EXPAND" in expr:
- expr = expr.replace("HKDF_EXPAND", "HKDF")
used.update(re.findall(r'PSA_(?:ALG|ECC_FAMILY|KEY_TYPE)_\w+', expr))
used.difference_update(SYMBOLS_WITHOUT_DEPENDENCY)
return sorted(psa_want_symbol(name) for name in used)
