Frank Denis
2058eaea99
Revert bd8cbd3175
...
Go back to masking the high bit in curve25519 instead of processing the
key as a 256-bit value.
2014-06-06 08:22:11 -07:00
Frank Denis
6145edc563
Revert "Make curve25519-donna-c64 handle non-canonical points like the ref implementation."
...
This reverts commit bd8cbd3175
.
Conflicts:
src/libsodium/crypto_scalarmult/curve25519/donna_c64/smult_curve25519_donna_c64.c
test/default/scalarmult7.c
test/default/scalarmult8.c
2014-06-06 08:19:49 -07:00
Frank Denis
c2290bbfaf
Do not suggest running anything but make install
with root privileges.
2014-06-05 22:17:11 -07:00
Frank Denis
42b2d5c8e7
Indent
2014-06-03 23:51:51 -07:00
Frank Denis
e737c94271
More test/default/pwhash_scrypt_ll.c fixes
2014-06-03 23:48:25 -07:00
Frank Denis
f341a4c9a3
Make arguments match the format string in test/default/pwhash_scrypt_ll.c ...
2014-06-03 23:22:38 -07:00
Frank Denis
6afdc96783
Merge pull request #167 from truenull/master
...
Tarsnap test vectors tested on Windows
2014-06-03 22:53:47 -07:00
Anders Johansson
1d4849465b
Change spaces to tab in Makefile.am after pwhash_scrypt_ll addition
2014-06-03 13:04:26 +02:00
Anders Johansson
e7e4ab514c
To comply with C89:
...
- Moved variable declarations to top of function
- Constant output buffer inside the function
Moved strlen calls from main to inside function to make code easier to read.
Also switched from fancy quotes to single quotes in expected output
2014-06-03 12:15:39 +02:00
Anders Johansson
e477e51323
Fix Travis g++ errors
2014-06-01 21:31:44 +02:00
Anders Johansson
d47d5d8623
Add test for Tarsnap testvectors to low-level scrypt interface
2014-06-01 20:58:20 +02:00
Frank Denis
4c9a993225
Remove useless #include
2014-05-27 08:53:46 -07:00
Frank Denis
eca4b52911
Add extra braces for int128 initializers
2014-05-27 08:53:10 -07:00
Frank Denis
9981651750
aes128ctr: use an union to avoid breaking aliasing rules.
2014-05-26 15:36:16 -07:00
Frank Denis
c712feaae3
Avoid redefinition of be32enc() on NetBSD.
2014-05-26 00:12:02 -07:00
Frank Denis
b47755fac1
Mention crypto_box_seed_keypair
2014-05-25 19:25:44 -07:00
Jan Varho
9f52b0f0e9
Change crypto_box_seed_keypair to use SHA-512 of the seed
...
This makes it compatible with what js-nacl and racl do.
2014-05-25 19:13:04 -07:00
Frank Denis
c4f7adeda4
Merge pull request #161 from jvarho/crypto-box-seed-keypair
...
Add crypto_box_seed_keypair
2014-05-25 19:09:27 -07:00
Jan Varho
f438116b6b
Test crypto_box_seed_keypair
2014-05-23 10:33:58 +03:00
Jan Varho
c565993885
Add crypto_box_seed_keypair like crypto_sign_seed_keypair
...
Uses sk = seed.
2014-05-23 10:25:45 +03:00
Frank Denis
2270e4dc02
Merge pull request #159 from evoskuil/master
...
Minor VS build/package updates.
2014-05-21 00:04:46 -07:00
evoskuil
e5648e21a2
Remove use of $(DefaultLinkage) for values reflected in the VS props UI.
2014-05-21 00:01:26 -07:00
evoskuil
d790237af3
Generalize dependency references (unused) for nuget package.
2014-05-21 00:00:40 -07:00
Frank Denis
fb5390e829
Merge pull request #158 from GraxRabble/emscripten
...
prevented 128 bit integers from compiling with emscripten
2014-05-20 21:32:51 -07:00
Frank Denis
5f847cb76c
Do not violate strict aliasing in int128_aes128ctr.c
2014-05-20 19:41:43 -07:00
Frank Denis
7da592b730
Use uint64_t for 64-bit types instead of unsigned long long
2014-05-20 19:35:16 -07:00
Frank Denis
bbaac8b573
Merge branch 'master' of github.com:jedisct1/libsodium
...
* 'master' of github.com:jedisct1/libsodium:
Link memset_s presence test
2014-05-20 11:33:35 -07:00
GraxRabble
ccf915dc14
prevented 128 bit integers from compiling with emscripten
2014-05-20 13:53:31 -04:00
Frank Denis
5720b23491
Merge pull request #157 from xantares/patch-1
...
Fix memset_s detection
2014-05-19 10:26:11 -07:00
xantares
041f920341
Link memset_s presence test
2014-05-19 19:14:49 +02:00
Frank Denis
a992ac5252
Expose low-level scryptsalsa208sha256()
2014-05-18 23:48:02 -07:00
Frank Denis
27d1f4d9cb
Mention cl-sodium
2014-05-18 23:46:36 -07:00
Frank Denis
6f890f19dc
Update ChangeLog
2014-05-15 22:20:03 -07:00
Frank Denis
ddb48d3b1a
Install sodium/crypto_stream_chacha20.h
2014-05-15 21:14:36 -07:00
Frank Denis
a517bf9f0f
One more chacha20 test
2014-05-15 15:26:44 -07:00
Frank Denis
0d9f25999a
+chacha20.exp
2014-05-15 13:35:56 -07:00
Frank Denis
7381983f8b
Preliminary chacha20 support
2014-05-15 13:27:15 -07:00
Frank Denis
35467bc0b7
Bump minor
2014-05-15 01:20:10 -07:00
Frank Denis
a15eca1e4d
Compatibility macros for crypto_pwhash_scryptsalsa208sha256
2014-05-15 00:53:57 -07:00
Frank Denis
492eb4f5df
crypto_pwhash_scryptxsalsa208sha256 -> crypto_pwhash_scryptsalsa208sha256
2014-05-15 00:13:30 -07:00
Frank Denis
ee6412080c
Add temporary compat layer for scryptsalsa208sha256 transition
2014-05-15 00:09:15 -07:00
Frank Denis
bd05b7d292
Rename scryptxsalsa208sha256 to scryptsalsa208sha256
2014-05-15 00:01:16 -07:00
Frank Denis
62e37fbfe4
crypto_pwhash_scryptxsalsa208sha256_str() test vectors
2014-05-14 23:46:15 -07:00
Frank Denis
eca5267df9
crypto_pwhash_scryptxsalsa208sha256 test vectors
2014-05-14 23:22:11 -07:00
Frank Denis
4653471cad
Check for SSSE3 instructions set
2014-05-14 22:34:27 -07:00
Frank Denis
27a33a062d
msys-win64 build script: do not target Pentium 2 CPUs for a 64 bit build...
2014-05-13 21:03:12 -07:00
Frank Denis
7f79513ddd
Ask Travis to compile on OSX in addition to Linux
2014-05-13 16:23:24 -07:00
Frank Denis
184193d1c5
Kill implementation-specific macros
2014-05-13 13:47:13 -07:00
Frank Denis
a2985beb5c
Merge branch 'master' of github.com:jedisct1/libsodium
...
* 'master' of github.com:jedisct1/libsodium:
Rename standard props file to align with existing VS prop value.
Simplify VS project configurations and harden MSBUILD script.
2014-05-13 10:42:09 -07:00
Frank Denis
f25d7aa4f1
Add an extra static assertion
2014-05-13 10:41:55 -07:00