summaryrefslogtreecommitdiffstats
path: root/crypto/testmgr.h
diff options
context:
space:
mode:
authorStephan Mueller2018-07-10 17:56:33 +0200
committerHerbert Xu2018-07-20 07:51:21 +0200
commitcf862cbc831982a27f14a08adf82ad9ca8d86205 (patch)
tree84b26e66645be295e8e91bace8bcd793daf4c51b /crypto/testmgr.h
parentcrypto: dh - fix memory leak (diff)
downloadkernel-qcow2-linux-cf862cbc831982a27f14a08adf82ad9ca8d86205.tar.gz
kernel-qcow2-linux-cf862cbc831982a27f14a08adf82ad9ca8d86205.tar.xz
kernel-qcow2-linux-cf862cbc831982a27f14a08adf82ad9ca8d86205.zip
crypto: drbg - eliminate constant reinitialization of SGL
The CTR DRBG requires two SGLs pointing to input/output buffers for the CTR AES operation. The used SGLs always have only one entry. Thus, the SGL can be initialized during allocation time, preventing a re-initialization of the SGLs during each call. The performance is increased by about 1 to 3 percent depending on the size of the requested buffer size. Signed-off-by: Stephan Mueller <smueller@chronox.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/testmgr.h')
0 files changed, 0 insertions, 0 deletions