diff options
author | Jens Wiklander <jens.wiklander@linaro.org> | 2019-03-08 15:22:14 +0100 |
---|---|---|
committer | Jérôme Forissier <jerome.forissier@linaro.org> | 2019-03-11 17:58:04 +0100 |
commit | f1e9b21b29bdc21a51c6c1a4b8df7eb5e2bd5189 (patch) | |
tree | 3f7280058413d43e605e867b156f86bd6271941a /core/crypto/aes-gcm-ghash-tbl.c | |
parent | 96098f011f7cc334d2c9eb694e1cc45ded4f64cf (diff) |
core: crypto: introduce struct crypto_authenc_ops
Uses struct crypto_authenc_ops pointer in crypto context for authenc
ciphers (AES-GCM and AES-CCM) as a glue layer instead of a switch(algo)
in each cryto_authenc_*() function.
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'core/crypto/aes-gcm-ghash-tbl.c')
-rw-r--r-- | core/crypto/aes-gcm-ghash-tbl.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/crypto/aes-gcm-ghash-tbl.c b/core/crypto/aes-gcm-ghash-tbl.c index 5e7965a9..203b5300 100644 --- a/core/crypto/aes-gcm-ghash-tbl.c +++ b/core/crypto/aes-gcm-ghash-tbl.c @@ -17,7 +17,6 @@ * limitations under the License. */ -#include <crypto/aes-gcm.h> #include <io.h> #include <kernel/panic.h> #include <string.h> |