summaryrefslogtreecommitdiff
path: root/lib/objpool.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2024-01-01 11:37:45 -0500
committerChuck Lever <chuck.lever@oracle.com>2024-03-01 09:12:05 -0500
commit561141dd494382217bace4d1a51d08168420eace (patch)
treef1b4c99199254cd620884bb14011de9c20a1d387 /lib/objpool.c
parent3cfcfc102a5e57b021b786a755a38935e357797d (diff)
downloadlinux-561141dd494382217bace4d1a51d08168420eace.tar.gz
linux-561141dd494382217bace4d1a51d08168420eace.tar.bz2
linux-561141dd494382217bace4d1a51d08168420eace.zip
SUNRPC: Use a static buffer for the checksum initialization vector
Allocating and zeroing a buffer during every call to krb5_etm_checksum() is inefficient. Instead, set aside a static buffer that is the maximum crypto block size, and use a portion (or all) of that. Reported-by: Markus Elfring <Markus.Elfring@web.de> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'lib/objpool.c')
0 files changed, 0 insertions, 0 deletions