Commit Graph

18 Commits

Author SHA1 Message Date
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