On Thu, Jul 16, 2015 at 07:13:58PM +0200, Martin Willi wrote:
> This patch series adds both ChaCha20 and Poly1305 specific ciphers for
> x86_64 using SSE2/SSSE3 and AVX2 instructions. The idea is to have a drop-in
> replacement for AESNI/CLMUL-accelerated AES-GCM providing at least somewhat
> comparable performance, refer to RFC7539 for details. It is based on 
> cryptodev,
> including the ChaCha20/Poly1305 AEAD interface conversion patch.
> 
> The first patch adds some speed tests to tcrypt. The second patch exports
> some functionality from chacha20-generic to use it as fallback. Patch 3
> adds a single block SSSE3 driver for ChaCha20, while patch 4 and 5 extend it
> by an optimized four block SSSE3 and an eight block AVX2 variant. Patch 6
> adds an additional test vector for ChaCha20 to actually test the AVX2 eight
> block variant processing 512-bytes at once.
> 
> Patch 7 exports some poly1305-generic functionality to use it as fallback.
> Patch 8 introduces a single block SSE2 driver for Poly1305, while patch 9
> and 10 add an optimized two block SSE2 and a four block AVX2 variant.
> 
> Overall speedup for the ChaCha20/Poly1305 AEAD for typical IPsec payloads
> is ~50-150% with SSE2/SSSE3 and ~100-200% with AVX2, or even more for larger
> payloads:

All applied.  Thanks Martin!
-- 
Email: Herbert Xu <herb...@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to