EVP_MAC_init() in 3.0 alpha 13
hmurray at megapathdsl.net
Tue Apr 6 10:49:51 UTC 2021
pauli at openssl.org said:
> Does EVP_MAC_CTX_dup() after the MAC context has been initialised
> do what you want?
Thanks. Adding a dup/free gets the right answer, but isn't much of a speedup.
Is there a way to copy the critical bits into a working ctx?
I looked in the header file but didn't see anything suspicious.
i5-3570 CPU @ 3.40GHz AES-128-CBC, 48 byte packets
Times in microseconds.
0.236 PKEY preload
0.185 EVP_MAC Preload
0.359 EVP_MAC Preload with dup/free
0.123 EVP_MAC Preload without dup/free, WRONG ANSWER
These are my opinions. I hate spam.
More information about the openssl-users