Commit 65775cf3 authored by Herbert Xu's avatar Herbert Xu
Browse files

crypto: scatterwalk - Change scatterwalk_next calling convention



Rather than returning the address and storing the length into an
argument pointer, add an address field to the walk struct and use
that to store the address.  The length is returned directly.

Change the done functions to use this stored address instead of
getting them from the caller.

Split the address into two using a union.  The user should only
access the const version so that it is never changed.

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