Frank Denis
|
9fc0ece3d9
|
Remove unused blake2b code
|
2017-10-21 20:00:56 +02:00 |
|
Frank Denis
|
3d374fe8a9
|
Define uint128_t only once in private/common.h
|
2017-10-21 19:59:16 +02:00 |
|
Frank Denis
|
58fc2dcf5b
|
Add crypto_sign_ed25519_scalarmult to emscripten symbols
|
2017-10-21 19:00:54 +02:00 |
|
Frank Denis
|
5a6deebd39
|
Add an argument to ed25519_small_order to optionally invert the sign
|
2017-10-20 16:07:52 +02:00 |
|
Frank Denis
|
30ad01bdba
|
memcpy() -> memmove() in case the seed and secret key overlap
|
2017-10-20 09:55:00 +02:00 |
|
Frank Denis
|
bab680f35b
|
Implement crypto_sign_ed25519_scalarmult()
|
2017-10-20 02:06:02 +02:00 |
|
Frank Denis
|
fe5d65853b
|
Remove extraneous "return"
|
2017-10-19 23:49:32 +02:00 |
|
Frank Denis
|
2e8d656029
|
Move precomputed table where it's actually used
|
2017-10-19 23:13:28 +02:00 |
|
Frank Denis
|
8a1e08cc52
|
Define a generic ge_select() in additino to ge_select_base()
|
2017-10-19 23:11:52 +02:00 |
|
Frank Denis
|
fc3a62a493
|
cmov() -> ge_cmov() ; ge_select() -> ge_select_base()
|
2017-10-19 22:57:09 +02:00 |
|
Frank Denis
|
a944db7a76
|
slide() -> slide_vartime() and move comments to the right place
|
2017-10-19 22:11:43 +02:00 |
|
Frank Denis
|
9f3a2e775b
|
Add js & wasm to the list
|
2017-10-18 19:23:59 +02:00 |
|
Frank Denis
|
08387eea8b
|
emscripten: actually print the installation prefix
|
2017-10-18 13:11:15 +02:00 |
|
Frank Denis
|
002fb0e82b
|
Update AUTHORS
|
2017-10-14 15:37:06 +02:00 |
|
Frank Denis
|
f783552773
|
Just use constants instead of macros
In this context, they are actually less confusing.
|
2017-10-12 13:14:25 +02:00 |
|
Frank Denis
|
b1bf478086
|
Repair crypto_sign_ed25519_seed_keypair()
|
2017-10-12 13:05:57 +02:00 |
|
Frank Denis
|
18ab679429
|
sk is actually skpk, so use the right size in the prototype
|
2017-10-11 21:45:39 +02:00 |
|
Frank Denis
|
f54c6db981
|
sign_keygen(): don't hash the secret scalar in non-deterministic mode
|
2017-10-11 21:27:48 +02:00 |
|
Frank Denis
|
68feb75f1d
|
nonce -> Z for clarity
|
2017-10-11 18:15:36 +02:00 |
|
Frank Denis
|
ebb614cb0e
|
Improve clarity
No need to clamp the key prior to computing a synthetic nonce
|
2017-10-11 18:09:30 +02:00 |
|
Frank Denis
|
90f5b55a0a
|
Move computation of synthetic nonces to a dedicated function
for clarity
|
2017-10-06 22:01:06 +02:00 |
|
Frank Denis
|
067cd6749d
|
inline
|
2017-10-06 21:41:35 +02:00 |
|
Frank Denis
|
d56007a6fa
|
crypto_sign(): memzero the nonce after use
|
2017-10-06 21:35:52 +02:00 |
|
Frank Denis
|
291859874b
|
Use the generalized eddsa algorithm for non-deterministic r
|
2017-10-06 21:28:02 +02:00 |
|
Frank Denis
|
9f98f2329c
|
Back to dev mode
|
2017-10-06 15:37:24 +02:00 |
|
Frank Denis
|
0dd8338b83
|
Add a compile-time switch to create non-deterministic signatures
|
2017-10-06 15:35:07 +02:00 |
|
Ryan Lester
|
381080bf02
|
libsodium.js totalMemory minor fix (#610)
|
2017-10-05 10:45:31 +02:00 |
|
Frank Denis
|
09ecb47a53
|
Use -O in debug mode
|
2017-10-05 10:41:15 +02:00 |
|
Frank Denis
|
c19946296c
|
FORTIFY_SOURCE -> _FORTIFY_SOURCE
|
2017-10-05 10:35:50 +02:00 |
|
Frank Denis
|
022f783cfc
|
Re-enable all warnings with --enable-debug
|
2017-10-05 10:31:19 +02:00 |
|
Frank Denis
|
affaecabcd
|
Include prototypes before declarations
|
2017-10-05 10:15:24 +02:00 |
|
Frank Denis
|
b3ccb20078
|
Enable some extra compiler warnings
|
2017-10-05 09:11:27 +02:00 |
|
Frank Denis
|
c431a42658
|
"this" doesn't seem to ever be defined in a module
isNan is undefined
|
2017-10-05 08:31:07 +02:00 |
|
Frank Denis
|
af5ce360b4
|
this may not be defined
|
2017-10-05 08:12:05 +02:00 |
|
Frank Denis
|
2a367074fe
|
Add actual performance API emulation for old browsers
|
2017-10-05 07:52:33 +02:00 |
|
Frank Denis
|
1393681662
|
Move declaration closer to usage
|
2017-10-05 02:28:14 +02:00 |
|
Ryan Lester
|
ec4432a388
|
allow setting total memory from JS (#608)
|
2017-10-05 02:26:00 +02:00 |
|
Frank Denis
|
e784a3fb40
|
Add no-ops for very old browsers without the performance API
|
2017-10-05 01:46:02 +02:00 |
|
Frank Denis
|
37d9f09f5b
|
Round duration
|
2017-10-05 00:20:55 +02:00 |
|
Frank Denis
|
752c1fff2d
|
emscripten template: make the module global
|
2017-10-05 00:16:37 +02:00 |
|
Frank Denis
|
cc8cd391c9
|
Fix emscripten template
|
2017-10-05 00:11:40 +02:00 |
|
Frank Denis
|
93e39760b9
|
Wasm: add basic benchmark
Not really fair yet since the script isn't preloaded
|
2017-10-05 00:02:37 +02:00 |
|
Frank Denis
|
f0daa92f50
|
Remove index-wasm.html.tpl
|
2017-10-04 23:52:39 +02:00 |
|
Frank Denis
|
60366ac447
|
asmjs requires TOTAL_MEMORY to be a multiple of 16MB
|
2017-10-04 23:01:02 +02:00 |
|
Frank Denis
|
6db1adbf4e
|
Reserve more memory for wasm sumo builds
|
2017-10-04 22:52:22 +02:00 |
|
Frank Denis
|
6a0e144899
|
Use less memory for the pwhash tests
|
2017-10-04 22:52:11 +02:00 |
|
Frank Denis
|
ce3254dff4
|
Ignore test/default/*.asm.js
|
2017-10-04 22:25:08 +02:00 |
|
Frank Denis
|
c5e43f4c1c
|
Update dotnet example version
|
2017-10-01 17:11:51 +02:00 |
|
Frank Denis
|
aa67295dae
|
Undefine FORTIFY_SOURCE in debug mode
|
2017-10-01 14:59:41 +02:00 |
|
Frank Denis
|
770e7945c3
|
Bump major for generate-emscripten-symbols.sh 18 -> 23
|
2017-10-01 13:20:55 +02:00 |
|