diff options
author | Stephan Mueller <[email protected]> | 2016-03-28 16:47:55 +0200 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2016-04-05 20:35:53 +0800 |
commit | 4218ebe8cab421c72f134cca1374e0985303f34a (patch) | |
tree | 813c3ec09204f4cd35998aaca752c22ae88beecd /lib/cpu-notifier-error-inject.c | |
parent | bdb6cf9f6fe6d9af905ea34b7c4bb78ea601329e (diff) |
crypto: drbg - set HMAC key only when altered
The HMAC implementation allows setting the HMAC key independently from
the hashing operation. Therefore, the key only needs to be set when a
new key is generated.
This patch increases the speed of the HMAC DRBG by at least 35% depending
on the use case.
The patch is fully CAVS tested.
Signed-off-by: Stephan Mueller <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions