Commit Graph

  • bc29f1b5b8
    Updated documentation Jeffrey Walton 2017-05-09 15:13:11 -0400
  • 4f7fee38d6
    Mkaake RDRAND and RDSEED throw if not available Fix Carmichael pseudo-prime tests Jeffrey Walton 2017-05-09 13:20:53 -0400
  • 8a177c58e6
    Add validation for W3C_PADDING InitializeDerivedAndReturnNewSizes This should have occurred with PR 368 or Commit 8e088b4865 Jeffrey Walton 2017-05-09 00:58:42 -0400
  • 6ca68e714b
    Updated documentation Jeffrey Walton 2017-05-08 23:25:39 -0400
  • ffa92b09e6
    Add test for Carmichael pseudo-primes Jeffrey Walton 2017-05-08 22:36:58 -0400
  • ba8882db39
    Use [31398, 31468] for prime gap test Jeffrey Walton 2017-05-08 17:03:06 -0400
  • 7421bd2055
    Fix "Load of address X with insufficient space for an object of type const word32" Jeffrey Walton 2017-05-08 16:17:17 -0400
  • fe2d5752cd
    Switch to library's GetUserKey Jeffrey Walton 2017-05-08 14:32:30 -0400
  • 7ba33868e0
    Add zLib compressor and decompressor tests Jeffrey Walton 2017-05-08 06:08:27 -0400
  • 798f1c9ed8
    Clear warnings under Visual Studio Jeffrey Walton 2017-05-08 05:13:55 -0400
  • 238b5e6188
    Whitespace check-in Jeffrey Walton 2017-05-08 03:20:23 -0400
  • 1d7dfc6927
    Port Kalyna to big-endian (Issue 411) Tested on GCC110 from the GCC compile farm. Performance is comparable to AES on GCC110. Jeffrey Walton 2017-05-08 01:59:37 -0400
  • b51386adc0 Fix build for Clang on Windows with optimizations on. RaptorFactor 2017-05-07 06:16:46 -0700
  • c35e616cbf
    Make make_odd_key_NNN a template function Jeffrey Walton 2017-05-06 23:59:17 -0400
  • c62e1ade6e
    Add Makefile recipe for Valgrind builds Jeffrey Walton 2017-05-06 22:54:49 -0400
  • 9cf9f4235d
    Add timing attack countermeasures to Kalyna (Issue 411) The code at check-in a5c67cfdd6 did not include it. Unlike Threefish, it looks like Kalyna could benefit from the cache hardening given how similar Kalyna is to AES. The hardening costs less than 0.1 cpb, which equates to about 199 MB/s vs 201 MB/s on a 6th gen Skylake Jeffrey Walton 2017-05-06 20:14:26 -0400
  • 14236ce94b
    Fold compressor and default encryptor tests Jeffrey Walton 2017-05-06 19:20:57 -0400
  • bdd82d781e
    Added additional tests Jeffrey Walton 2017-05-06 18:51:55 -0400
  • c04b98072c
    Fix compile error with -DNO_OS_DEPENDENCE Whitespace check-in Jeffrey Walton 2017-05-06 18:00:57 -0400
  • 374b8a419f
    Added additional tests Jeffrey Walton 2017-05-06 11:37:22 -0400
  • 3ea8e0655f
    Add constants to default encryptor classes Jeffrey Walton 2017-05-06 09:07:24 -0400
  • 6ad999ef2f
    Updated documentation Jeffrey Walton 2017-05-06 08:18:54 -0400
  • a5c67cfdd6
    Add Kalyna block cipher (Issue 411) Thanks to Roman Oliynykov and Oleksandr Kazymyrov for their assistance. Thanks to Keru Kuro for the reference implementation. Jeffrey Walton 2017-05-06 00:24:35 -0400
  • 06092259c2
    Make UncheckedKeySet and ProcessXorBlocks protected Jeffrey Walton 2017-05-06 00:21:24 -0400
  • 02df6ea847
    Add additional self tests under debug builds Jeffrey Walton 2017-05-05 23:16:28 -0400
  • ac930b084d
    Add additional tests Whitespace check-in Jeffrey Walton 2017-05-05 20:34:43 -0400
  • 9225ca09cb
    Updated MersenneTwister tests The tests now include the first 10 elements of the sequence to ensure a properly implemented algorithm and endianess correctness. Jeffrey Walton 2017-05-05 19:00:17 -0400
  • c1377b2955
    Add additional self tests under debug builds Jeffrey Walton 2017-05-05 17:21:08 -0400
  • 5c1de7b5a5
    Add variable block size support to test and benchmarks CRYPTOPP_COVERAGE was added at 9614307ab7 to increase code coverage support. This commit enables additional validation routines when CRYPTOPP_COVERAGE is in effect. Jeffrey Walton 2017-05-04 19:11:24 -0400
  • 9614307ab7
    Add CRYPTOPP_COVERAGE define for 'make coverage' recipe Jeffrey Walton 2017-05-04 03:01:07 -0400
  • 7131a0fbb8
    Add VariableBlockSize constants to FixedBlockSize This also follows the pattern set forth by FxiedKeyLength and VariableKeyLength Jeffrey Walton 2017-05-03 22:34:37 -0400
  • 2d9678fa6d
    Remove BLOCKSIZE from VariableBlockSize (Issue 408) VariableBlockSize and VariableBlockCipherImpl were added at Commit bd8edfa87b. Reflecting on FixedKeyLength and VariableKeyLength, the const KEYLENGTH is only provided by FixedKeyLength. VariableKeyLength provides DEFAULT_KEYLENGTH. This check-in makes VariableBlockSize follow VariableKeyLength. This check-in also splits block size and iv length. Its conceivable we will encounter a cipher with a block size of 128-bits with an iv of 256-bits. The bd8edfa87b check-in could not handle the difference, so we fix it now. Jeffrey Walton 2017-05-03 21:06:49 -0400
  • ca9e788fbf
    Add const GetStream() member function Jeffrey Walton 2017-05-02 18:25:58 -0400
  • 554b7a2747
    Fix "error: inlining failed ... target specific option mismatch (Issue 407) Jeffrey Walton 2017-05-01 17:54:05 -0400
  • f8c1348667
    Fix "There are no arguments to ‘GetAlgorithm’ that depend on a template parameter" Jeffrey Walton 2017-05-01 16:56:21 -0400
  • a33a3435f4
    Remove HashFunction typedef (Issue 369) This should have happened when we removed most of MAINTAIN_BACKWARDS_COMPATIBILITY artifacts. Jeffrey Walton 2017-05-01 16:41:43 -0400
  • 9db82ed793
    Use symbolic defines StaticGetDefaultBlockSize Jeffrey Walton 2017-05-01 16:40:32 -0400
  • bd8edfa87b
    Add variable block size support for block ciphers Jeffrey Walton 2017-05-01 16:23:57 -0400
  • 1543649ead
    Cleanup ARIA typedefs Jeffrey Walton 2017-04-28 21:35:55 -0400
  • ff9b46e513 Merge pull request #405 from kvirund/alignment.issues Jeffrey Walton 2017-04-27 15:52:39 -0400
  • 7eeab3d0bf Added -xmemalign=4i compiler option for Sparc's. Anton Gorev 2017-04-27 14:15:12 -0500
  • 1df5fc1e21 Revert "Some fixes related to SunCC compiler bugs." Anton Gorev 2017-04-27 13:50:47 -0500
  • 2297dd000a
    Removed "typedef SHA1 SHA" (Issue 369) This should have happened when we removed most of MAINTAIN_BACKWARDS_COMPATIBILITY artifacts. Its not practical move SHA1 into Weak:: namespace or "typedef SHA256 SHA" because SHA1 is too intertwined at the moment. Jeffrey Walton 2017-04-24 05:05:14 -0400
  • 64f1b50b7f
    Add pclmulqdq for OS X disassembly tests Jeffrey Walton 2017-04-24 03:05:37 -0400
  • e2f5da337e
    Add mapfile to allow additional capability bits Also see http://www.oracle.com/technetwork/server-storage/solaris/hwcap-modification-139536.html Jeffrey Walton 2017-04-23 12:11:08 -0400
  • 422600c5b8
    Update scripts for testing Jeffrey Walton 2017-04-23 07:38:25 -0400
  • 89176e51cd
    Add safety for SSSE4.1 and SSE4.2 intructions They are giving ARIA and BLAKE2 trouble. It looks like SSE4 support appeared in the GCC compiler around 4.1 or 4.2. It looks like SHA support appeared in the GNU assembler around 2.18 Jeffrey Walton 2017-04-23 06:37:03 -0400
  • 96cc3522ce
    Add test for '-march=native' Jeffrey Walton 2017-04-22 23:37:13 -0400
  • 4478e4cf39
    Removed Unified ASM and Modern Compiler tests Unified adds no value, and modern compilers are already tested Jeffrey Walton 2017-04-22 21:22:32 -0400
  • 7562e38ad6
    Add safety for SHA intructions It looks like SHA support appeared in the GCC compiler around 4.8 or 4.9. It looks like SHA support appeared in the GNU assembler around 2.23 Jeffrey Walton 2017-04-22 19:46:13 -0400
  • f818d4e50f
    Updated code generation tests Jeffrey Walton 2017-04-22 16:27:37 -0400
  • b9abd7141e
    Fix endian-reversal and loading of MSG0-MSG3 Jeffrey Walton 2017-04-22 12:19:55 -0400
  • 707117aef0 Merge 3f128e4667 into cd65ce873a Gustavo Serra Scalet 2017-04-22 05:38:09 +0000
  • cd65ce873a
    Add -xmemalign=4i for Sun SPARC (Issue 403) Jeffrey Walton 2017-04-22 01:15:17 -0400
  • 12b5074c72
    Fix SunCC and "_mm_set_epi8 must have prototype" Jeffrey Walton 2017-04-22 00:17:45 -0400
  • c25edcaff3
    Add potential workaround for Solaris SIGBUS Jeffrey Walton 2017-04-22 00:05:55 -0400
  • 8ded8bc38d
    Clear SunCC anachronism warning "Attempt to redefine IS_BIG_ENDIAN without using #undef" Jeffrey Walton 2017-04-21 23:52:43 -0400
  • 1249ac16eb Merge pull request #402 from kvirund/alignment.issues Jeffrey Walton 2017-04-21 22:25:06 -0400
  • 63cc633be7 Reverted change in config.h as it does not fix anything. Anton Gorev 2017-04-21 21:23:08 -0500
  • 72d8cbe917 Some fixes related to SunCC compiler bugs. Anton Gorev 2017-04-21 15:26:16 -0500
  • cede0f3fb1
    Whitespace Jeffrey Walton 2017-04-18 02:57:38 -0400
  • ceecf3faf5
    Fix table whitespace Jeffrey Walton 2017-04-17 04:23:50 -0400
  • ba904cc9da
    Update algorithm list in cryptlib.h Jeffrey Walton 2017-04-17 02:39:22 -0400
  • f69504f6b4
    Cleanup travis.yml file Jeffrey Walton 2017-04-17 01:15:55 -0400
  • cfa98a32c0
    Add Win64 to exclude until the issues are sorted out Jeffrey Walton 2017-04-17 01:06:27 -0400
  • 3d9ac8f66f
    Add Travis configuration file Jeffrey Walton 2017-04-17 00:25:57 -0400
  • b784852998
    Add no-asm target to ease testing of -DCRYPTOPP_DISABLE_ASM This is intended to be used on Travis CI Jeffrey Walton 2017-04-17 00:20:22 -0400
  • 7df4418258
    Add allow_failures to appveyor.yml until we sort out some of the issues Jeffrey Walton 2017-04-16 15:57:46 -0400
  • 3504f1da25
    Add VS2010 - VS2017 images to appveyor.yml Jeffrey Walton 2017-04-16 15:10:20 -0400
  • dad532cb4b
    Remove stdio.h header Jeffrey Walton 2017-04-16 13:23:27 -0400
  • 1d1a150737
    Avoid extra loads of workspace variables Jeffrey Walton 2017-04-16 13:00:45 -0400
  • ddc0f3a899
    Switch to Put and Get blocks. Remove unneeded macros Jeffrey Walton 2017-04-16 08:06:20 -0400
  • 83a87cb4df
    Group DSA-RFC6979 tests together by hash value Jeffrey Walton 2017-04-15 09:03:22 -0400
  • 106106813a
    Add missing sha2 and sha3 test file names sha2.txt and sha3.txt are just collections of other files, so they don't take up much space. Jeffrey Walton 2017-04-15 08:50:03 -0400
  • 5e27404a15
    Add missing sha2 and sha3 test file names sha2.txt and sha3.txt are just collections of other files, so they don't take up much space. Jeffrey Walton 2017-04-15 08:49:00 -0400
  • 922568864e
    Convert tab to space for .appveyor.yml The configuration validated but the test build died Jeffrey Walton 2017-04-15 04:26:19 -0400
  • 2fba69fb16
    Add whitespace to test_script cmd Without the additional CRLF, Appveyor dies with on the command . The odd thing is, YAML validated OK. Jeffrey Walton 2017-04-15 04:22:26 -0400
  • 424bd710ac
    Add Configuration and Platform information Jeffrey Walton 2017-04-15 04:15:06 -0400
  • 1ace49049a
    Add clone depth to Appveyor Jeffrey Walton 2017-04-15 03:12:08 -0400
  • c0d6f3882b
    Add Appveyor configuration file Jeffrey Walton 2017-04-15 02:54:35 -0400
  • 556e3610e8
    Add CopyCryptestToRoot target Also see https://www.cryptopp.com/wiki/MSBuild_(Command_Line)#CopyCryptestToRoot Jeffrey Walton 2017-04-15 02:36:03 -0400
  • 163f8febe6
    Fix comment Jeffrey Walton 2017-04-14 07:19:04 -0400
  • 0f7aba8b4c Merge pull request #398 from anonimal/cmake Jeffrey Walton 2017-04-14 06:27:56 -0400
  • b081f7c634
    Use full S1 table for timing attack counter measures Change stride to cache line size divided by word size based on Yun's 32-bit word implementation Jeffrey Walton 2017-04-14 06:24:54 -0400
  • cf160e91c4
    Added comments on using InformationDisperseFile and SecretShareFile This is based on feedback from https://groups.google.com/forum/#\!topic/cryptopp-users/XEKKLCEFH3Y Jeffrey Walton 2017-04-13 23:13:07 -0400
  • bf92cb0039
    Split regtest.cpp into regtest{1|2|3}.cpp regtest.cpp is where ciphers register by name. The library has added a number of ciphers over the last couple of years and the source file has experienced bloat. Most of the ARM and MIPS test borads were suffering Out of Memory (OOM) kills as the compiler processed the source fille and the included header files. This won't stop the OOM kills, but it will help the situation. An early BeagleBoard with 512 MB of RAM is still going to have trouble, but it can be worked around by building with 1 make job as opposed to 2 or 4. Jeffrey Walton 2017-04-13 21:45:21 -0400
  • bae30d6767
    Add ARIA to nmake makefile for Windows Jeffrey Walton 2017-04-13 18:44:20 -0400
  • 70cf88f230
    Apply S-box timing attack counter measures to ARIA Jeffrey Walton 2017-04-13 17:46:51 -0400
  • 65c3c63b52
    Breakout and cleanup macros. Add CRYPTOPP_ENABLE_ARIA_SSE2_INTRINSICS, CRYPTOPP_ENABLE_ARIA_SSSE3_INTRINSICS and CRYPTOPP_ENABLE_ARIA_NEON_INTRINSICS. Jeffrey Walton 2017-04-13 17:45:58 -0400
  • 471e2f0d91
    Remove unneeded assert from Camellia Jeffrey Walton 2017-04-13 16:53:53 -0400
  • 2bb36c790e
    Add ARIA test vectors from RFC 5794 Jeffrey Walton 2017-04-13 16:00:59 -0400
  • 04908cca48
    Improve x86 and x64 ARIA performance The changes were meant to improve Windows, but GCC benefited more. Windows gained 0.3 cpb, while GCC gained 1.2 cpb Jeffrey Walton 2017-04-13 06:52:56 -0400
  • 35f95fb739
    Fix unaligned pointer crash on Win32 due to _mm_load_si128 Jeffrey Walton 2017-04-13 04:28:02 -0400
  • 59767be52e
    Add Intel and ARM intrinsics Jeffrey Walton 2017-04-12 23:28:41 -0400
  • f44e705c16 Add NEON intrinsics for ARIA_GSRK_NEON Update documentation Jeffrey Walton 2017-04-12 12:15:32 -0400
  • af561758df
    Rework ARIA_GSRK to have MSVC generate "rotate imm" rather than "rot reg" The immediate version of rotate can be 4 to 6 times faster than the register version Jeffrey Walton 2017-04-11 20:47:54 -0400
  • d6b295203b
    Additional library integration for ARIA Jeffrey Walton 2017-04-11 16:19:36 -0400
  • 0d742591e0
    Switch to code based on 32-bit implementation The 32-bit code is based on Aaram Yun's code. Yun's code combined with a few library specific tweaks improves performance to roughly Camellia. Jeffrey Walton 2017-04-11 11:39:45 -0400
  • 7990da2c02
    Reformat aria.txt test vectors Jeffrey Walton 2017-04-11 06:53:44 -0400
  • 8ca0f47939
    Add ARIA block cipher This is the reference implementation, test data and test vectors from the ARIA.zip package on the KISA website. The website is located at http://seed.kisa.or.kr/iwt/ko/bbs/EgovReferenceList.do?bbsId=BBSMSTR_000000000002. Jeffrey Walton 2017-04-10 10:52:40 -0400