Frank Denis
|
95114d8592
|
l -> L
|
2016-04-02 00:44:41 +02:00 |
|
Frank Denis
|
5cdd950c5c
|
Reformat
|
2016-04-01 20:51:05 +02:00 |
|
Frank Denis
|
d7f5877df5
|
Add crypto_pwhash_argon2i_ALG_ARGON2I13
|
2016-04-01 20:48:34 +02:00 |
|
Frank Denis
|
384e08b7f4
|
Require an algorithm identifier in crypto_pwhash()
|
2016-04-01 20:29:28 +02:00 |
|
Frank Denis
|
5d8c878ffb
|
Remove mlen_p from the AEAD detached interface
|
2016-03-30 21:20:34 +02:00 |
|
Frank Denis
|
de22f38da2
|
Mark the _out_of_bounds() function as noreturn
|
2016-03-27 00:21:04 +01:00 |
|
Frank Denis
|
25faa47b46
|
Include blake2b_long prototype
|
2016-03-27 00:11:32 +01:00 |
|
Frank Denis
|
20bf121fcd
|
1.0.9 is almost ready to be tagged
|
2016-03-25 16:30:36 +01:00 |
|
Frank Denis
|
2aa703fcc7
|
Restore the previous sodium_malloc(0) behavior
If aligned memory cannot be obtained, allocate 1 byte
to always return a non-NULL pointer.
|
2016-03-25 16:26:37 +01:00 |
|
Frank Denis
|
811bdb2c5f
|
Explicit cast; length is already checked by the caller
|
2016-03-25 16:00:52 +01:00 |
|
Frank Denis
|
fb865c9a5c
|
More tests / lcov exclusions
|
2016-03-25 15:36:57 +01:00 |
|
Frank Denis
|
58e4cdf809
|
Make Argon2 encode/decode return codes consistent with other functions
|
2016-03-25 14:54:14 +01:00 |
|
Frank Denis
|
e9b7a71a38
|
Remove unused code
|
2016-03-25 12:29:25 +01:00 |
|
Frank Denis
|
a25569320c
|
The version in Argon2i strings is separated from other parameters
|
2016-03-25 12:27:04 +01:00 |
|
Frank Denis
|
321e9eab2e
|
Remove useless check
|
2016-03-25 10:38:50 +01:00 |
|
Frank Denis
|
da448c38e4
|
Nits
|
2016-03-25 09:55:37 +01:00 |
|
Frank Denis
|
eb13ec0cff
|
Make sodium_malloc(0) well-defined. It always returns NULL.
|
2016-03-25 09:44:41 +01:00 |
|
Frank Denis
|
02e4b3b842
|
Check memory base instead of the aligned pointer
No behavior change, but it is less confusing to static analyzers
|
2016-03-25 09:42:32 +01:00 |
|
Frank Denis
|
346f8c131e
|
More tests
|
2016-03-24 22:16:52 +01:00 |
|
Frank Denis
|
7a08f643bf
|
Remove unused declaration
|
2016-03-24 21:06:07 +01:00 |
|
Frank Denis
|
a3a2b74bd8
|
Use existing functions for unaligned access in hash_sha*
|
2016-03-24 15:02:34 +01:00 |
|
Frank Denis
|
3295752821
|
Of course, GNU ld doesn't know about .private_extern
|
2016-03-22 21:26:39 +01:00 |
|
Frank Denis
|
bafc9c70e1
|
Only use .private_extern if this is supported
|
2016-03-22 20:42:07 +01:00 |
|
Frank Denis
|
26e4cf479a
|
Reduce symbols visibility in curve25519_sandy2x
|
2016-03-22 19:55:07 +01:00 |
|
Frank Denis
|
3fb2ee07cb
|
Add crypto_pwhash_primitive()
|
2016-03-21 20:59:43 +01:00 |
|
Frank Denis
|
1820a4239d
|
Add missing SODIUM_EXPORT statements
|
2016-03-21 19:29:33 +01:00 |
|
Frank Denis
|
de451c23a0
|
Add detached versions of ChaCha20-Poly1305
|
2016-03-21 13:11:04 +01:00 |
|
Frank Denis
|
89a6f58e4d
|
Replace some constants
|
2016-03-21 12:55:24 +01:00 |
|
Frank Denis
|
e34f3512ad
|
clen -> clen_p
|
2016-03-21 12:13:11 +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
|
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
|
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
|
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 |
|