summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorEnzo Matsumiya <ematsumiya@suse.de>2022-09-29 17:36:50 -0300
committerSteve French <stfrench@microsoft.com>2022-10-07 23:08:39 -0500
commit1f3d5477b944c8db8d73d7070ea98d8f1a8224c0 (patch)
treecdd5360f58d945caf02b4091ac4f9291d653c48b /virt
parent8698baa1b768fc5cd4bf73e846680a812678d029 (diff)
cifs: secmech: use shash_desc directly, remove sdesc
The struct sdesc is just a wrapper around shash_desc, with exact same memory layout. Replace the hashing TFMs with shash_desc as it's what's passed to the crypto API anyway. Also remove the crypto_shash pointers as they can be accessed via shash_desc->tfm (and are actually only used in the setkey calls). Adapt cifs_{alloc,free}_hash functions to this change. Signed-off-by: Enzo Matsumiya <ematsumiya@suse.de> Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions