[erlang-questions] crypto:hmac/3 using hardware acceleration
Hans Nilsson R
Wed May 8 12:06:17 CEST 2019
Yes it's possible to use the EVP_* functions. But it is nothing that we plan to do for the moment.
But pull-requests are always welcome :)
On Tue, 2019-05-07 at 19:19 +0300, Ben Browitt wrote:
Profiling my server with eprof show that my app spends most of the time on crypto:hmac(sha, Key, Data) while crypto:stream_encrypt/2 using aes_ctr is much faster.
This answer  says that HMAC_* routines are software based and don't use hardware. The hmac nif seems to use them .
Is my resolution correct?
Is it possible to use EVP_* functions instead of HMAC_* functions in the nif?
erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions