Jeffrey Walton
d1087291b3
Back-off on Hash asserts (GH #652 )
...
The asserts were a little aggressive and caused very noisy Debug runs. The library itself was one of the biggest offenders.
2018-05-05 23:17:44 -04:00
Jeffrey Walton
3159969808
Back-off on Hash asserts (GH #652 )
...
The asserts were a little aggressive and caused very noisy Debug runs. The library itself was one of the biggest offenders.
2018-05-05 22:56:15 -04:00
Jeffrey Walton
3deb24b7de
Fix Android build after renaming defines for CMake
...
This change should have occurred during commits 188e0df650 and 5422f0c13a .
2018-05-05 21:46:17 -04:00
Jeffrey Walton
188e0df650
Rename CRYPTOPP_DISABLE_SHA → CRYPTOPP_DISABLE_SHANI …
...
This aligns both config.h and Cmake. Also see Gentoo Issue 654598 (https://bugs.gentoo.org/654598 )
2018-05-04 10:10:50 -04:00
Jeffrey Walton
5422f0c13a
Rename CRYPTOPP_DISABLE_AES → CRYPTOPP_DISABLE_AESNI
...
This aligns both config.h and Cmake. Also see Gentoo Issue 654598 (https://bugs.gentoo.org/654598 )
2018-05-03 21:28:17 -04:00
Asen Kovachev
039db17da7
Add CRYPTOPP_ASSERT to match Keccak and SHA3 ( #654 )
...
As described in https://github.com/weidai11/cryptopp/issues/652 for consistency we should add assert in all hash transformations. The expectation is to have a good pointer and a non-0 length or a null pointer and 0-length.
2018-05-03 20:12:34 -04:00
Jeffrey Walton
91faa5d399
Add AdditionalOptions property to VCXPROJ files (GH #649 )
2018-05-01 23:42:04 -04:00
Jeffrey Walton
55071c49c1
Fix failed Android tests on Travis
...
This change should have been made at https://github.com/weidai11/cryptopp/commit/e2bc3b55caab
2018-04-26 21:35:01 -04:00
PetteriHuusko
d132639881
Fix ios build for cases where Xcode is installed in a path with spaces (PR #646 )
2018-04-26 06:56:26 -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
e2bc3b55ca
Rename setenv-android.sh to setenv-android-gcc.sh (GH #637 )
...
This makes room for a Clang/LLVM version of the script
2018-04-19 22:39:07 -04:00
Jeffrey Walton
bdd0f02867
Make chenage-version.sh OS X friendly
2018-04-08 16:19:16 -04:00
Jeffrey Walton
4bb331f5d0
Post-release version increment
2018-04-08 15:58:25 -04:00
Jeffrey Walton
c8d8caf700
Prepare for Crypto++ 7.0 release
2018-04-08 04:48:59 -04:00
Jeffrey Walton
9a991ac1eb
Fix UBsan finding in HKDF
...
This was introduced when HKDF was reworked for the new KeyDerivationFunction interface
2018-04-08 03:20:14 -04:00
Jeffrey Walton
71e9fece87
Make CAST temporaries class members
2018-04-07 11:41:00 -04:00
Jeffrey Walton
11e076003a
Coverity finding CID 189203, 189204, 189205 (ARRAY_VS_SINGLETON)
...
The finding was an out-of-bounds read but Coverity does not realize the API takes a byte count, not element count. This change may produce the same finding.
2018-04-07 10:39:01 -04:00
Jeffrey Walton
cd8c03c816
Move PasswordBasedKeyDerivationFunction to cryptlib.h
2018-04-07 08:14:22 -04:00
Jeffrey Walton
4120e3a53f
Allow Travis iOS test failure for WatchOS (GH #570 )
...
Also see https://stackoverflow.com/q/45671493/608639
2018-04-06 07:21:53 -04:00
Jeffrey Walton
64a15cf51b
Order of initialization for ASN.1 decoders
2018-04-06 02:29:08 -04:00
Jeffrey Walton
62a9574f3f
Make AuthenticatedSymmetricCipher::AlgorithmName non-pure
...
Also see https://stackoverflow.com/q/49658309/608639
2018-04-05 20:34:08 -04:00
Jeffrey Walton
5aec2a4ab0
Fix compile under cryptest.nmake
2018-04-05 20:17:43 -04:00
Jeffrey Walton
29113a980d
Fix compile under Visual Studio 2008
...
We need to add something to cryptest.sh to find these breaks due to <stdint.h>
2018-04-05 20:14:07 -04:00
Jeffrey Walton
7065702ba1
Fix return codes from cryptest-ios.sh
2018-04-05 18:38:43 -04:00
Jeffrey Walton
1103819a86
Remove extra space between variable and value for setenv-ios.sh
2018-04-05 15:19:57 -04:00
Jeffrey Walton
37d723e680
Fix iPhoneSimulator build (GH #635 )
2018-04-05 08:00:25 -04:00
Jeffrey Walton
c27d3a9442
Make ASN.1 decoder m_values protected
2018-04-03 17:32:56 -04:00
Jeffrey Walton
9888d22d4b
Rename ECGDSA_ISO15946 -> ECGDSA ( #634 )
2018-04-02 23:58:23 -04:00
Jeffrey Walton
04c990e5c7
Update documentation
2018-04-02 19:33:37 -04:00
Jeffrey Walton
509c6116a8
Update documentation
2018-04-02 14:41:37 -04:00
Jeffrey Walton
e92fd0f9b2
Hoist XY and V out of parallel for loop
2018-04-02 13:40:33 -04:00
Jeffrey Walton
cdd751d27a
Don't use anonymous namespace in header file (GH #631 , PR #633 )
2018-04-02 05:24:01 -04:00
Jeffrey Walton
6faaf35195
Add Salsa20_Core transform (GH #630 ) ( #632 )
2018-04-02 03:51:51 -04:00
Jeffrey Walton
d106256a29
Update scrypt ( #629 )
...
Use pre-increment on variables
Add code comments
2018-04-01 22:30:03 -04:00
Jeffrey Walton
eb483dd3a6
Add additional asserts to Scrypt
2018-04-01 15:49:00 -04:00
Jeffrey Walton
ea9a5cf755
Add OpenMP support to Scrypt (GH #613 ) ( #628 )
...
Scrypt performance jumps as expected. For example, on a machine with 4 logical cores:
$ time OMP_NUM_THREADS=1 ./test.exe
Threads: 1
Key: DCF073537D25A10C9733...
real 0m17.959s
user 0m16.165s
sys 0m1.759s
$ time OMP_NUM_THREADS=4 ./test.exe
Threads: 4
Key: B37A0127DBE178ED604F...
real 0m4.488s
user 0m15.391s
sys 0m1.981s
2018-04-01 06:58:00 -04:00
Jeffrey Walton
d94ef9c70c
Re-enable OS X and iOS on Travis (GH #570 , PR #627 )
2018-04-01 02:37:32 -04:00
Jeffrey Walton
2e8ccc7777
Update documentation
...
Add asserts to Scrypt ValidateParameters
2018-03-31 21:26:38 -04:00
Jeffrey Walton
129d65d987
Update documentation
2018-03-31 20:25:58 -04:00
Jeffrey Walton
4a69b8581d
Fix Windows compile error using VS2008
2018-03-31 20:19:07 -04:00
Jeffrey Walton
64d02e3a18
Add scrypt key derivation function (GH #613 , PR #626 )
2018-03-31 20:09:38 -04:00
Ilja
8d81492f88
Remove extra ; from cpu.cpp (PR #614 )
2018-03-31 13:10:11 -04:00
Ilja
afaff62d8d
Remove extra ; from crc-simd.cpp (PR #615 )
2018-03-31 13:09:41 -04:00
Ilja
38253a939f
Remove extra ; from eccrypto.cpp (PR #616 )
2018-03-31 13:08:57 -04:00
Ilja
e7ee0e9bab
Remove extra ;s from rsa.h (PR #617 )
2018-03-31 13:08:29 -04:00
Ilja
6cbcd51135
Remove extra ; from neon-simd.cpp (PR #619 )
2018-03-31 13:07:30 -04:00
Ilja
f035ad7187
Remove extra ; from ppc-simd.cpp (PR #620 )
2018-03-31 13:06:44 -04:00
Ilja
f8a1f50383
Remove extra ; from gcm-simd.cpp (PR #618 )
2018-03-31 13:05:45 -04:00
Ilja
ec6c442cc6
Remove extra ; from rijndael-simd.cpp (PR #621 )
2018-03-31 13:04:42 -04:00
Ilja
8f730529b9
Remove extra ; from sha-simd.cpp (PR #622 )
2018-03-31 13:04:00 -04:00