mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-08-07 03:37:49 +00:00
fixup! Switch psa_generate_tests to PSAMacroEnumerator
Signed-off-by: Gilles Peskine <[email protected]>
This commit is contained in:
@@ -352,11 +352,6 @@ class StorageFormat:
|
||||
key_types = sorted(self.constructors.key_types)
|
||||
for key_type in self.constructors.generate_expressions(key_types):
|
||||
yield from self.keys_for_type(key_type)
|
||||
## Diffie-Hellman (FFDH) is not supported yet, either in
|
||||
## crypto_knowledge.py or in Mbed TLS.
|
||||
# for key_type in sorted(self.constructors.key_types_from_group):
|
||||
# for group in sorted(self.constructors.dh_groups):
|
||||
# yield from self.keys_for_type(key_type, [group])
|
||||
|
||||
def keys_for_algorithm(self, alg: str) -> Iterator[StorageKey]:
|
||||
"""Generate test keys for the specified algorithm."""
|
||||
|
||||
Reference in New Issue
Block a user