diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-10-08 06:44:48 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-10-08 06:44:48 -0400 |
commit | 87d7bcee4f5973a593b0d50134364cfe5652ff33 (patch) | |
tree | 677125896b64de2f5acfa204955442f58e74cfa9 /crypto/Kconfig | |
parent | 0223f9aaef94a09ffc0b6abcba732e62a483b88c (diff) | |
parent | be34c4ef693ff5c10f55606dbd656ddf0b4a8340 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
Pull crypto update from Herbert Xu:
- add multibuffer infrastructure (single_task_running scheduler helper,
OKed by Peter on lkml.
- add SHA1 multibuffer implementation for AVX2.
- reenable "by8" AVX CTR optimisation after fixing counter overflow.
- add APM X-Gene SoC RNG support.
- SHA256/SHA512 now handles unaligned input correctly.
- set lz4 decompressed length correctly.
- fix algif socket buffer allocation failure for 64K page machines.
- misc fixes
* git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: (47 commits)
crypto: sha - Handle unaligned input data in generic sha256 and sha512.
Revert "crypto: aesni - disable "by8" AVX CTR optimization"
crypto: aesni - remove unused defines in "by8" variant
crypto: aesni - fix counter overflow handling in "by8" variant
hwrng: printk replacement
crypto: qat - Removed unneeded partial state
crypto: qat - Fix typo in name of tasklet_struct
crypto: caam - Dynamic allocation of addresses for various memory blocks in CAAM.
crypto: mcryptd - Fix typos in CRYPTO_MCRYPTD description
crypto: algif - avoid excessive use of socket buffer in skcipher
arm64: dts: add random number generator dts node to APM X-Gene platform.
Documentation: rng: Add X-Gene SoC RNG driver documentation
hwrng: xgene - add support for APM X-Gene SoC RNG support
crypto: mv_cesa - Add missing #define
crypto: testmgr - add test for lz4 and lz4hc
crypto: lz4,lz4hc - fix decompression
crypto: qat - Use pci_enable_msix_exact() instead of pci_enable_msix()
crypto: drbg - fix maximum value checks on 32 bit systems
crypto: drbg - fix sparse warning for cpu_to_be[32|64]
crypto: sha-mb - sha1_mb_alg_state can be static
...
Diffstat (limited to 'crypto/Kconfig')
-rw-r--r-- | crypto/Kconfig | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig index 77daef031db5..87bbc9c1e681 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig | |||
@@ -158,6 +158,20 @@ config CRYPTO_CRYPTD | |||
158 | converts an arbitrary synchronous software crypto algorithm | 158 | converts an arbitrary synchronous software crypto algorithm |
159 | into an asynchronous algorithm that executes in a kernel thread. | 159 | into an asynchronous algorithm that executes in a kernel thread. |
160 | 160 | ||
161 | config CRYPTO_MCRYPTD | ||
162 | tristate "Software async multi-buffer crypto daemon" | ||
163 | select CRYPTO_BLKCIPHER | ||
164 | select CRYPTO_HASH | ||
165 | select CRYPTO_MANAGER | ||
166 | select CRYPTO_WORKQUEUE | ||
167 | help | ||
168 | This is a generic software asynchronous crypto daemon that | ||
169 | provides the kernel thread to assist multi-buffer crypto | ||
170 | algorithms for submitting jobs and flushing jobs in multi-buffer | ||
171 | crypto algorithms. Multi-buffer crypto algorithms are executed | ||
172 | in the context of this kernel thread and drivers can post | ||
173 | their crypto request asynchronously to be processed by this daemon. | ||
174 | |||
161 | config CRYPTO_AUTHENC | 175 | config CRYPTO_AUTHENC |
162 | tristate "Authenc support" | 176 | tristate "Authenc support" |
163 | select CRYPTO_AEAD | 177 | select CRYPTO_AEAD |
@@ -559,6 +573,22 @@ config CRYPTO_SHA1_PPC | |||
559 | This is the powerpc hardware accelerated implementation of the | 573 | This is the powerpc hardware accelerated implementation of the |
560 | SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2). | 574 | SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2). |
561 | 575 | ||
576 | config CRYPTO_SHA1_MB | ||
577 | tristate "SHA1 digest algorithm (x86_64 Multi-Buffer, Experimental)" | ||
578 | depends on X86 && 64BIT | ||
579 | select CRYPTO_SHA1 | ||
580 | select CRYPTO_HASH | ||
581 | select CRYPTO_MCRYPTD | ||
582 | help | ||
583 | SHA-1 secure hash standard (FIPS 180-1/DFIPS 180-2) implemented | ||
584 | using multi-buffer technique. This algorithm computes on | ||
585 | multiple data lanes concurrently with SIMD instructions for | ||
586 | better throughput. It should not be enabled by default but | ||
587 | used when there is significant amount of work to keep the keep | ||
588 | the data lanes filled to get performance benefit. If the data | ||
589 | lanes remain unfilled, a flush operation will be initiated to | ||
590 | process the crypto jobs, adding a slight latency. | ||
591 | |||
562 | config CRYPTO_SHA256 | 592 | config CRYPTO_SHA256 |
563 | tristate "SHA224 and SHA256 digest algorithm" | 593 | tristate "SHA224 and SHA256 digest algorithm" |
564 | select CRYPTO_HASH | 594 | select CRYPTO_HASH |