On Mon, Jan 21, 2019 at 03:22:42PM +0200, Horia Geantă wrote: > From: Iuliana Prodan <[email protected]> > > Add cmac(aes) keyed hash offloading support. > > Similar to xcbc implementation, driver must make sure there are still > some bytes buffered when ahash_final() is called. This way HW is able to > decide whether padding is needed and which key to derive (L -> K1 / K2) > for the last block. > > Signed-off-by: Iuliana Prodan <[email protected]> > Signed-off-by: Horia Geantă <[email protected]> > --- > drivers/crypto/caam/caamhash.c | 132 > ++++++++++++++++++++++++++++++------ > drivers/crypto/caam/caamhash_desc.c | 30 +++++--- > drivers/crypto/caam/caamhash_desc.h | 10 ++- > 3 files changed, 139 insertions(+), 33 deletions(-)
Patch applied. Thanks. -- Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
