keymaster: various fix and implement verifyAuthorization
This PR contains several fixes/support:
-
Trusted Applications:
- add keymaster_security_level_t
- ensure out size is equal to KM_RECV_BUF_SIZE
- fix out size of getVersion
- fix serialization of getHmacSharingParameters
- fix serialization of getVersion2
- make TA_computeTokenHmac visible
- implement verifyAuthorization
-
ipc: update response size
Relates to: TIAU-365
Edited by Julien Masson