summaryrefslogtreecommitdiff
path: root/ipc/msg.c
diff options
context:
space:
mode:
authorStephan Mueller <smueller@chronox.de>2016-05-31 14:11:57 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2016-06-02 13:39:01 +0300
commited494d4fa234443a005489afb6b9583415ad89ff (patch)
treef638837277d65abd82370e7749b3aecac569df99 /ipc/msg.c
parent5318c53d5b4bbf097ccba2e74831d67e4d63b1a1 (diff)
downloadlinux-ed494d4fa234443a005489afb6b9583415ad89ff.tar.xz
crypto: drbg - reduce number of setkey calls
The CTR DRBG code always set the key for each sym cipher invocation even though the key has not been changed. The patch ensures that the setkey is only invoked when a new key is generated by the DRBG. With this patch, the CTR DRBG performance increases by more than 150%. Signed-off-by: Stephan Mueller <smueller@chronox.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'ipc/msg.c')
0 files changed, 0 insertions, 0 deletions