1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

Add static internal MAC finish function

add new psa_mac_finish_internal() to be called by psa_mac_finish() and
psa_mac_verify() in order to be able to check key usage separatly.
This commit is contained in:
mohammad1603
2018-04-02 08:34:15 -07:00
committed by itayzafrir
parent 4eed757901
commit 6df908f234
5 changed files with 61 additions and 50 deletions

View File

@ -82,6 +82,8 @@ struct psa_mac_operation_s
int iv_required : 1;
int iv_set : 1;
int has_input : 1;
int key_usage_sign : 1;
int key_usage_verify : 1;
uint8_t mac_size;
union
{