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

crypto: krb5 - Use SG miter instead of doing it by hand



The function crypto_shash_update_sg iterates through an SG by
hand.  It fails to handle corner cases such as SG entries longer
than a page.  Fix this by using the SG iterator.

Fixes: 348f5669 ("crypto/krb5: Implement the Kerberos5 rfc3961 get_mic and verify_mic")
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent fc8d5bba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment