Frank Denis
|
e34f3512ad
|
clen -> clen_p
|
2016-03-21 12:13:11 +01:00 |
|
Frank Denis
|
79935dc918
|
test/pwhash_argon2i -> test/pwhash
|
2016-03-21 09:48:01 +01:00 |
|
Frank Denis
|
359553f07d
|
Add support for optional parameters to future-proof crypto_pwhash()
|
2016-03-21 09:38:43 +01:00 |
|
Frank Denis
|
33f406892f
|
Rename CPUID bits constants for clarity
|
2016-03-21 03:54:10 +01:00 |
|
Frank Denis
|
fd440e7b4d
|
AVX2 bit is in %ebx, not %ecx
|
2016-03-21 03:42:33 +01:00 |
|
Frank Denis
|
2b71f28c4c
|
Double crypto_pwhash_argon2i_MEMLIMIT_INTERACTIVE
|
2016-03-20 17:50:27 +01:00 |
|
Frank Denis
|
05d82ad147
|
Simplify quirks for C++Builder
|
2016-03-18 22:13:23 +01:00 |
|
Frank Denis
|
a456244a95
|
Merge pull request #373 from jcolli44/master
Introduce C++Builder compatibility
|
2016-03-18 22:06:59 +01:00 |
|
Frank Denis
|
f0e3cb0d50
|
Some platforms don't define ENOSYS - use ENXIO instead on these.
|
2016-03-18 22:01:35 +01:00 |
|
unknown
|
2085693c32
|
Introduce C++Builder compatibility
Add new preprocessor directives to allow libsodium to be easily
built in C++Builder.
|
2016-03-18 14:46:00 -04:00 |
|
Frank Denis
|
0c06979260
|
Verify at compile time that blake2b_param is packed as expected
|
2016-03-18 10:20:56 +01:00 |
|
Frank Denis
|
76e3e91576
|
Remove unnecessary extern "C" and unused prototypes
|
2016-03-18 10:17:02 +01:00 |
|
Frank Denis
|
6c94f968e4
|
Remove BLAKE2s-related declarations
|
2016-03-18 09:59:32 +01:00 |
|
Frank Denis
|
0a18d18daf
|
Consistent comment style
|
2016-03-18 09:56:21 +01:00 |
|
Frank Denis
|
9f09fa2344
|
Link text = "installation" only
|
2016-03-17 23:27:08 +01:00 |
|
Frank Denis
|
23aebf3bea
|
Mention which section + split line
|
2016-03-17 23:26:02 +01:00 |
|
Frank Denis
|
5efdbe4e1e
|
Merge pull request #372 from paragonie-scott/patch-1
Make it easier to find the integrity checking instructions
|
2016-03-17 23:24:16 +01:00 |
|
Scott
|
d4e053b005
|
Make it easier to find the integrity checking instructions
https://twitter.com/DefuseSec/status/710589949511241728 cc @defuse
|
2016-03-17 18:20:59 -04:00 |
|
Frank Denis
|
a54e9402c5
|
Avoid BLAKE2 AVX2 implementation on Win32
|
2016-03-17 17:31:57 +01:00 |
|
Frank Denis
|
4b6667a9d3
|
Update Makefiles and MSVC solutions
|
2016-03-17 17:07:43 +01:00 |
|
Frank Denis
|
64fe1b2353
|
Indent
|
2016-03-17 16:53:30 +01:00 |
|
Frank Denis
|
d37f588364
|
Add blake2b-compress-avx2.c to the top-level Visual Studio solution
|
2016-03-17 16:37:37 +01:00 |
|
Frank Denis
|
7583cb26b5
|
Merge branch 'blakeavx2'
* blakeavx2:
BLAKE2b AVX2 implementation By the marvellous Samuel Neves - https://github.com/sneves/blake2-avx2
|
2016-03-17 16:29:12 +01:00 |
|
Frank Denis
|
0131a72082
|
BLAKE2b AVX2 implementation
By the marvellous Samuel Neves - https://github.com/sneves/blake2-avx2
|
2016-03-17 16:24:04 +01:00 |
|
Frank Denis
|
300080a623
|
CRLF
|
2016-03-17 12:34:11 +01:00 |
|
Frank Denis
|
39c8b940e5
|
Update description
|
2016-03-17 12:33:46 +01:00 |
|
Frank Denis
|
8a24608fd2
|
Luminous beings are we, not this crude matter
|
2016-03-17 12:21:10 +01:00 |
|
Frank Denis
|
81f87df6a2
|
The Yoda style avoiding we can.
In a similar test above, that style we didn't use.
|
2016-03-17 12:21:09 +01:00 |
|
Frank Denis
|
6f2be3633f
|
Argon2: avoid initial zeroing by calling fill_block() on the first pass
|
2016-03-17 12:21:06 +01:00 |
|
Frank Denis
|
7611ea6018
|
Add AVX2 detection
|
2016-03-17 11:15:18 +01:00 |
|
Frank Denis
|
42d906d3e9
|
Cacheline alignment
|
2016-03-17 09:27:39 +01:00 |
|
Frank Denis
|
a4327a90f4
|
Spacing
|
2016-03-17 09:22:09 +01:00 |
|
Frank Denis
|
7ee23f77fb
|
Add crypto_core/curve25519
|
2016-03-16 14:48:05 +01:00 |
|
Frank Denis
|
cf4f0c48dc
|
Add tests for the detached aes256gcm API
|
2016-03-15 11:21:23 +01:00 |
|
Frank Denis
|
e8dfc764d3
|
Add a detached API for aes256gcm
|
2016-03-15 11:02:25 +01:00 |
|
Frank Denis
|
d8845c04dd
|
Update blake2b licensing
|
2016-03-13 09:12:34 +01:00 |
|
Frank Denis
|
630ac0913b
|
We only support data independent addressing for Argon2
Let the compiler automatically remove unused code
|
2016-03-11 16:41:06 +01:00 |
|
Frank Denis
|
5a00dff84d
|
p -> R for clarity
|
2016-03-11 13:45:39 +01:00 |
|
Frank Denis
|
676950d206
|
Remove superflous constant type qualifiers
|
2016-03-10 16:43:42 +01:00 |
|
Frank Denis
|
ab2f22137e
|
ed25519_verify: check for small-order R
|
2016-03-10 16:39:54 +01:00 |
|
Frank Denis
|
7597b7cc13
|
Check what the implications of versioned Argon2 strings will be
|
2016-03-10 12:26:17 +01:00 |
|
Frank Denis
|
805fd3589d
|
The version number in Argon2 strings will require 5 extra bytes
Round `crypto_pwhash_argon2i_STRBYTES` up to 128
|
2016-03-10 12:22:13 +01:00 |
|
Frank Denis
|
7c5d30a6a3
|
Consistent indentation
|
2016-03-09 15:37:47 +01:00 |
|
Frank Denis
|
62911edb7f
|
Ed25519: verify 0<=s<2^252+27742317777372353535851937790883648493
This reintroduces removed code to match the irtf-cfrg-eddsa draft
ED25519_COMPAT can be defined to keep the old behavior
|
2016-03-08 20:35:21 +01:00 |
|
Frank Denis
|
845e3e7cff
|
Update test for short output
|
2016-03-08 13:57:16 +01:00 |
|
Frank Denis
|
7d4cfbf7af
|
pwhash_argon2i_str(): zero the output buffer even on error path
|
2016-03-08 13:55:04 +01:00 |
|
Frank Denis
|
3853d5a824
|
Require a least 128 bits for an Argon2i digest
|
2016-03-08 13:51:23 +01:00 |
|
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 |
|