1915e4e84SJonathan Cameron# SPDX-License-Identifier: GPL-2.0 2915e4e84SJonathan Cameron 3915e4e84SJonathan Cameronconfig CRYPTO_DEV_HISI_SEC 4915e4e84SJonathan Cameron tristate "Support for Hisilicon SEC crypto block cipher accelerator" 5915e4e84SJonathan Cameron select CRYPTO_BLKCIPHER 6915e4e84SJonathan Cameron select CRYPTO_ALGAPI 71bbbbcfdSMao Wenan select CRYPTO_LIB_DES 8915e4e84SJonathan Cameron select SG_SPLIT 9915e4e84SJonathan Cameron depends on ARM64 || COMPILE_TEST 10915e4e84SJonathan Cameron depends on HAS_IOMEM 11915e4e84SJonathan Cameron help 12915e4e84SJonathan Cameron Support for Hisilicon SEC Engine in Hip06 and Hip07 13915e4e84SJonathan Cameron 14915e4e84SJonathan Cameron To compile this as a module, choose M here: the module 15915e4e84SJonathan Cameron will be called hisi_sec. 16263c9959SZhou Wang 17263c9959SZhou Wangconfig CRYPTO_DEV_HISI_QM 18263c9959SZhou Wang tristate 19a7174f97SArnd Bergmann depends on ARM64 || COMPILE_TEST 20a7174f97SArnd Bergmann depends on PCI && PCI_MSI 21263c9959SZhou Wang help 22263c9959SZhou Wang HiSilicon accelerator engines use a common queue management 23263c9959SZhou Wang interface. Specific engine driver may use this module. 24dfed0098SZhou Wang 25dfed0098SZhou Wangconfig CRYPTO_HISI_SGL 26dfed0098SZhou Wang tristate 27a7174f97SArnd Bergmann depends on ARM64 || COMPILE_TEST 28dfed0098SZhou Wang help 29dfed0098SZhou Wang HiSilicon accelerator engines use a common hardware scatterlist 30dfed0098SZhou Wang interface for data format. Specific engine driver may use this 31dfed0098SZhou Wang module. 3262c455caSZhou Wang 3362c455caSZhou Wangconfig CRYPTO_DEV_HISI_ZIP 3462c455caSZhou Wang tristate "Support for HiSilicon ZIP accelerator" 35a7174f97SArnd Bergmann depends on PCI && PCI_MSI 36a7174f97SArnd Bergmann depends on ARM64 || (COMPILE_TEST && 64BIT) 37a7174f97SArnd Bergmann depends on !CPU_BIG_ENDIAN || COMPILE_TEST 3862c455caSZhou Wang select CRYPTO_DEV_HISI_QM 3962c455caSZhou Wang select CRYPTO_HISI_SGL 4062c455caSZhou Wang select SG_SPLIT 4162c455caSZhou Wang help 4262c455caSZhou Wang Support for HiSilicon ZIP Driver 43