diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2023-06-26 13:33:44 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-06-27 10:40:24 +0300 |
commit | 891ebfdfa3d08bf55ebec523c99bb68ac9c34cf7 (patch) | |
tree | 8f660671f3ce35b37a746dd3a624273b503389fa /include | |
parent | 767cfee8368f43c6d6c58cdf8c2d143a027fa55f (diff) | |
download | linux-891ebfdfa3d08bf55ebec523c99bb68ac9c34cf7.tar.xz |
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: 6cb8815f41a9 ("crypto: sig - Add interface for sign/verify")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions