summaryrefslogtreecommitdiffstats
path: root/crypto/Makefile
diff options
context:
space:
mode:
authorVadim Fedorenko <vadfed@meta.com>2024-04-23 00:50:22 +0200
committerMartin KaFai Lau <martin.lau@kernel.org>2024-04-25 01:01:10 +0200
commitfda4f71282b21a8cf230b656781efb0a41371fd4 (patch)
tree79d1a3e8f78b070461d92be74bf086cebc21387b /crypto/Makefile
parentbpf: make common crypto API for TC/XDP programs (diff)
downloadlinux-fda4f71282b21a8cf230b656781efb0a41371fd4.tar.xz
linux-fda4f71282b21a8cf230b656781efb0a41371fd4.zip
bpf: crypto: add skcipher to bpf crypto
Implement skcipher crypto in BPF crypto framework. Signed-off-by: Vadim Fedorenko <vadfed@meta.com> Acked-by: Herbert Xu <herbert@gondor.apana.org.au> Link: https://lore.kernel.org/r/20240422225024.2847039-3-vadfed@meta.com Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'crypto/Makefile')
-rw-r--r--crypto/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/Makefile b/crypto/Makefile
index 408f0a1f9ab9..538124f8bf8a 100644
--- a/crypto/Makefile
+++ b/crypto/Makefile
@@ -20,6 +20,9 @@ crypto_skcipher-y += lskcipher.o
crypto_skcipher-y += skcipher.o
obj-$(CONFIG_CRYPTO_SKCIPHER2) += crypto_skcipher.o
+ifeq ($(CONFIG_BPF_SYSCALL),y)
+obj-$(CONFIG_CRYPTO_SKCIPHER2) += bpf_crypto_skcipher.o
+endif
obj-$(CONFIG_CRYPTO_SEQIV) += seqiv.o
obj-$(CONFIG_CRYPTO_ECHAINIV) += echainiv.o