mirror of
https://github.com/cuberite/polarssl.git
synced 2025-10-03 18:43:38 -04:00
Reformat wrapper generation code
Signed-off-by: Ryan Everett <ryan.everett@arm.com>
This commit is contained in:
parent
5d2e82f0ce
commit
eb8c665a53
@ -145,7 +145,8 @@ 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 == 'psa_key_derivation_output_bytes' or function_name == 'psa_key_derivation_input_bytes':
|
if function_name in ('psa_key_derivation_output_bytes',
|
||||||
|
'psa_key_derivation_input_bytes'):
|
||||||
return True
|
return True
|
||||||
if function_name in ('psa_import_key',
|
if function_name in ('psa_import_key',
|
||||||
'psa_export_key',
|
'psa_export_key',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user