Commit Graph

3622 Commits

Author SHA1 Message Date
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
Ilja
30b583a951 Remove extra ; from sse-simd.cpp (PR #623) 2018-03-31 13:03:32 -04:00
Ilja
fa80880b6f Remove extra ;s from ossig.h (PR #625) 2018-03-31 12:59:25 -04:00
Ilja
cdae245a13 Remove extra ;s from zinflate.cpp (PR #624) 2018-03-31 12:58:36 -04:00
Jeffrey Walton
57804328b8
Cleanup asserts in pwdbased.h 2018-03-30 23:02:40 -04:00
Jeffrey Walton
8d60521f8c
Remove unneeded ThrowIfInvalidDerivedLength in DeriveKey 2018-03-30 16:40:15 -04:00
Jeffrey Walton
05fe384d82
Cleanup HKDF salt and info 2018-03-30 00:34:12 -04:00
Jeffrey Walton
616741d4ea
Add missing function body for PKCS5_PBKDF1<T>::DeriveKey (GH #610)
Not sure how I missed that entire body... Also added a default timeInSeconds to all PBKDFs
2018-03-30 00:10:26 -04:00
Jeffrey Walton
57a35a6896
Update documentation 2018-03-29 23:23:37 -04:00
Jeffrey Walton
7b33bc5e04
Cutover PBKDF to KeyDerivationFunction interface (GH #610, PR #612) 2018-03-29 23:13:56 -04:00
Jeffrey Walton
32abab75f2
Add KeyDerivationFunction interface (GH #610, PR #611) 2018-03-29 20:18:27 -04:00