summaryrefslogtreecommitdiff
path: root/crypto/algif_rng.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2015-01-14 10:07:03 +1100
committerHerbert Xu <herbert@gondor.apana.org.au>2015-01-14 21:57:56 +1100
commit48eb3691e8beab349e3a700d45f070be8d4b88ba (patch)
tree41b9e5b80e17aa3c5b35e2bb4b56abf7d76662c1 /crypto/algif_rng.c
parente31ac32d3bc27c33f002e0c9ffd6ae08b65474e6 (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>
Diffstat (limited to 'crypto/algif_rng.c')
0 files changed, 0 insertions, 0 deletions