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

Reply via email to