mirror of
https://github.com/ARMmbed/mbedtls.git
synced 2025-05-31 18:03:17 +08:00

The purpose of key_set was to guard the operation structure from being used for update/finish before a key was set. Now that the implementation fully adheres to the PSA API, that function is covered by the `alg` variable instead. It's set to the algorithm in use when a key is set, and is zero when the operation is reset/invalid. Signed-off-by: Steven Cooreman <steven.cooreman@silabs.com>