Eric Biggers ebiggers@kernel.org wrote:
It makes it clearer what's going on, especially since some modes update the 'iv' pointer after each block (delaying the copy to 'walk.iv' until the end) but others can't do that. The 'const' is helpful to further distinguish these two cases, which were confused in both the pcbc and cfb implementations.
I'm not sure I agree that it makes it clearer, but:
Reviewed-and-tested-by: David Howells dhowells@redhat.com