]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: engine - permit to enqueue ashash_request
authorCorentin LABBE <clabbe.montjoie@gmail.com>
Wed, 31 Aug 2016 12:02:58 +0000 (14:02 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 7 Sep 2016 13:08:27 +0000 (21:08 +0800)
commit3e8c39a8e880002b2b1aff313eb2aae439fd4569
tree01467e06408825abc6bc9b370b575d7b21774a5d
parent38047a126837c71ff9295040c8d9933cdffc2287
crypto: engine - permit to enqueue ashash_request

The current crypto engine allow only ablkcipher_request to be enqueued.
Thus denying any use of it for hardware that also handle hash algo.

This patch modify the API for allowing to enqueue ciphers and hash.

Since omap-aes/omap-des are the only users, this patch also convert them
to the new cryptoengine API.

Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/crypto_engine.c
drivers/crypto/omap-aes.c
drivers/crypto/omap-des.c
include/crypto/engine.h