Skip to content
Snippets Groups Projects
Commit 48eb3691 authored by Herbert Xu's avatar Herbert Xu
Browse files

crypto: qat - Ensure ipad and opad are zeroed


The patch ad511e26 (crypto: qat -
Fix incorrect uses of memzero_explicit) broke hashing because the
code was in fact overwriting the qat_auth_state variable.

In fact there is no reason for the variable to exist anyway since
all we are using it for is to store ipad and opad.  So we could
simply create ipad and opad directly and avoid this whole mess.

Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent e31ac32d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment