1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-01 10:06:53 +03:00

Generate test wrappers

Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
This commit is contained in:
Thomas Daubney
2024-01-30 14:04:47 +00:00
parent 6adbb2a351
commit 27b48a312f
2 changed files with 13 additions and 0 deletions

View File

@ -154,6 +154,9 @@ class PSAWrapperGenerator(c_wrapper_generator.Base):
'psa_sign_hash',
'psa_verify_hash'):
return True
if function_name in ('psa_asymmetric_encrypt',
'pas_asymmetric_decrypt'):
return True
return False
def _write_function_call(self, out: typing_util.Writable,