]> 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)
commitb12852378a9095f8c0598202558071066840a588
treed88fd34d1491abbe5455ecbee96aa514aca5c6c8
parentfb6ebe765ec5a19b94fc384caf9324b52ae43760
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