mirror of
https://github.com/ARMmbed/mbedtls.git
synced 2025-06-02 02:33:51 +08:00

If an error occurs, calling any function on the same operation should return PSA_ERROR_BAD_STATE, and we were not honouring that for all errors. Add extra failure tests to try and ratify this. Signed-off-by: Paul Elliott <paul.elliott@arm.com>