aboutsummaryrefslogtreecommitdiff
path: root/core/lib/libtomcrypt/sub.mk
diff options
context:
space:
mode:
authorJens Wiklander <jens.wiklander@linaro.org>2019-03-08 15:22:14 +0100
committerJérôme Forissier <jerome.forissier@linaro.org>2019-03-11 17:58:04 +0100
commit96098f011f7cc334d2c9eb694e1cc45ded4f64cf (patch)
tree7890a93496ba7157a5ff79e0708b98a02752bddf /core/lib/libtomcrypt/sub.mk
parent5da36a2473928a821089a37f8d0ca585e7a7cfcc (diff)
core: crypto: introduce struct crypto_cipher_ops
Uses struct crypto_cipher_ops pointer in crypto context for ciphers as a glue layer instead of a switch(algo) in each crypto_cipher_*() function. Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'core/lib/libtomcrypt/sub.mk')
-rw-r--r--core/lib/libtomcrypt/sub.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/lib/libtomcrypt/sub.mk b/core/lib/libtomcrypt/sub.mk
index 7bc2a73e..04637457 100644
--- a/core/lib/libtomcrypt/sub.mk
+++ b/core/lib/libtomcrypt/sub.mk
@@ -9,3 +9,8 @@ subdirs-y += src
srcs-$(_CFG_CRYPTO_WITH_HASH) += hash.c
srcs-$(CFG_CRYPTO_HMAC) += hmac.c
srcs-$(CFG_CRYPTO_CMAC) += cmac.c
+srcs-$(CFG_CRYPTO_ECB) += ecb.c
+srcs-$(CFG_CRYPTO_CBC) += cbc.c
+srcs-$(CFG_CRYPTO_CTS) += cts.c
+srcs-$(CFG_CRYPTO_CTR) += ctr.c
+srcs-$(CFG_CRYPTO_XTS) += xts.c