This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

about HMAC SHA1

Hello,

I'm porting from ST32L151 to NRF52840.

I want to use the HMAC SHA1 method, but I can't see the related function.

The nrf_crypto_hmac_init function seems to be able to use SHA256 and SHA512, but SHA1 cannot be used.

But there is a mbedtls_sha1_init function, And I think this is different from HMAC.

Can you tell me the difference between HMAC and mbedtls?

Can't use HMAC SHA1 method in NRF52840?

Please let me know if there is a way.

Related