Hello
I do need to transmit data from a DA14683 using HMAC-AES-256. I found the version in the board support package but it does not produce the same result than what does OpenSSL on the same data (same key & data). I am targeting a data control using : "openssl dgst -binary -hmac key_hex -sha256 -out hmac_file data_file" on a server that collect data.
Can you please confirm to me that this algorithm has been extensively tested ? (I am using it on data and not text)
What is the difference with OpenSSL implementation ?
Thank you in advance
Best Regards
Device:
Hello
The issue was coming from me. Here is the good command line to get the same behaviour between DA14683 and openssl:
openssl dgst -binary -sha256 -mac HMAC -macopt hexkey:$key_hex -out $hmac_file data_file
Solved.
Hi,
Many thanks for sharing your finding.
Regards, PM_Dialog