Hello,
I'm working on a project that needs sha1 hash functionality and I found this thread about the integration of openssl hmac lib:
"It should be possible to make an embedded version of the hmac function, there several C sources available online. However I do not recommend it as it will have an immense runtime, causing system delays and high power consumption."
I've tried on my side to use this code: tls.mbed.org/sha-1-source-code
I didn't run any test bench yet but it looks really fast (few millisecs) with any buffer size (I've tried up to 1Ko).
Could you clarify under which circumpstances you do not recommand to do sha1 in your code please ?
Thank you, Adrien.