mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-11 00:44:31 +00:00
Restructure wrapper script
Signed-off-by: Ryan Everett <ryan.everett@arm.com>
This commit is contained in:
parent
198a4d98d5
commit
0f54727bf4
@ -143,7 +143,9 @@ 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' or function_name == 'psa_key_derivation_output_bytes' or function_name == 'psa_key_derivation_input_bytes':
|
||||
if function_name == 'psa_cipher_encrypt':
|
||||
return True
|
||||
if function_name == 'psa_key_derivation_output_bytes' or function_name == 'psa_key_derivation_input_bytes':
|
||||
return True
|
||||
if function_name in ('psa_import_key',
|
||||
'psa_export_key',
|
||||
|
Loading…
x
Reference in New Issue
Block a user