mirror of
https://github.com/Mbed-TLS/mbedtls-framework.git
synced 2026-09-16 15:19:54 +00:00
Have psa_sim_generate.pl add psa_crypto_close() to psa_sim_crypto_server.c
Signed-off-by: Tom Cosgrove <[email protected]>
This commit is contained in:
@@ -242,6 +242,16 @@ EOF
|
|||||||
|
|
||||||
return ok ? PSA_SUCCESS : PSA_ERROR_GENERIC_ERROR;
|
return ok ? PSA_SUCCESS : PSA_ERROR_GENERIC_ERROR;
|
||||||
}
|
}
|
||||||
|
EOF
|
||||||
|
|
||||||
|
# Finally, add psa_crypto_close()
|
||||||
|
|
||||||
|
print $fh <<EOF;
|
||||||
|
|
||||||
|
void psa_crypto_close(void)
|
||||||
|
{
|
||||||
|
psa_sim_serialize_reset();
|
||||||
|
}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
close($fh);
|
close($fh);
|
||||||
|
|||||||
Reference in New Issue
Block a user