[PATCH v2 0/2] CESA: Fixes for STD ahash requests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This set of patches fixes two issues for STD ahash requests. The first
one is that the operation template is copied twice to the SRAM from the
step function, it is not needed. The second one is also contained in the
step function which copies creq->state to the engine for all type of
requests, even if this one is a fragment of the initial req and is
re-launched. This might corrupt the context of the request in some cases.

Romain Perier (2):
  crypto: marvell - Don't copy hash operation twice into the SRAM
  crypto: marvell - Don't corrupt state of an STD req for re-stepped
    ahash

 drivers/crypto/marvell/hash.c | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

-- 

v1: https://www.mail-archive.com/linux-crypto@xxxxxxxxxxxxxxx/msg22113.html

Changes in v2:
 - Rephrased commit message for PATCH 2/2
 - Added Cc: stable for both commits
 - Fixed coding style issue in PATCH 2/2
 - Rephased the cover letter

2.9.3

--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]