Jeffrey Walton
462bcc859d
Update Poly1305 nonce length check
2019-06-04 04:39:19 -04:00
Jeffrey Walton
95bc90adc4
Clear unused warnings with MSVC
2019-02-22 08:38:20 -05:00
Jeffrey Walton
0ca4c41a97
Add ed25519 SignStream and VerifyStream functions (GH #796 , PR #797 )
2019-02-10 23:08:14 -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
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
6770a8dad4
Update documentation
2019-01-27 05:45:05 -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
6a76dc5ecf
Refactor Poly1305(AES) in preparation for IETF rendition (GH #727 )
2019-01-26 13:53:21 -05:00
Jeffrey Walton
e719a1a0ea
Add CRYPTOGAMS copyright notice for Poly1305 scalar multiplication
2019-01-26 04:43:55 -05:00
Jeffrey Walton
b74a6f4445
Add algorithm provider member function to Algorithm class
2018-07-06 09:23:37 -04:00
Jeffrey Walton
2e246b91d7
Fix missing Poly1305<AES> from Autools shared object on Solaris and Aarch64
2017-11-05 07:18:30 -05:00
Jeffrey Walton
9559517ce4
Fix broken link (GH #528 )
2017-11-05 05:25:06 -05:00
Jeffrey Walton
c50f2f23d8
Add more Autotools artifacts to distclean recipe
2017-11-05 03:38:19 -05:00
Jeffrey Walton
09023bf45e
Align buffers for Poly1305 and VMAC
2017-09-05 16:43:29 -04:00
Jeffrey Walton
37e02f9e0e
Revert AltiVec and Power8 commits
...
The strategy of "cleanup under-aligned buffers" is not scaling well. Corner cases are still turing up. The library has some corner-case breaks, like old 32-bit Intels. And it still has not solved the AltiVec and Power8 alignment problems.
For now we are backing out the changes and investigating other strategies
2017-09-05 16:28:00 -04:00
Jeffrey Walton
d0eefdf32a
Use aligned buffer for Poly1305 nonce
2017-09-04 19:28:19 -04:00
Jeffrey Walton
8578383e2c
Switch to static_cast
2017-09-03 20:33:01 -04:00
Jeffrey Walton
0357e508e4
Make nonce a class member rather than temporary
...
Effectively this creates a workspace for encrypting the nonce. The zeroizer will run when the class is destroyed, rather than each invocation of UncheckedSetKey.
Performance went from 3.6 cpb as a temporary to 2.9 cpb as a class member
2017-08-05 06:05:57 -04:00
Jeffrey Walton
5efb019d8b
Add C++ nullptr support (Issue 383)
2017-03-01 06:10:06 -05:00
Jeffrey Walton
8c20630c2d
Remove extra preamble for copyright.
...
Similar text may be added in the future
2017-02-21 02:54:09 -05:00
Jeffrey Walton
fa99ece0c5
Add call to ThrowIfInvalidTruncatedSize in SipHash Final
2016-12-18 23:01:33 -05:00
Jeffrey Walton
406bec8fc7
Backed-off assert for poly1305.cpp in Debug builds
2016-12-01 21:52:01 -05:00
Jeffrey Walton
d91244a657
Sync'd cryptest.sh. Cleared shadow variable warning in poly1305.cpp
2016-12-01 21:11:48 -05:00
Jeffrey Walton
4ee9fe3acc
Renamed ProcessBlocks → HashBlocks. Updated comments and documentation
2016-11-28 09:51:54 -05:00
Jeffrey Walton
6c9deef853
Updated documentation. Whitespace
2016-11-27 20:09:55 -05:00
Jeffrey Walton
7b36f81dc5
Updated documentation. Whitespace
2016-11-27 18:54:09 -05:00
Jeffrey Walton
62e99837e8
Add Poly1305 class (Issue 338)
2016-11-27 15:31:50 -05:00