linux/drivers/crypto/inside-secure
Pascal van Leeuwen 41abed7d72 crypto: inside-secure - add support for arbitrary size hash/HMAC updates
This patch fixes an issue with hash and HMAC operations that perform
"large" intermediate updates (i.e. combined size > 2 hash blocks) by
actually making use of the hardware's hash continue capabilities.
The original implementation would cache these updates in a buffer that
was 2 hash blocks in size and fail if all update calls combined would
overflow that buffer. Which caused the cryptomgr extra tests to fail.

Signed-off-by: Pascal van Leeuwen <pvanleeuwen@verimatrix.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2019-07-26 14:52:01 +10:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
safexcel_cipher.c crypto: inside-secure - fix EINVAL error (buf overflow) for AEAD decrypt 2019-07-26 14:52:00 +10:00
safexcel_hash.c crypto: inside-secure - add support for arbitrary size hash/HMAC updates 2019-07-26 14:52:01 +10:00
safexcel_ring.c crypto: inside-secure - enable context reuse 2019-06-06 14:38:56 +08:00
safexcel.c crypto: inside-secure - silently return -EINVAL for input error cases 2019-07-26 14:51:58 +10:00
safexcel.h crypto: inside-secure - add support for arbitrary size hash/HMAC updates 2019-07-26 14:52:01 +10:00