summaryrefslogtreecommitdiffstats
path: root/crypto/skcipher.c
diff options
context:
space:
mode:
authorStephan Mueller <smueller@chronox.de>2016-03-28 16:47:55 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2016-04-05 14:35:53 +0200
commit4218ebe8cab421c72f134cca1374e0985303f34a (patch)
tree813c3ec09204f4cd35998aaca752c22ae88beecd /crypto/skcipher.c
parentcrypto: sun4i-ss - Replace spinlock_bh by spin_lock_irq{save|restore} (diff)
downloadlinux-4218ebe8cab421c72f134cca1374e0985303f34a.tar.xz
linux-4218ebe8cab421c72f134cca1374e0985303f34a.zip
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 <smueller@chronox.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/skcipher.c')
0 files changed, 0 insertions, 0 deletions