]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: ccp - move to AES library for CMAC key derivation
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 2 Jul 2019 19:41:43 +0000 (21:41 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 26 Jul 2019 04:58:13 +0000 (14:58 +1000)
commit733f10789d8f0dd17eaefad6700222716fb5f24a
treed88fd34d1491abbe5455ecbee96aa514aca5c6c8
parent35c790c37bbcdb29c734a0833577466b9dc1b3ac
crypto: ccp - move to AES library for CMAC key derivation

Use the AES library instead of the cipher interface to perform
the single block of AES processing involved in updating the key
of the cmac(aes) hash.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccp/Kconfig
drivers/crypto/ccp/ccp-crypto-aes-cmac.c
drivers/crypto/ccp/ccp-crypto.h