Searched hist:"87870 cfb4b5a93c70e2dc32d0349af0625bd5546" (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/crypto/caam/ |
H A D | caamhash_desc.h | diff 87870cfb4b5a93c70e2dc32d0349af0625bd5546 Mon Jan 21 14:22:42 CET 2019 Iuliana Prodan <iuliana.prodan@nxp.com> crypto: caam - add support for cmac(aes)
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@nxp.com> Signed-off-by: Horia Geantă <horia.geanta@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
|
H A D | caamhash_desc.c | diff 87870cfb4b5a93c70e2dc32d0349af0625bd5546 Mon Jan 21 14:22:42 CET 2019 Iuliana Prodan <iuliana.prodan@nxp.com> crypto: caam - add support for cmac(aes)
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@nxp.com> Signed-off-by: Horia Geantă <horia.geanta@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
|
H A D | caamhash.c | diff 87870cfb4b5a93c70e2dc32d0349af0625bd5546 Mon Jan 21 14:22:42 CET 2019 Iuliana Prodan <iuliana.prodan@nxp.com> crypto: caam - add support for cmac(aes)
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@nxp.com> Signed-off-by: Horia Geantă <horia.geanta@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
|