Frank Denis
423702f95d
Tab
2016-03-08 13:31:22 +01:00
Frank Denis
ef843e082e
Enable Valgrind for the unit tests only if --enable-valgrind is passed
...
Also mention that the Valgrind checks currently require GNU make,
unlike all other targets.
2016-03-08 13:15:03 +01:00
Frank Denis
f92cfae9d8
Have --enable-opt use -O3, not -Ofast
2016-03-08 12:53:34 +01:00
Frank Denis
7e4f83a54d
Revisit Argon2i predefined parameters
2016-03-08 11:55:03 +01:00
Frank Denis
0158b2b1fd
Argon2: use negative error codes
2016-03-08 09:32:37 +01:00
Frank Denis
17b6717527
Typo
2016-03-08 09:20:20 +01:00
Frank Denis
4093e253f5
Remove the test dir from the VS solutions, except the top one
2016-03-07 16:13:59 +01:00
Frank Denis
59f0300c0e
Remove the test part from the vs2010 projects
2016-03-07 16:12:31 +01:00
Frank Denis
81f3f64f42
Remove disabled files
2016-03-07 15:51:45 +01:00
Frank Denis
ae6ecda055
Explicit downcast
2016-03-07 15:45:59 +01:00
Frank Denis
dde91ba026
VS2015 update
2016-03-07 15:41:22 +01:00
Frank Denis
dadf1b0f1b
VS2013 update
2016-03-07 15:36:25 +01:00
Frank Denis
ce5f82b788
Update the VS2012 project
2016-03-07 15:30:14 +01:00
Frank Denis
bafee4daf1
VS2010 update
2016-03-07 15:19:12 +01:00
Frank Denis
a5ca5b1b25
Unused param
2016-03-06 14:00:18 +01:00
Frank Denis
5353569d9a
Remove obsolete and redundant globals
2016-03-06 13:59:26 +01:00
Frank Denis
212841b28d
int vs size_t
2016-03-06 13:58:10 +01:00
Frank Denis
f4397f12d0
Remove unneeded prototypes
2016-03-06 13:55:04 +01:00
Frank Denis
ddc1bbad73
Remove unused variables
2016-03-06 13:51:42 +01:00
Frank Denis
8035d6deb3
Blame me for hchacha20
2016-03-06 13:34:32 +01:00
Frank Denis
aafff07689
Add support for running the test suite with Valgrind
2016-03-06 01:35:06 +01:00
Frank Denis
2fb69179cd
scrypt: zeroize the temporary output buffer
2016-03-06 00:08:35 +01:00
Frank Denis
edcd258417
inttypes.h -> stdint.h
2016-03-05 18:23:53 +01:00
Frank Denis
8b139cdc31
Compile optimized Argon2i impl on 32-bit MSVC
2016-03-05 18:21:59 +01:00
Frank Denis
db139ced5f
MSVC analyzer FP
2016-03-05 17:56:40 +01:00
Frank Denis
f4e5d6cb3b
Update root MSVC project
2016-03-05 17:56:14 +01:00
Frank Denis
f3fc3e8b46
NO_BROWSER is not required any more with recent Emscripten versions
2016-03-01 20:58:50 +01:00
Frank Denis
86cf171c54
Update the list of symbols exported to Javascript
2016-03-01 20:40:50 +01:00
Frank Denis
b55febaafa
Bump ARGON2_MIN_TIME to 3, adjust tests accordingly
2016-03-01 14:08:31 +01:00
Frank Denis
0868222732
Let core_salsa20* accept a default constant
2016-02-29 12:04:34 +01:00
Frank Denis
9fbb822281
Use stdint types a bit more
2016-02-27 16:33:22 +01:00
Frank Denis
4e9b0b67ce
Let crypto_core_hsalsa20()
accept NULL
for the default constants
2016-02-27 16:19:38 +01:00
Frank Denis
bb596e8eb7
Trim/untab/indent
2016-02-27 13:26:42 +01:00
Frank Denis
adfe6c9d55
scrypt/sysendian.h is gone
2016-02-27 13:14:01 +01:00
Frank Denis
22eebd83f1
common_aes128ctr.c is gone
2016-02-27 13:11:08 +01:00
Frank Denis
6dc466ee8b
Use a single way to do unaligned memory access/endianness conversion
2016-02-27 12:46:07 +01:00
Frank Denis
d9493834b2
Hide store32()/load32() in the header
2016-02-26 13:22:33 +01:00
Frank Denis
49c57dfe0a
Faster HChaCha20
2016-02-26 13:15:36 +01:00
Frank Denis
1e2a9eb062
Faster with clang
2016-02-26 12:59:14 +01:00
Frank Denis
4d5c3976db
Add HChaCha20
2016-02-26 12:50:17 +01:00
Frank Denis
ecdcfba07e
Argon2: issue different error codes for VERIFY_MISMATCH and DECODING_FAIL
...
Only used internally, not exposed in the Sodium API
2016-02-23 15:24:37 +01:00
Frank Denis
80d24c00cc
Use calloc() instead of malloc()+memset()
2016-02-19 07:40:09 +01:00
Frank Denis
11caf90c1f
Update Argon2 tests
2016-02-17 16:39:20 +01:00
Frank Denis
4b6a909d8a
Argon2: fill_block() now XORs blocks instead of overwriting them
2016-02-17 16:26:37 +01:00
Frank Denis
e153debd0d
Remove ...edwards25519sha512batch_*() wrappers for the constants
...
The ...edwards25519sha512batch_*() functions are only here for ABI
compatibility with NaCl, where constants were only defined as macros.
Plus, these functions were only present as prototypes since 1.0.6;
the actual symbols were no defined any more.
2016-02-13 08:15:00 +01:00
Frank Denis
54915743f4
Define ZEROBYTES as BOXZEROBYTES + MACBYTES
...
ZEROBYTES and BOXZEROBYTES are rarely used compared to MACBYTES,
so it makes more sense to define MACBYTES and define the compat macros
based on it that the other way round.
2016-02-11 15:19:58 +01:00
Frank Denis
d7ffff1f31
Merge pull request #351 from gnieboer/master
...
added argon2-fill-block-ssse3.c to VS project
2016-02-07 17:58:11 +01:00
gnieboer
b4af066286
Added all argon2 files to other msvc project files and project filter files
2016-02-07 17:11:59 +03:00
Frank Denis
36e60b2d28
Wipe secret keys before public keys and nonces
2016-02-03 01:19:24 +01:00
Frank Denis
1b63773986
Comments cleanup
2016-02-01 16:08:29 +01:00