developer | 4f0d2ba | 2023-08-21 17:33:25 +0800 | [diff] [blame^] | 1 | menu "Crypto Offload Configuration" |
| 2 | depends on PACKAGE_kmod-crypto-eip |
| 3 | |
| 4 | choice |
| 5 | prompt "Crypto Offload Mode" |
| 6 | default CRYPTO_OFFLOAD_INLINE |
| 7 | help |
| 8 | Select crypto offload mode. Support lookaside mode or inline mode. |
| 9 | |
| 10 | config 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 |
| 16 | endchoice |
| 17 | |
| 18 | choice |
| 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 | |
| 26 | config CRYPTO_XFRM_OFFLOAD_MTK_PCE |
| 27 | bool "Enable MTK PCE XFRM Offload" |
| 28 | endchoice |
| 29 | |
| 30 | endmenu |