> We understand that HMAC is used to digitally signed data.
> Hence we have to run combination of operation, key and other
> commands instead of signature command for the same.
> it this correct?
[Platon] Yes.
> If yes, please suggest the correct sequence of descriptors for signing data.
>
[Platon] Refer to Linux kernel source, file drivers/crypto/caam/caamhash.c
for hash and HMAC JD build routines.
>Does it mean, the digital signing can work on both secure and non
>secure boards?
[Platon] Yes.
>HMAC uses IPAD/OPAD in its algorithm. Are these values when generated
>in different boards going to be the same?
[Platon] IPAD and OPAD values are specified in the respective HMAC
specification. They can be forced to custom values, but typically
it's not necessary.
> How do we verify the signed data on different systems ?
>
[Platon] Study the material at the link below for HMAC basics:
https://en.wikipedia.org/wiki/Hash-based_message_authentication_code
>If answer for question 4 is NO, then for verification do we need to
>pass these need IPAD/OPAD along with key and signed data to verify
>the signature across boards.
[Platon] See above.
Have a great day,
Platon
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------