Commit Graph

38 Commits

Author SHA1 Message Date
Jeffrey Walton
ac6987f3ae
Use \return and \throw consitently in the docs 2020-12-07 23:35:10 -05:00
Jeffrey Walton
dd7598e638
Remove 64-bit AdvancedProcessBlocks (GH #945) 2020-07-07 15:22:09 -04:00
Jeffrey Walton
62ee118379
Disable SIMON64 and SPECK64 SIMD code (GH #945) 2020-07-07 04:19:36 -04:00
Jeffrey Walton
20a4626b5d Update documentation 2020-01-01 21:08:21 -05:00
Jeffrey Walton
9e824c4369
Use byte pointer for CONST_V32_CAST and NCONST_V32_CAST
The underlying byte arrays may not be aligned for a word
2019-11-16 00:08:56 -05:00
Jeffrey Walton
759e586bf0
Sidestep failed self tests on GCC135 2019-11-15 22:55:21 -05:00
Jeffrey Walton
6da6b7f5ac
Enable Power7 for Simon and Speck (PR #909) 2019-10-27 14:02:41 -04:00
Jeffrey Walton
6eeebaf26b
Update documentation 2019-07-04 13:57:33 -04:00
Jeffrey Walton
e86a6b32eb
Add CRYPTOPP_BUGGY_SIMD_LOAD_AND_STORE (GH #782)
I also suspect this has something to do with GH #768 and several others
2019-01-16 17:06:39 -05:00
Jeffrey Walton
0aa217b91c
Update comments in config.h
Some comments in config.h were old. Time for a refresh.
Switch from CRYPTOPP_BOOL_ARM64 to CRYPTOPP_BOOL_ARMV8. Aarch32 is ARMv8, and that's the important part.
2018-12-09 10:24:55 -05:00
Jeffrey Walton
23279dcd45
Update documentation 2018-10-14 08:21:56 -04:00
Jeffrey Walton
25116f5aae
Enable SSSE3 and SSE4 for SIMON and SPECK on Solaris with SunCC 5.13 and above 2018-08-17 09:02:24 -04:00
Jeffrey Walton
d221336f42
Add POWER8 SPECK-64 implementation 2018-08-14 03:36:49 -04:00
Jeffrey Walton
898dab99b8
Add POWER8 SPECK-128 implementation
Performance went from about 14 cpb to 2-3 cpb, depending on endian-ness
2018-08-12 04:08:33 -04:00
Jeffrey Walton
5ea410c1d3
Update comments 2018-07-27 01:57:33 -04:00
Jeffrey Walton
f165d1822d
More SunStudio/SunCC workarounds 2018-07-27 01:51:27 -04:00
Jeffrey Walton
380829284c
Update documentation 2018-07-13 09:54:06 -04:00
Jeffrey Walton
b74a6f4445
Add algorithm provider member function to Algorithm class 2018-07-06 09:23:37 -04:00
Flo
63b655d7ee Access modifiers for SIMON and SPECK ciphers modified. (#644)
- ProcessAndXorBlock
- AdvancedProcessBlocks
now public instead of protected.
2018-04-20 20:54:02 -04:00
Jeffrey Walton
e5a362c026
Re-add Simon and Speck, enable NEON and Aarch64 (GH #585)
This commit re-adds Simon and Speck. The commit includes NEON, Aarch32 and Aarch64
2018-02-19 04:47:19 -05:00
Jeffrey Walton
e416b243d3
Re-add Simon and Speck, enable SSE (GH #585)
This commit re-adds Simon and Speck. The commit includes C++, SSSE3 and SSE4. NEON, Aarch32 and Aarch64 are disabled at the moment.
2018-02-18 23:23:50 -05:00
Jeffrey Walton
15b14cc618
Remove Simon and Speck ciphers (GH #585)
We recently learned our Simon and Speck implementation was wrong. The removal will stop harm until we can loop back and fix the issue.
The issue is, the paper, the test vectors and the ref-impl do not align. Each produces slightly different result. We followed the test vectors but they turned out to be wrong for the ciphers.
We have one kernel test vector but we don't have a working implementation to observe it to fix our implementation. Ugh...
2018-02-14 04:06:16 -05:00
Jeffrey Walton
befd04312d
Remove unneeded Doxygen directive 2018-01-19 14:31:20 -05:00
Jeffrey Walton
1de143203e
Add SPECK-64 NEON intrinsics 2017-12-03 18:47:39 -05:00
Jeffrey Walton
cd55613b80
Disable NEON for SPECK-64
This was inadvertently checked-in
2017-12-03 11:02:15 -05:00
Jeffrey Walton
f0e49785f6
Fix incorrect SPECK-128 decrypt when blocks >= 6
Add defines for CRYPTOPP_SPECK64_ADVANCED_PROCESS_BLOCKS and CRYPTOPP_SPECK128_ADVANCED_PROCESS_BLOCKS
2017-12-03 09:00:39 -05:00
Jeffrey Walton
6bb1f1d9c4
Add SPECK-64 SSE intrinsics
Performance went from about 11.9 cpb (C++) to about 4.5 cpb (SSE)
2017-12-03 02:28:40 -05:00
Jeffrey Walton
61ec50dabe
Change Doxygen comment style from //! to ///
Also see https://groups.google.com/forum/#!topic/cryptopp-users/A7-Xt5Knlzw
2017-11-29 10:54:33 -05:00
Jeffrey Walton
7576cca8d2
Switch to 'L' for blocksize in SPECK_Info 2017-11-26 23:51:05 -05:00
Jeffrey Walton
d19ef1c716
Update documentation 2017-11-26 01:59:06 -05:00
Jeffrey Walton
304809a65d
Add NEON and ASIMD intrinsics for SPECK-128 (GH #538)
Performance increased by about 115% on a 980 MHz BananaPi dev-board. Throughput went from about 46.2 cpb to about 21.5 cpb.
2017-11-23 02:47:44 -05:00
Jeffrey Walton
39697d92bf
Add SSSE3 intrinsics for SPECK-128 (GH #538)
Performance increased by about 100% on a 3.1 GHz Core i5 Skylake. Throughput went from about 7.3 cpb to about 3.5 cpb. Not bad for a software-based implementation of a block cipher
2017-11-22 07:57:39 -05:00
Jeffrey Walton
3f7eb03eaf
Update documentation 2017-11-21 15:29:41 -05:00
Jeffrey Walton
6b7a7b1ca6
Update documentation 2017-11-21 15:16:53 -05:00
Jeffrey Walton
8cc76597c6
Fix AlgorithmName() for 128-bit block SIMON and SPECK 2017-11-21 06:48:37 -05:00
Jeffrey Walton
c14e054ed8
Fix AlgorithmName() for 128-bit block SIMON and SPECK 2017-11-21 06:40:02 -05:00
Jeffrey Walton
4b3560baef
Update documentation
Whitespace check-in
2017-11-20 08:33:33 -05:00
Jeffrey Walton
b9fc470bc7
Add SPECK-64 and SPECK-128 lightweight block ciphers (GH #538) 2017-11-20 06:30:21 -05:00