I need to call HMAC() function in "openssl/hmac" Is there any method to use it in nRF51822?
Thanks in advance.
I need to call HMAC() function in "openssl/hmac" Is there any method to use it in nRF51822?
Thanks in advance.
Hi,
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. Instead have a look at this blogpost on application level security using the ECB peripheral.
Best regards,
Øyvind
Hi,
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. Instead have a look at this blogpost on application level security using the ECB peripheral.
Best regards,
Øyvind
This is the implementation that we use in the eddystone SDK.
If one looks around the inter-webs carefully, there are also fine-tuned cortex-mX asm implementations of most of those libraries / functions.
Thanks, both of you. I use HMAC not very often. so I would like to use HMAC anyway - also, I have to follow to match counterpart engineer - who uses HMAC. @mstrouse - could you kindly share embedded version HMAC? - hard to find.