On Mon, Jan 21, 2019 at 03:22:42PM +0200, Horia Geantă wrote: > From: Iuliana Prodan <iuliana.prodan@xxxxxxx> > > 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 <iuliana.prodan@xxxxxxx> > Signed-off-by: Horia Geantă <horia.geanta@xxxxxxx> > --- > 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 <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt