Commit 37d45180 authored by Herbert Xu's avatar Herbert Xu
Browse files

crypto: skcipher - Make skcipher_walk src.virt.addr const



Mark the src.virt.addr field in struct skcipher_walk as a pointer
to const data.  This guarantees that the user won't modify the data
which should be done through dst.virt.addr to ensure that flushing
is done when necessary.

Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent db873be6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment