commit | 172b1d6b5a9337eb8c1ec294b80e448e03a9ac17 | [log] [tgz] |
---|---|---|
author | Xiaodong Liu <xiaodong.liu@intel.com> | Fri Aug 12 06:24:42 2016 -0400 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Tue Aug 16 17:09:42 2016 +0800 |
tree | 06019222a0f6f4da6ffe35c31aec3953281938c7 | |
parent | a0118c8b2be9297aed8e915c60b4013326b256d4 [diff] |
crypto: sha256-mb - fix ctx pointer and digest copy 1. fix ctx pointer Use req_ctx which is the ctx for the next job that have been completed in the lanes instead of the first completed job rctx, whose completion could have been called and released. 2. fix digest copy Use XMM register to copy another 16 bytes sha256 digest instead of a regular register. Signed-off-by: Xiaodong Liu <xiaodong.liu@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>