[PATCH v2 0/9] crypto: inside-secure - hmac(sha256/sha224) support

From: Antoine Tenart
Date: Mon Mar 19 2018 - 04:24:26 EST


Hi Herbert,

This series brings hmac(sha256) and hmac(sha224) support to the Inside
Secure cryptographic engine driver.

The first 7 patches are fixes and reworks needed for the hmac(sha256)
and hmac(224) support to land in. Then 2 patches adds the 2 new
algorithms.

This has been tested with boot tests, tcrypt and IPsec traffic. This
series is a preparation series for more algorithms support (so that
the series are smaller and easier to review).

Thanks,
Antoine

Since v1:
- Fixed a kbuild reported compilation issue.
- Added missing commit messages in the last 2 patches.
- Removed 3 patches from the series that already were applied in
the cryptodev tree.

Antoine Tenart (9):
crypto: inside-secure - move the digest to the request context
crypto: inside-secure - fix typo s/allways/always/ in a define
crypto: inside-secure - fix a typo in a register name
crypto: inside-secure - improve the send error path
crypto: inside-secure - do not access buffers mapped to the device
crypto: inside-secure - improve the skcipher token
crypto: inside-secure - the context ipad/opad should use the state sz
crypto: inside-secure - hmac(sha256) support
crypto: inside-secure - hmac(sha224) support

drivers/crypto/inside-secure/safexcel.c | 8 +-
drivers/crypto/inside-secure/safexcel.h | 6 +-
drivers/crypto/inside-secure/safexcel_cipher.c | 3 +-
drivers/crypto/inside-secure/safexcel_hash.c | 189 +++++++++++++++++++++----
4 files changed, 170 insertions(+), 36 deletions(-)

--
2.14.3