Skip to content
Commit 891ebfdf authored by Herbert Xu's avatar Herbert Xu
Browse files

crypto: sig - Fix verify call

The dst SG list needs to be set to NULL for verify calls.  Do
this as otherwise the underlying algorithm may fail.

Furthermore the digest needs to be copied just like the source.

Fixes: 6cb8815f

 ("crypto: sig - Add interface for sign/verify")
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 767cfee8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment