[rdkb][common][config][Add kernel config for IPSec on ccn34]
[Description]
Add kernel config for IPSec on ccn34.
[Release-log]
N/A
Change-Id: I32f62dab8e1b8a9ea606dee546d7f85f78e66eda
diff --git a/recipes-kernel/linux/linux-mediatek-5.4/rdkb_cfg/eip-197.cfg b/recipes-kernel/linux/linux-mediatek-5.4/rdkb_cfg/eip-197.cfg
new file mode 100644
index 0000000..c9c66bf
--- /dev/null
+++ b/recipes-kernel/linux/linux-mediatek-5.4/rdkb_cfg/eip-197.cfg
@@ -0,0 +1,17 @@
+CONFIG_XFRM_ALGO=y
+CONFIG_XFRM_USER=m
+CONFIG_INET_TUNNEL=m
+CONFIG_INET_XFRM_TUNNEL=m
+CONFIG_INET_ESP=y
+CONFIG_INET_ESP_OFFLOAD=y
+CONFIG_XFRM_OFFLOAD=y
+CONFIG_CRYPTO_HW=y
+CONFIG_CRYPTO_AUTHENC=y
+CONFIG_CRYPTO_AES=y
+CONFIG_CRYPTO_AEAD=y
+CONFIG_CRYPTO_DES=y
+CONFIG_CRYPTO_MD5=y
+CONFIG_CRYPTO_SHA1=y
+CONFIG_CRYPTO_SHA256=y
+CONFIG_CRYPTO_HMAC=y
+CONFIG_CRYPTO_DEV_SAFEXCEL=m
diff --git a/recipes-kernel/linux/linux-mediatek_5.4.bb b/recipes-kernel/linux/linux-mediatek_5.4.bb
index 18f0553..2c688d4 100644
--- a/recipes-kernel/linux/linux-mediatek_5.4.bb
+++ b/recipes-kernel/linux/linux-mediatek_5.4.bb
@@ -46,6 +46,7 @@
file://rdkb_cfg/filogic_rdkb.cfg \
${@bb.utils.contains('DISTRO_FEATURES','emmc','file://rdkb_cfg/emmc.cfg','',d)} \
${@bb.utils.contains('DISTRO_FEATURES','ccn34','file://rdkb_cfg/tops.cfg','',d)} \
+ ${@bb.utils.contains('DISTRO_FEATURES','ccn34','file://rdkb_cfg/eip-197.cfg','',d)} \
"
SRC_URI_append += " \