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)
commit4cba7cf025f35599f8de3282c8a7278ecc43eea4
tree01467e06408825abc6bc9b370b575d7b21774a5d
parent2589ad84047f1dbed741b48785680b152db2e5db
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