Frank Denis
13214d18c6
Recognize the arm + apple combo as aarch64
2020-07-01 15:33:52 +02:00
Frank Denis
7b67cd1b32
Merge branch 'master' of github.com:jedisct1/libsodium
...
* 'master' of github.com:jedisct1/libsodium:
Language Improvements (#972 )
2020-06-28 20:54:54 +02:00
P.I.E. Security Team
4744636721
Language Improvements ( #972 )
...
* Language Improvements
https://github.com/paragonie/sodium_compat/pull/121
* Update ed25519_ref10.c
2020-06-18 19:40:04 +02:00
Frank Denis
9de81502a5
Merge branch 'master' of github.com:jedisct1/libsodium
...
* 'master' of github.com:jedisct1/libsodium:
Faster Jacobi symbol computation
Add CodeQL scan
Add CodeQL scan
2020-06-18 19:37:23 +02:00
Frank Denis
4c46af59fc
Use autogen.sh -s in lgtm
2020-06-18 19:36:31 +02:00
Frank Denis
6497abb4bc
Faster Jacobi symbol computation
...
From 261sq/11m down to 253sq/11m.
Also rename confusing was_square.
2020-06-15 09:25:22 +02:00
Frank Denis
8b70853c8d
Add CodeQL scan
2020-06-11 10:22:10 +02:00
Frank Denis
15c6462e60
Add CodeQL scan
2020-06-11 10:17:50 +02:00
Greg Hazel
c6506e6441
android-build.sh: exit with return code 1 if the NDK is not present
2020-06-06 09:36:57 +02:00
Frank Denis
6499766fb6
Merge branch 'master' of github.com:jedisct1/libsodium
...
* 'master' of github.com:jedisct1/libsodium:
Don't even include signal.h on WASI
Use unsigned long long for opslimit
2020-06-04 16:00:29 +02:00
Frank Denis
4e9e110031
No need to save %rdi
2020-06-04 16:00:16 +02:00
Frank Denis
a8fa837aac
Don't even include signal.h on WASI
...
Since version 11, wasi-sysroot doesn't ignore it but spits out
an error instead.
2020-06-04 10:54:53 +02:00
Frank Denis
0cb4db084f
Use unsigned long long for opslimit
...
Fixes #966
2020-06-03 17:36:07 +02:00
Frank Denis
039da3af81
Typo
2020-06-02 16:57:08 +02:00
Frank Denis
1fae7383ce
Update H2C test vectors
2020-06-02 16:45:51 +02:00
Frank Denis
3c49e89c19
Add memory clobber
...
Fixes #965
2020-05-30 23:21:17 +02:00
Frank Denis
8360706c21
Don't add linker flags with the emscripten target
2020-05-26 17:50:19 +02:00
Frank Denis
af27d27f8c
emscripten: force filesystem inclusion for tests
2020-05-26 17:32:22 +02:00
Frank Denis
f51879dc38
Merge branch 'master' of github.com:jedisct1/libsodium
...
* 'master' of github.com:jedisct1/libsodium:
Print something after auto* are done
libtoolize copy
Always copy aux files
Don't use autoreconf
Move AC_USE_SYSTEM_EXTENSIONS up
Shorten
Faster sc25519 inversion, with one less squaring
Update prototypes
Replace the multiplication by the group order with an addition chain.
Travis CI: use autogen -d
Add extra box_seal() tests
crypto_box_seal(): copy the key after encryption to support in-place encryption
2020-05-26 16:40:19 +02:00
Frank Denis
0055072fa8
Print something after auto* are done
2020-05-26 14:53:22 +02:00
Frank Denis
470f70d510
libtoolize copy
2020-05-26 14:44:44 +02:00
Frank Denis
3bb6ee1b52
Always copy aux files
2020-05-26 14:42:19 +02:00
Frank Denis
30e7c6f8a7
Don't use autoreconf
2020-05-26 14:39:07 +02:00
Frank Denis
ef70441654
Move AC_USE_SYSTEM_EXTENSIONS up
2020-05-26 14:27:26 +02:00
Frank Denis
d854d39b51
Shorten
2020-05-26 14:03:49 +02:00
Frank Denis
f9ef57db0b
Faster sc25519 inversion, with one less squaring
2020-05-26 13:15:19 +02:00
Frank Denis
b0369e7391
Update prototypes
2020-05-26 00:15:42 +02:00
Frank Denis
214076fc09
Replace the multiplication by the group order with an addition chain.
...
Rename ge25519_{add,sub,madd,msub} for clarity.
2020-05-25 23:54:43 +02:00
Frank Denis
f911b56650
Travis CI: use autogen -d
2020-05-21 18:44:58 +02:00
Frank Denis
1127c43278
Add extra box_seal() tests
2020-05-21 18:38:55 +02:00
Frank Denis
23bba4a2b2
crypto_box_seal(): copy the key after encryption to support in-place encryption
...
Fixes #961
2020-05-21 18:22:37 +02:00
Frank Denis
6fc37dd004
Merge branch 'master' of github.com:jedisct1/libsodium
...
* 'master' of github.com:jedisct1/libsodium:
Add explicit casts and make things a bit more consistent
Add AEGIS-128L for no good reasons
Indent
Update autogen.sh
Constify
2020-05-19 18:52:55 +02:00
Frank Denis
da3fc4dd91
Add explicit casts and make things a bit more consistent
2020-05-19 17:40:18 +02:00
Frank Denis
c3ca08913c
Add AEGIS-128L for no good reasons
2020-05-19 15:36:22 +02:00
Frank Denis
8706f2e8d7
Indent
2020-05-19 15:00:51 +02:00
Frank Denis
7bbaa6820b
Update autogen.sh
2020-05-18 22:05:58 +02:00
Frank Denis
4cc7d9027c
Constify
2020-05-18 20:46:09 +02:00
Frank Denis
6a30605ff9
Add --fail to curl options
...
Fixes #960
2020-05-18 19:33:00 +02:00
Syrus Akbary
b26758103e
Fixed OpenCollective link ( #959 )
2020-05-16 11:46:35 +02:00
Frank Denis
a85afdc5ba
Remove unused code
2020-05-14 18:45:56 +02:00
Frank Denis
6a1fae4b25
Add some field arithmetic tests for edge cases
2020-05-14 12:33:49 +02:00
Frank Denis
62c6dbcf36
Comment
2020-05-14 12:21:09 +02:00
Frank Denis
056a1aeef5
Avoid & and && mix without brackets
2020-05-13 23:08:19 +02:00
Frank Denis
c2efce113d
Add crypto_core_{ed25519,ristretto255}_scalar_is_canonical()
2020-05-13 22:59:08 +02:00
Frank Denis
d39dd88301
Remove unreferenced variables, fix Windows build
2020-05-13 22:38:59 +02:00
Frank Denis
cc2bcbc217
aes256gcm: handle 8 blocks at a time instead of 4
...
Keep using 4 blocks at time for AD, as AD is usually short.
Decrypt-and-verify instead of verify-then-decrypt.
2020-05-13 17:36:01 +02:00
Frank Denis
c4b08fb208
Merge branch 'master' of github.com:jedisct1/libsodium
...
* 'master' of github.com:jedisct1/libsodium: (55 commits)
H2C: change sign computation for Ell2 to match BHKL13
Deprecate non-easy secretbox
Remove memory shielding
Deprecate low-level non-easy crypto boxes as well
Deprecate the non-easy crypto_box API
Nits
Remove unneeded casts
Indent
Use inline asm if supported
Nits
Inline
space
Simplify scalarmult{2,5} tests
Add a scalarmult test to show that the high bit is ignored
Fix wasi-sdk path
One more test vector cannot hurt
ristretto255_is_canonical(): sync with wasm-crypto
Rename a few things
Merge mont->ed conversion
Revert "Add the BlaBla2000 stream cipher - will eventually become the default"
...
2020-05-13 14:10:14 +02:00
Frank Denis
06e219e165
Format
2020-05-13 14:10:04 +02:00
Frank Denis
f23c932d74
H2C: change sign computation for Ell2 to match BHKL13
...
https://github.com/cfrg/draft-irtf-cfrg-hash-to-curve/pull/250
2020-05-12 16:33:13 +02:00
Frank Denis
3f1586623c
Deprecate non-easy secretbox
2020-05-10 22:29:25 +02:00