diff options
author | Iuliana Prodan <iuliana.prodan@nxp.com> | 2019-01-21 14:22:42 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-02-01 07:42:03 +0100 |
commit | 87870cfb4b5a93c70e2dc32d0349af0625bd5546 (patch) | |
tree | a73c5f4b200674b9b8a58abab2035ffb0b0f9b36 /drivers/crypto/caam/caamalg_qi.c | |
parent | crypto: seqiv - Use kmemdup in seqiv_aead_encrypt() (diff) | |
download | linux-87870cfb4b5a93c70e2dc32d0349af0625bd5546.tar.xz linux-87870cfb4b5a93c70e2dc32d0349af0625bd5546.zip |
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>
Diffstat (limited to 'drivers/crypto/caam/caamalg_qi.c')
0 files changed, 0 insertions, 0 deletions