Commit Graph

930 Commits

Author SHA1 Message Date
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
Frank Denis
43114ff80e Merge pull request #154 from evoskuil/master
Simplify VS project configs and harden MSBUILD script
2014-05-13 06:24:08 -07:00
evoskuil
49d2f7944e Rename standard props file to align with existing VS prop value. 2014-05-13 02:11:43 -07:00
Frank Denis
3ca303075d Stay close to 80 cols/line 2014-05-13 00:49:06 -07:00
Frank Denis
1e0eafc541 Fix inverted sse2/sse3 detection 2014-05-13 00:44:29 -07:00
Frank Denis
3026bd69f9 Disable old compatibility layer 2014-05-13 00:20:07 -07:00
Frank Denis
cdd79653f3 Remove unused macros 2014-05-13 00:01:58 -07:00
Frank Denis
291d4998be Define crypto_*_primitive() for high-level functions only 2014-05-13 00:00:03 -07:00
Frank Denis
91d17f6be1 <stddef.h> is required in crypto_hash.h 2014-05-12 23:45:49 -07:00
Frank Denis
df427966e2 Move macro definitions close to their related function definition 2014-05-12 23:44:04 -07:00
Frank Denis
84cceed1f6 Do not require crypto_sign_BYTES extra bytes for the message in crypto_sign_open()
This is a common source of confusion.
2014-05-12 22:54:05 -07:00
Frank Denis
a89c03e2cb Merge branch 'names-in-prototypes'
* names-in-prototypes:
  Name parameters in all prototypes.
2014-05-12 22:04:43 -07:00
Frank Denis
37ed9bada9 Name parameters in all prototypes. 2014-05-12 22:04:03 -07:00
Frank Denis
0c63926ef1 Fix sign.c test, classic crypto_sign_open() confusion. 2014-05-12 21:43:33 -07:00
evoskuil
4c2d0242fe Simplify VS project configurations and harden MSBUILD script. 2014-05-12 20:18:22 -07:00
Frank Denis
a3527a476a Zap empty line 2014-05-12 14:20:52 -07:00
Frank Denis
f3034d38fc Align library version ASCII art 2014-05-12 14:07:48 -07:00