mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-25 07:15:32 +00:00
89167cb597
Make function names for multipart operations more consistent (MAC setup edition). Split psa_mac_setup into two functions psa_mac_sign_setup and psa_mac_verify_setup. These functions behave identically except that they require different usage flags on the key. The goal of the split is to enforce the key policy during setup rather than at the end of the operation (which was a bit of a hack). In psa_mac_sign_finish and psa_mac_verify_finish, if the operation is of the wrong type, abort the operation before returning BAD_STATE. |
||
---|---|---|
.. | ||
crypto.h | ||
crypto_extra.h | ||
crypto_platform.h | ||
crypto_sizes.h | ||
crypto_struct.h |