brintos

brintos / linux-shallow public Read only

0
0
Text · 3.0 KiB · 1cd62f9 Raw
91 lines · plain
1config CRYPTO_DEV_KEEMBAY_OCS_AES_SM42	tristate "Support for Intel Keem Bay OCS AES/SM4 HW acceleration"3	depends on HAS_IOMEM4	depends on ARCH_KEEMBAY || COMPILE_TEST5	select CRYPTO_SKCIPHER6	select CRYPTO_AEAD7	select CRYPTO_ENGINE8	help9	  Support for Intel Keem Bay Offload and Crypto Subsystem (OCS) AES and10	  SM4 cipher hardware acceleration for use with Crypto API.11 12	  Provides HW acceleration for the following transformations:13	  cbc(aes), ctr(aes), ccm(aes), gcm(aes), cbc(sm4), ctr(sm4), ccm(sm4)14	  and gcm(sm4).15 16	  Optionally, support for the following transformations can also be17	  enabled: ecb(aes), cts(cbc(aes)), ecb(sm4) and cts(cbc(sm4)).18 19config CRYPTO_DEV_KEEMBAY_OCS_AES_SM4_ECB20	bool "Support for Intel Keem Bay OCS AES/SM4 ECB HW acceleration"21	depends on CRYPTO_DEV_KEEMBAY_OCS_AES_SM422	help23	  Support for Intel Keem Bay Offload and Crypto Subsystem (OCS)24	  AES/SM4 ECB mode hardware acceleration for use with Crypto API.25 26	  Provides OCS version of ecb(aes) and ecb(sm4)27 28	  Intel does not recommend use of ECB mode with AES/SM4.29 30config CRYPTO_DEV_KEEMBAY_OCS_AES_SM4_CTS31	bool "Support for Intel Keem Bay OCS AES/SM4 CTS HW acceleration"32	depends on CRYPTO_DEV_KEEMBAY_OCS_AES_SM433	help34	  Support for Intel Keem Bay Offload and Crypto Subsystem (OCS)35	  AES/SM4 CBC with CTS mode hardware acceleration for use with36	  Crypto API.37 38	  Provides OCS version of cts(cbc(aes)) and cts(cbc(sm4)).39 40	  Intel does not recommend use of CTS mode with AES/SM4.41 42config CRYPTO_DEV_KEEMBAY_OCS_ECC43	tristate "Support for Intel Keem Bay OCS ECC HW acceleration"44	depends on ARCH_KEEMBAY || COMPILE_TEST45	depends on OF46	depends on HAS_IOMEM47	select CRYPTO_ECDH48	select CRYPTO_ENGINE49	help50	  Support for Intel Keem Bay Offload and Crypto Subsystem (OCS)51	  Elliptic Curve Cryptography (ECC) hardware acceleration for use with52	  Crypto API.53 54	  Provides OCS acceleration for ECDH-256 and ECDH-384.55 56	  Say Y or M if you are compiling for the Intel Keem Bay SoC. The57	  module will be called keembay-ocs-ecc.58 59	  If unsure, say N.60 61config CRYPTO_DEV_KEEMBAY_OCS_HCU62	tristate "Support for Intel Keem Bay OCS HCU HW acceleration"63	select CRYPTO_HASH64	select CRYPTO_ENGINE65	depends on HAS_IOMEM66	depends on ARCH_KEEMBAY || COMPILE_TEST67	depends on OF68	help69	  Support for Intel Keem Bay Offload and Crypto Subsystem (OCS) Hash70	  Control Unit (HCU) hardware acceleration for use with Crypto API.71 72	  Provides OCS HCU hardware acceleration of sha256, sha384, sha512, and73	  sm3, as well as the HMAC variant of these algorithms.74 75	  Say Y or M if you're building for the Intel Keem Bay SoC. If compiled76	  as a module, the module will be called keembay-ocs-hcu.77 78	  If unsure, say N.79 80config CRYPTO_DEV_KEEMBAY_OCS_HCU_HMAC_SHA22481	bool "Enable sha224 and hmac(sha224) support in Intel Keem Bay OCS HCU"82	depends on CRYPTO_DEV_KEEMBAY_OCS_HCU83	help84	  Enables support for sha224 and hmac(sha224) algorithms in the Intel85	  Keem Bay OCS HCU driver. Intel recommends not to use these86	  algorithms.87 88	  Provides OCS HCU hardware acceleration of sha224 and hmac(224).89 90	  If unsure, say N.91