mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-16 08:42:50 +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;
|
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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user