diff options
author | David Howells <[email protected]> | 2024-07-26 20:03:07 +0100 |
---|---|---|
committer | Christian Brauner <[email protected]> | 2024-09-12 12:20:42 +0200 |
commit | 2982c8c19bab020e38da9d503aa21a3b389c53ac (patch) | |
tree | e20fc3c40e4b4572dd472063f14427cc264856ef /lib/crypto/mpi/mpi-sub-ui.c | |
parent | 8f246b7c0a1be0882374f2ff831a61f0dbe77678 (diff) |
cifs: Use iterate_and_advance*() routines directly for hashing
Replace the bespoke cifs iterators of ITER_BVEC and ITER_KVEC to do hashing
with iterate_and_advance_kernel() - a variant on iterate_and_advance() that
only supports kernel-internal ITER_* types and not UBUF/IOVEC types.
The bespoke ITER_XARRAY is left because we don't really want to be calling
crypto_shash_update() under the RCU read lock for large amounts of data;
besides, ITER_XARRAY is going to be phased out.
Signed-off-by: David Howells <[email protected]>
cc: Steve French <[email protected]>
cc: Paulo Alcantara <[email protected]>
cc: Tom Talpey <[email protected]>
cc: Enzo Matsumiya <[email protected]>
cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]/ # v2
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions