mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-04 15:39:53 +00:00
Have psa_sim_generate.pl add psa_crypto_close() to psa_sim_crypto_server.c
Signed-off-by: Tom Cosgrove <tom.cosgrove@arm.com>
This commit is contained in:
parent
2fd9572f27
commit
aaf7e859a4
@ -242,6 +242,16 @@ EOF
|
||||
|
||||
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
|
||||
|
||||
close($fh);
|
||||
|
Loading…
x
Reference in New Issue
Block a user