i have 3000 bytes of data placed in flash from 0x20000. i want to calculate hmac for the same data.First, can we calculate hmac for such huge data?If yes, then how can i calculate by using CRYS_HMAC() function?
i have 3000 bytes of data placed in flash from 0x20000. i want to calculate hmac for the same data.First, can we calculate hmac for such huge data?If yes, then how can i calculate by using CRYS_HMAC() function?
Dear nordic, please reply.
Hi,
It's not a problem to calculate HMAC for 3KB of data. As mentioned here, the data input buffer is limited to 128 entries, and the size of each entry is limited to 64KB.
Take a look at the HMAC example on how to use the HMAC functions. It's located in
SDK_folder\examples\crypto\nrf_cc310\hmac