1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-05 19:35:48 +03:00

Update tests/scripts/generate_psa_wrappers.py

Co-authored-by: David Horstmann <david.horstmann@arm.com>
Signed-off-by: Ryan Everett <ryan.everett@arm.com>
This commit is contained in:
Ryan Everett
2024-01-25 15:20:09 +00:00
committed by Ryan Everett
parent cb4f855456
commit c8b6c05014

View File

@@ -153,9 +153,9 @@ class PSAWrapperGenerator(c_wrapper_generator.Base):
# Proof-of-concept: just instrument one function for now # Proof-of-concept: just instrument one function for now
if function_name == 'psa_cipher_encrypt': if function_name == 'psa_cipher_encrypt':
return True return True
if function_name in ('psa_import_key', if function_name in ('psa_import_key',
'psa_export_key', 'psa_export_key',
'psa_export_public_key'): 'psa_export_public_key'):
return True return True
if function_name in ('psa_sign_message', if function_name in ('psa_sign_message',
'psa_verify_message', 'psa_verify_message',