Commit Graph

4768 Commits (0ca4c41a9780814de19b997f1635668781dd5fdb)

Author SHA1 Message Date
Jeffrey Walton c1ad534038
Update comments 2019-01-30 01:45:09 -05:00
Jeffrey Walton 38f694924f
Update License.txt 2019-01-30 01:35:55 -05:00
Jeffrey Walton 892103f2b0
Update License.txt 2019-01-30 01:21:29 -05:00
Jeffrey Walton dd48a7acef
Fix ChaCha20/Poly1305 when using filters (GH #724) 2019-01-30 00:55:27 -05:00
Jeffrey Walton a4f6da8d30
Update documentation 2019-01-28 22:42:34 -05:00
Jeffrey Walton 281831c08a
Fix ChaCha20Poly1305 padding 2019-01-28 20:56:10 -05:00
Jeffrey Walton cb674918b3
Add ChaCha20Poly1305 benchmarks (GH #724) 2019-01-28 10:18:04 -05:00
Jeffrey Walton 7c3414b072
Fix ChaCha20Poly1305 IVSize() (GH #724) 2019-01-28 10:01:19 -05:00
Jeffrey Walton fcf637082d
Clear Doxygen warnings 2019-01-28 09:09:41 -05:00
Jeffrey Walton 30e7469f5e
Clear Doxygen warnings 2019-01-28 09:06:49 -05:00
Jeffrey Walton 315e54e63d
Add ChaCha20/Poly1305 AEAD cipher (GH #724) 2019-01-28 08:52:56 -05:00
Jeffrey Walton 3cb86675af
Update documentation 2019-01-28 06:13:43 -05:00
Jeffrey Walton 6ef865fbcd
Update documentation 2019-01-27 12:13:09 -05:00
Jeffrey Walton 3f37cfc3a3
Update documentation 2019-01-27 11:54:35 -05:00
Jeffrey Walton f78a5b2eb8
Avoid extra memcpy in Poly1305 Resynchronize 2019-01-27 09:08:02 -05:00
Jeffrey Walton d2c030638d
Convert CONSTANT_TIME_CARRY to inline function 2019-01-27 08:46:05 -05:00
Jeffrey Walton 143537467f
Add Andrew Moon's Donna curve contributions 2019-01-27 07:27:43 -05:00
Jeffrey Walton 0186d31be0
Update documentation 2019-01-27 06:56:12 -05:00
Jeffrey Walton d852c18fe8
Update comments 2019-01-27 06:46:45 -05:00
Jeffrey Walton 33e401116c
Fix Poly1305TLS on big-endian systems (GH #727) 2019-01-27 06:37:48 -05:00
Jeffrey Walton 4d25979403
Update documentation 2019-01-27 05:48:37 -05:00
Jeffrey Walton 6770a8dad4
Update documentation 2019-01-27 05:45:05 -05:00
Jeffrey Walton 62ce6db97d
Fix missing GF2NT_233_Multiply_Reduce_ARMv8 on Aarch64 2019-01-27 02:18:19 -05:00
Jeffrey Walton e388f2d88d
Add Poly1305TLS algorithm (GH #727)
This is the IETF's rendition of Poly1305 that forgoes AES and the nonce, and uses 16-bytes of the key directly to mac the message
2019-01-27 01:41:53 -05:00
Jeffrey Walton 6cd2d0a06a
Fix Aarch64 build when CRYPTOPP_ARM_PMULL_AVAILABLE=0 2019-01-26 20:20:45 -05:00
Jeffrey Walton 6a76dc5ecf
Refactor Poly1305(AES) in preparation for IETF rendition (GH #727) 2019-01-26 13:53:21 -05:00
Jeffrey Walton e17f17d8fc
Add tamper comment to Poly1305(AES) tests 2019-01-26 13:12:46 -05:00
Jeffrey Walton 69286301e0
Add Poly1305(AES) test vectors 2019-01-26 12:54:47 -05:00
Jeffrey Walton 64a89bf352
Update License.txt with CRYPTOGAMS text 2019-01-26 05:12:20 -05:00
Jeffrey Walton e719a1a0ea
Add CRYPTOGAMS copyright notice for Poly1305 scalar multiplication 2019-01-26 04:43:55 -05:00
Jeffrey Walton 83f41e0d76
Update documentation 2019-01-26 00:12:11 -05:00
Jeffrey Walton b9d2310beb
Use ROUNDS constant for ChaChaTLS 2019-01-25 23:27:48 -05:00
Jeffrey Walton 76bdb328a6
Switch to RFC 8439 for ChaChaTLS
Unfortunately the block counter wrap problem is still present.
2019-01-25 21:51:43 -05:00
Jeffrey Walton 82f80124e6
Update comments 2019-01-25 19:49:17 -05:00
Jeffrey Walton 779e28a9b0
Update comments 2019-01-25 19:04:34 -05:00
Jeffrey Walton c1f9b484b7
Use ChaChaTLS in benchmarks 2019-01-25 08:20:25 -05:00
Jeffrey Walton 6a68abea0a
Update comments 2019-01-25 08:14:23 -05:00
Jeffrey Walton 97df2b960b
Update comments 2019-01-25 07:54:00 -05:00
Jeffrey Walton dcd9e67eeb
Refactor ChaCha and ChaChaTLS use a common core 2019-01-25 06:40:12 -05:00
Jeffrey Walton 70dcd29e0b
Refactor ChaCha and ChaChaTLS use a common core 2019-01-25 06:18:58 -05:00
Jeffrey Walton 798e4d85b3
Update comments 2019-01-25 05:06:06 -05:00
Jeffrey Walton d7e416d403
Add additional ChaChaTLS test vectors
These test vectors were generated from a modified Bernstein reference implementation.
2019-01-25 05:03:27 -05:00
Jeffrey Walton d25ba0c59a
Enable SIMD implementation for ChaChaTLS (GH #265) 2019-01-25 02:57:11 -05:00
Jeffrey Walton caaaaa7691
Add additional ChaChaTLS test vectors
These test vectors were generated from a modified Bernstein reference implementation.
2019-01-25 02:34:44 -05:00
Jeffrey Walton acde2f8e5e
Use word64 for ChaChaTLS InitialBlock (GH #265) 2019-01-25 02:34:07 -05:00
Jeffrey Walton 7923a97d24
Enable ChaCha-TLS tests in test vectors 2019-01-25 01:03:22 -05:00
Jeffrey Walton f23b58b73c
Remove rounds from ChaChaTLS
Rounds are alwys 20 in the IETF implementation.
2019-01-24 22:26:15 -05:00
Jeffrey Walton 099f870c55
Add additional ChaChaTLS test vectors from RFC 7539 2019-01-24 21:15:48 -05:00
Jeffrey Walton a29b734a0f
Fix AlgorithmProvider for ChaChaTLS 2019-01-24 09:46:56 -05:00
Jeffrey Walton 5603661eec
Add ChaChaTLS implementation (GH #265)
We tweaked ChaCha to arrive at the IETF's implementation specified by RFC 7539. We are not sure how to handle block counter wrap. At the moment the caller is responsible for managing it. We were not able to find a reference implementation so we disable SIMD implementations like SSE, AVX, NEON and Power4. We need the wide block tests for corner cases to ensure our implementation is correct.
2019-01-24 09:36:05 -05:00