commit | 0ee991be4cdd88587aedbf68cdacd1765f57236a | [log] [tgz] |
---|---|---|
author | Gary R Hook <gary.hook@amd.com> | Wed Mar 07 11:37:42 2018 -0600 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Mar 09 22:47:05 2018 +0800 |
tree | 0a4553ac2584ffa21057a74796593f6c15171b0f | |
parent | 9cc16b4d32f9f91dc7000aa726605a1add1899c7 [diff] |
crypto: ccp - Fill the result buffer only on digest, finup, and final ops Any change to the result buffer should only happen on final, finup and digest operations. Changes to the buffer for update, import, export, etc, are not allowed. Fixes: 66d7b9f6175e ("crypto: testmgr - test misuse of result in ahash") Signed-off-by: Gary R Hook <gary.hook@amd.com> Cc: <stable@vger.kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>