commit | aa342d5b4b70703cf9ad5f72752caa757f322ea3 | [log] [tgz] |
---|---|---|
author | David Hu <david.hu@arm.com> | Sun Jan 26 21:34:20 2020 +0800 |
committer | David Hu <david.hu@arm.com> | Mon Jun 22 02:33:00 2020 +0000 |
tree | a4d6be1720a4868816635fa600cb9068c63bdc4a | |
parent | 724a12d1627b74527508fb3812302e77630bf424 [diff] |
COSE: Add verification routine of COSE_Mac0 Add verification routine of COSE_Mac0 message structure in t_cose. Move the definitions of structure t_cose_parameters and some flags from t_cose_sign1_verify.h to t_cose_common.h. Thus COSE_Mac0 verification can share those definitions. Also add HMAC verification functions to verify the tag in COSE_Mac0. Change-Id: Icfb69342f183739852ccff101c6fbf8d00395d85 Signed-off-by: David Hu <david.hu@arm.com>