aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorEric Biggers <[email protected]>2023-10-18 15:34:55 -0700
committerHerbert Xu <[email protected]>2023-10-27 18:04:24 +0800
commit08debaa5cb31da50725a8cb2f06d3f617a9caa98 (patch)
tree29f3f1b9b6282469e3dda1441ce9e4d8bc16564e /include/linux/debugobjects.h
parenta411f6debeb33e2ec8f5825f0c41497317c0504e (diff)
crypto: shash - eliminate indirect call for default import and export
Most shash algorithms don't have custom ->import and ->export functions, resulting in the memcpy() based default being used. Yet, crypto_shash_import() and crypto_shash_export() still make an indirect call, which is expensive. Therefore, change how the default import and export are called to make it so that crypto_shash_import() and crypto_shash_export() don't do an indirect call in this case. Signed-off-by: Eric Biggers <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions