blob: c68eb365da3d6d65bb028a34f3cd5574da49c59b [file] [log] [blame]
developer4f0d2ba2023-08-21 17:33:25 +08001menu "Crypto Offload Configuration"
2 depends on PACKAGE_kmod-crypto-eip
3
4choice
5 prompt "Crypto Offload Mode"
6 default CRYPTO_OFFLOAD_INLINE
7 help
8 Select crypto offload mode. Support lookaside mode or inline mode.
9
10config CRYPTO_OFFLOAD_INLINE
11 bool "Inline Mode"
12 depends on TARGET_mediatek_mt7988 && !PACKAGE_kmod-eip197_driver
13 select PACKAGE_kmod-crypto-eip-inline
14 select PACKAGE_kmod-crypto-eip-ddk
15 select PACKAGE_crypto-eip-inline-fw
16endchoice
17
18choice
19 prompt "Crypto XFRM Offload Method"
20 depends on CRYPTO_OFFLOAD_INLINE
21 default CRYPTO_XFRM_OFFLOAD_MTK_PCE
22 help
23 Select crypto XFRM offload method. Either RAMBUS PCL support or
24 MTK PCE support.
25
26config CRYPTO_XFRM_OFFLOAD_MTK_PCE
27 bool "Enable MTK PCE XFRM Offload"
28endchoice
29
30endmenu