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