linux/drivers/crypto/marvell
Russell King ab270e7055 crypto: marvell/cesa - rearrange handling for sw padded hashes
Rearrange the last request handling for hashes which require software
padding.

We prepare the padding to be appended, and then append as much of the
padding to any existing data that's already queued up, adding an
operation block and launching the operation.

Any remainder is then appended as a separate operation.

This ensures that the hardware only ever sees multiples of the hash
block size to be operated on for software padded hashes, thus ensuring
that the engine always indicates that it has finished the calculation.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2015-10-20 22:11:08 +08:00
..
cesa.c crypto: marvell/cesa - Drop owner assignment from platform_driver 2015-07-14 14:56:48 +08:00
cesa.h crypto: marvell/cesa - factor out first fragment decisions to helper 2015-10-20 22:11:04 +08:00
cipher.c crypto: marvell/cesa - add Triple-DES support 2015-06-19 22:18:04 +08:00
hash.c crypto: marvell/cesa - rearrange handling for sw padded hashes 2015-10-20 22:11:08 +08:00
Makefile
tdma.c