|
| 1 | +config CRYPTO_DEV_KEEMBAY_OCS_AES_SM4 |
| 2 | + tristate "Support for Intel Keem Bay OCS AES/SM4 HW acceleration" |
| 3 | + depends on OF || COMPILE_TEST |
| 4 | + select CRYPTO_SKCIPHER |
| 5 | + select CRYPTO_AEAD |
| 6 | + select CRYPTO_ENGINE |
| 7 | + help |
| 8 | + Support for Intel Keem Bay Offload and Crypto Subsystem (OCS) AES and |
| 9 | + SM4 cihper hardware acceleration for use with Crypto API. |
| 10 | + |
| 11 | + Provides HW acceleration for the following transformations: |
| 12 | + cbc(aes), ctr(aes), ccm(aes), gcm(aes), cbc(sm4), ctr(sm4), ccm(sm4) |
| 13 | + and gcm(sm4). |
| 14 | + |
| 15 | + Optionally, support for the following transformations can also be |
| 16 | + enabled: ecb(aes), cts(cbc(aes)), ecb(sm4) and cts(cbc(sm4)). |
| 17 | + |
| 18 | +config CRYPTO_DEV_KEEMBAY_OCS_AES_SM4_ECB |
| 19 | + bool "Support for Intel Keem Bay OCS AES/SM4 ECB HW acceleration" |
| 20 | + depends on CRYPTO_DEV_KEEMBAY_OCS_AES_SM4 |
| 21 | + help |
| 22 | + Support for Intel Keem Bay Offload and Crypto Subsystem (OCS) |
| 23 | + AES/SM4 ECB mode hardware acceleration for use with Crypto API. |
| 24 | + |
| 25 | + Provides OCS version of ecb(aes) and ecb(sm4) |
| 26 | + |
| 27 | + Intel does not recommend use of ECB mode with AES/SM4. |
| 28 | + |
| 29 | +config CRYPTO_DEV_KEEMBAY_OCS_AES_SM4_CTS |
| 30 | + bool "Support for Intel Keem Bay OCS AES/SM4 CTS HW acceleration" |
| 31 | + depends on CRYPTO_DEV_KEEMBAY_OCS_AES_SM4 |
| 32 | + help |
| 33 | + Support for Intel Keem Bay Offload and Crypto Subsystem (OCS) |
| 34 | + AES/SM4 CBC with CTS mode hardware acceleration for use with |
| 35 | + Crypto API. |
| 36 | + |
| 37 | + Provides OCS version of cts(cbc(aes)) and cts(cbc(sm4)). |
| 38 | + |
| 39 | + Intel does not recommend use of CTS mode with AES/SM4. |
0 commit comments