mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
crypto: aspeed - Fix hash fallback path typo
Fix typo in the fallback code path. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202506231830.us4hiwlZ-lkp@intel.com/ Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
2566de3e06
commit
fa13f1d7c7
1 changed files with 1 additions and 1 deletions
|
@ -449,7 +449,7 @@ static noinline int aspeed_ahash_fallback(struct ahash_request *req)
|
|||
if (rctx->flags & SHA_FLAGS_FINUP)
|
||||
ret = ret ?: crypto_ahash_finup(fbreq);
|
||||
else
|
||||
ret = ret ?: crypto_ahash_update(fbreq);
|
||||
ret = ret ?: crypto_ahash_update(fbreq) ?:
|
||||
crypto_ahash_export_core(fbreq, state) ?:
|
||||
aspeed_sham_import(req, state);
|
||||
HASH_REQUEST_ZERO(fbreq);
|
||||
|
|
Loading…
Add table
Reference in a new issue