mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-06-25 12:41:56 +03:00
Generate test wrappers for key management
Signed-off-by: Ryan Everett <ryan.everett@arm.com>
This commit is contained in:
@ -143,7 +143,7 @@ class PSAWrapperGenerator(c_wrapper_generator.Base):
|
||||
"""Whether the specified buffer argument to a PSA function should be copied.
|
||||
"""
|
||||
# Proof-of-concept: just instrument one function for now
|
||||
if function_name == 'psa_cipher_encrypt':
|
||||
if function_name == 'psa_import_key' or function_name == 'psa_export_key' or function_name == 'psa_export_public_key':
|
||||
return True
|
||||
if function_name in ('psa_sign_message',
|
||||
'psa_verify_message',
|
||||
|
Reference in New Issue
Block a user