1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-06-25 12:41:56 +03:00

Generate test wrappers for mac functions

Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
This commit is contained in:
Thomas Daubney
2024-01-30 11:18:54 +00:00
parent 8db8d1a83e
commit a1cf1010cc
2 changed files with 40 additions and 0 deletions

View File

@ -154,6 +154,12 @@ class PSAWrapperGenerator(c_wrapper_generator.Base):
'psa_sign_hash',
'psa_verify_hash'):
return True
if function_name in ('psa_mac_update',
'psa_mac_sign_finish',
'psa_mac_verify_finish',
'psa_mac_compute',
'psa_mac_verify'):
return True
return False
def _write_function_call(self, out: typing_util.Writable,