summaryrefslogtreecommitdiff
path: root/crypto/testmgr.h
diff options
context:
space:
mode:
authorStephan Mueller <smueller@chronox.de>2018-07-10 17:56:33 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2018-07-20 13:51:21 +0800
commit8bcb97ecace6ef8acc116e04c80cd20dc58333f4 (patch)
tree0f6d9e2f6e26f044fd0e34a898f980c70b5d06c6 /crypto/testmgr.h
parent536439b0de6f0aeffb727506edd0a6c686ebecfc (diff)
downloadlinux-crypto-8bcb97ecace6ef8acc116e04c80cd20dc58333f4.tar.gz
linux-crypto-8bcb97ecace6ef8acc116e04c80cd20dc58333f4.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