commit | 48eb3691e8beab349e3a700d45f070be8d4b88ba | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Wed Jan 14 10:07:03 2015 +1100 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Wed Jan 14 21:57:56 2015 +1100 |
tree | 41b9e5b80e17aa3c5b35e2bb4b56abf7d76662c1 | |
parent | e31ac32d3bc27c33f002e0c9ffd6ae08b65474e6 [diff] |
crypto: qat - Ensure ipad and opad are zeroed The patch ad511e260a27b8e35d273cc0ecfe5a8ff9543181 (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: Herbert Xu <herbert@gondor.apana.org.au>