commit | 7a507d62258afd514583fadf1482451079fa0e4d | [log] [tgz] |
---|---|---|
author | Eric Biggers <ebiggers@google.com> | Tue Dec 04 22:20:04 2018 -0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu Dec 13 18:24:58 2018 +0800 |
tree | bff7778a6fcb50dc9f8030fe7710f011ce857ff2 | |
parent | 8b65f34c5821e7361488dc668d21195ea4c9f14d [diff] |
crypto: x86/chacha - add XChaCha12 support Now that the x86_64 SIMD implementations of ChaCha20 and XChaCha20 have been refactored to support varying the number of rounds, add support for XChaCha12. This is identical to XChaCha20 except for the number of rounds, which is 12 instead of 20. This can be used by Adiantum. Reviewed-by: Martin Willi <martin@strongswan.org> Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>