aboutsummaryrefslogtreecommitdiff
path: root/fs/crypto/hkdf.c
diff options
context:
space:
mode:
authorGravatar David Sterba <dsterba@suse.com> 2019-10-04 02:36:16 +0200
committerGravatar David Sterba <dsterba@suse.com> 2019-11-18 12:46:58 +0100
commit6a0d12724bd2dd1c766769578e221ce1d10a4656 (patch)
treede49c7bedeab33d6e807ee65ff63541d1a4d9361 /fs/crypto/hkdf.c
parentbtrfs: compression: export alloc/free/get/put callbacks of all algos (diff)
downloadlinux-6a0d12724bd2dd1c766769578e221ce1d10a4656.tar.gz
linux-6a0d12724bd2dd1c766769578e221ce1d10a4656.tar.bz2
linux-6a0d12724bd2dd1c766769578e221ce1d10a4656.zip
btrfs: compression: inline get_workspace
Majority of the callbacks is trivial, we don't gain anything by the indirection, so replace them by a switch function. ZLIB needs to adjust level in the callback and ZSTD workspace management is complex, the rest is call to the helper. Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/crypto/hkdf.c')
0 files changed, 0 insertions, 0 deletions