Frank Denis
|
c190574cee
|
x25519-ref10: reject low order points before the multiplication
|
2017-11-17 10:47:00 +01:00 |
|
Frank Denis
|
c2a16ea77d
|
Add missing symbols to emscripten-symbols.def , sort
|
2017-11-15 23:31:01 +01:00 |
|
Frank Denis
|
509f934476
|
crypto_core/curve25519 was renamed crypto_core/ed25519
|
2017-11-15 17:04:07 +01:00 |
|
Frank Denis
|
659751e5b0
|
Remove version.h from MSVC solutions
|
2017-11-15 16:59:01 +01:00 |
|
Frank Denis
|
fc10e78580
|
Add a test for constants
|
2017-11-15 16:58:31 +01:00 |
|
Frank Denis
|
a60d877327
|
Add a test for crypto_scalarmult_ed25519
|
2017-11-15 16:57:29 +01:00 |
|
Frank Denis
|
7653df070c
|
Keep only the second test
|
2017-11-15 16:15:25 +01:00 |
|
Frank Denis
|
222ab9857c
|
Check that add/sub don't enforce the canonical form
|
2017-11-15 15:31:01 +01:00 |
|
Frank Denis
|
4fe7f88063
|
Re-merge previous test; add the correct prime
|
2017-11-15 15:26:41 +01:00 |
|
Frank Denis
|
d8c36842eb
|
Remove a test that doesn't make sense
|
2017-11-15 01:59:43 +01:00 |
|
Frank Denis
|
97e6f73230
|
Add a pretty obvious assertion
|
2017-11-15 01:48:28 +01:00 |
|
Frank Denis
|
3d8889560e
|
Export constants
|
2017-11-15 01:47:54 +01:00 |
|
Frank Denis
|
1e06b32f45
|
Add a couple more tests for ed25519_is_valid_point()
|
2017-11-15 01:44:55 +01:00 |
|
Frank Denis
|
63f7727a74
|
C++ compat
|
2017-11-15 01:37:33 +01:00 |
|
Frank Denis
|
1df2285362
|
Add a preliminary test for core_ed25519
|
2017-11-15 01:34:43 +01:00 |
|
Frank Denis
|
d5634850e4
|
Consistency check
|
2017-11-14 23:11:16 +01:00 |
|
Frank Denis
|
150de39b2b
|
Move sign addition where it makes more sense
|
2017-11-14 22:11:35 +01:00 |
|
Frank Denis
|
5257cceda8
|
Merge crypto_core_ed25519_from_uniform()
Fixes #628
although we need another one that keeps montgomery coordinates.
|
2017-11-14 22:05:37 +01:00 |
|
Frank Denis
|
c44d847207
|
Format & add A
|
2017-11-14 21:58:15 +01:00 |
|
Frank Denis
|
75d507a434
|
+ crypto_core_ed25519_is_valid_point()
|
2017-11-13 14:36:40 +01:00 |
|
Frank Denis
|
c01884ea80
|
Regen emscripten symbols
|
2017-11-13 14:29:40 +01:00 |
|
Frank Denis
|
57dac9eb60
|
+ crypto_core_ed25519_add(), crypto_core_ed25519_sub()
|
2017-11-13 14:22:44 +01:00 |
|
Frank Denis
|
d5a90f8f45
|
Adjust #include
|
2017-11-11 18:06:29 +01:00 |
|
Frank Denis
|
569778b517
|
Rename core/curve25519 to core/ed25519
|
2017-11-11 17:44:00 +01:00 |
|
Frank Denis
|
82efb10fc1
|
Merge branch 'master' of github.com:jedisct1/libsodium
* 'master' of github.com:jedisct1/libsodium:
Register sodium_stackzero()
Add sodium_stackzero()
Check for alloca()
|
2017-11-11 17:31:55 +01:00 |
|
Frank Denis
|
27872ca13c
|
Add an empty assembly statement to the memzero() weak symbol
|
2017-11-11 17:31:22 +01:00 |
|
Frank Denis
|
5e1a9c580a
|
Register sodium_stackzero()
|
2017-11-10 20:48:39 +01:00 |
|
Frank Denis
|
b93d773f7b
|
Add sodium_stackzero()
|
2017-11-10 20:48:05 +01:00 |
|
Frank Denis
|
b9d6139178
|
Check for alloca()
|
2017-11-10 02:22:38 +01:00 |
|
Frank Denis
|
40070b342a
|
Initialize the argon2 position structure a bit earlier
|
2017-11-08 12:56:33 +01:00 |
|
Frank Denis
|
8ab638b983
|
argon2: let fill_memory_blocks() accept a pass counter
|
2017-11-08 12:53:37 +01:00 |
|
Frank Denis
|
06f5c9a773
|
Funky indentation
|
2017-11-08 00:16:53 +01:00 |
|
Frank Denis
|
aa06d871ba
|
Indent
|
2017-11-07 01:07:22 +01:00 |
|
Frank Denis
|
a9b6eda279
|
+ UNPOISON macro
|
2017-11-06 23:57:23 +01:00 |
|
Frank Denis
|
ce3ca605a3
|
Better poison
|
2017-11-06 23:42:40 +01:00 |
|
Frank Denis
|
e73e2ee2c2
|
Define a POISON macro
|
2017-11-06 23:41:50 +01:00 |
|
Frank Denis
|
e7d85070dc
|
Use the default autoconf action to check for libctgrind
|
2017-11-06 23:34:45 +01:00 |
|
Frank Denis
|
bd0e0303f9
|
Comment
|
2017-11-06 23:34:41 +01:00 |
|
Frank Denis
|
f8de352e6d
|
Reduce nesting, improve readability
|
2017-11-06 21:55:20 +01:00 |
|
Frank Denis
|
1621448f6c
|
Consistent spacing
|
2017-11-06 21:31:46 +01:00 |
|
Frank Denis
|
fd14a458d7
|
Use verbose prototypes
Having only parameter types in prototypes is confusing.
So, include parameter names as well.
|
2017-11-06 20:19:50 +01:00 |
|
Frank Denis
|
780974a109
|
sc_* -> sc25519_*
|
2017-11-06 20:13:47 +01:00 |
|
Frank Denis
|
e371a870f3
|
ge_* -> ge25519_*
|
2017-11-06 20:05:33 +01:00 |
|
Frank Denis
|
fb2e83a4d1
|
fe -> fe25519
|
2017-11-06 19:40:28 +01:00 |
|
Frank Denis
|
4bd6196c96
|
Move functions not worth inlining back to core
|
2017-11-06 15:06:21 +01:00 |
|
Frank Denis
|
221350c78a
|
Import fe constants
|
2017-11-06 14:35:41 +01:00 |
|
Frank Denis
|
f523ea1656
|
Regen MSVC files
|
2017-11-06 14:33:39 +01:00 |
|
Frank Denis
|
f954997fc3
|
Move field arithmetic to include/private/, and make everything static
to get some inlining.
|
2017-11-06 14:32:01 +01:00 |
|
Frank Denis
|
2e7b8e1de9
|
Still #define the fe & ge types for now
|
2017-11-06 11:47:00 +01:00 |
|
Frank Denis
|
55a6b6bb46
|
Remove these useless #define
|
2017-11-06 11:42:02 +01:00 |
|