diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2024-01-01 19:37:45 +0300 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2024-03-01 17:12:05 +0300 |
commit | 561141dd494382217bace4d1a51d08168420eace (patch) | |
tree | f1b4c99199254cd620884bb14011de9c20a1d387 /fs/nfsd/filecache.h | |
parent | 3cfcfc102a5e57b021b786a755a38935e357797d (diff) | |
download | linux-561141dd494382217bace4d1a51d08168420eace.tar.xz |
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 'fs/nfsd/filecache.h')
0 files changed, 0 insertions, 0 deletions