Commit ecd71c95 authored by Herbert Xu's avatar Herbert Xu
Browse files

crypto: zynqmp-sha - Fix partial block implementation



The zynqmp-sha partial block was based on an old design of the
partial block API where the leftover calculation was done in the
Crypto API.  As the leftover calculation is now done by the
algorithm, fix this by passing the partial blocks to the fallback.

Also zero the stack descriptors.

Fixes: 201e9ec3 ("crypto: zynqmp-sha - Use API partial block handling")
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 7c234e13
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment