diff options
Diffstat (limited to 'crypto/Kconfig')
-rw-r--r-- | crypto/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig index 6563366bae80..b901b590635f 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig | |||
@@ -324,9 +324,19 @@ config CRYPTO_CRC32C | |||
324 | by iSCSI for header and data digests and by others. | 324 | by iSCSI for header and data digests and by others. |
325 | See Castagnoli93. Module will be crc32c. | 325 | See Castagnoli93. Module will be crc32c. |
326 | 326 | ||
327 | config CRYPTO_CRC32C_X86_64 | ||
328 | bool | ||
329 | depends on X86 && 64BIT | ||
330 | select CRYPTO_HASH | ||
331 | help | ||
332 | In Intel processor with SSE4.2 supported, the processor will | ||
333 | support CRC32C calculation using hardware accelerated CRC32 | ||
334 | instruction optimized with PCLMULQDQ instruction when available. | ||
335 | |||
327 | config CRYPTO_CRC32C_INTEL | 336 | config CRYPTO_CRC32C_INTEL |
328 | tristate "CRC32c INTEL hardware acceleration" | 337 | tristate "CRC32c INTEL hardware acceleration" |
329 | depends on X86 | 338 | depends on X86 |
339 | select CRYPTO_CRC32C_X86_64 if 64BIT | ||
330 | select CRYPTO_HASH | 340 | select CRYPTO_HASH |
331 | help | 341 | help |
332 | In Intel processor with SSE4.2 supported, the processor will | 342 | In Intel processor with SSE4.2 supported, the processor will |