diff options
author | Corentin LABBE <clabbe.montjoie@gmail.com> | 2018-01-26 20:15:31 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-02-15 23:26:51 +0800 |
commit | c21c8b8984f29ad23bb7422856ab5331e7e663ea (patch) | |
tree | 61742c48e18948faa60a80d6981d1199cce10950 /drivers/crypto/omap-aes.h | |
parent | 218d1cc1860c45b77f6814b44f6f0ffb9e40a82f (diff) | |
download | linux-c21c8b8984f29ad23bb7422856ab5331e7e663ea.tar.bz2 |
crypto: omap - convert to new crypto engine API
This patch convert the driver to the new crypto engine API.
Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/omap-aes.h')
-rw-r--r-- | drivers/crypto/omap-aes.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/crypto/omap-aes.h b/drivers/crypto/omap-aes.h index 8906342e2b9a..fc3b46a85809 100644 --- a/drivers/crypto/omap-aes.h +++ b/drivers/crypto/omap-aes.h @@ -13,6 +13,8 @@ #ifndef __OMAP_AES_H__ #define __OMAP_AES_H__ +#include <crypto/engine.h> + #define DST_MAXBURST 4 #define DMA_MIN (DST_MAXBURST * sizeof(u32)) @@ -95,6 +97,7 @@ struct omap_aes_gcm_result { }; struct omap_aes_ctx { + struct crypto_engine_ctx enginectx; int keylen; u32 key[AES_KEYSIZE_256 / sizeof(u32)]; u8 nonce[4]; |