Alexander Iljin
3a28b57828
+ Alexander Ilin for Factor bindings
6 years ago
Frank Denis
4cba5ff49b
In prototypes, use pointers, not arrays for consistency
6 years ago
Frank Denis
59bd82edab
Add a crypto_core_ed25519_NONREDUCEDSCALARBYTES constant
and reject 0 in crypto_core_ed25519_random()
6 years ago
Frank Denis
c0652ef7ca
Update ChangeLog
6 years ago
Frank Denis
8dd554d2c4
Leverage sodium_add()
6 years ago
Frank Denis
902f0997c0
Add a test for scalar_reduce()
6 years ago
Frank Denis
34e787030f
Use a guard page instead of NULL for opt arguments in tests
6 years ago
Frank Denis
2916230061
Add a guideline
6 years ago
Frank Denis
b4617940f3
Correct sc25519_reduce() prototype
6 years ago
Frank Denis
63573bb98c
Add crypto_core_ed25519_scalar_random()
6 years ago
Frank Denis
6fa0220302
Export crypto_core_ed25519_scalar_reduce, add tests
6 years ago
Frank Denis
fdeb11d81c
Regen emscripten symbols
6 years ago
Frank Denis
36f2d99fac
Add crypto_core_ed25519_{scalar_invert, ed25519_scalar_reduce)()
These new low-level APIs are especially useful for blinding.
6 years ago
Frank Denis
b6051b7ee2
Add tests for unclamped scalars
6 years ago
Frank Denis
b42082d6d2
Add unclamped versions of scalarmult_ed25519*()
6 years ago
Frank Denis
536ed00d2c
Merge branch 'master' of github.com:jedisct1/libsodium
6 years ago
Frank Denis
055e0ae82c
Even in non-deterministic EdDSA, the actual secret key is H(sk).
6 years ago
Ilya Maykov
c60df7b9ff
Made sig parameter of crypto_sign_final_verify() const
6 years ago
Frank Denis
762e5136ed
Merge old compiler detection with AVX512f support detection
Maybe
fixes #786
6 years ago
Frank Denis
a1dff41891
LONG_LONG_* -> LLONG_*
6 years ago
Marco
a3b81c323a
Fix broken link to documentation in README
6 years ago
Frank Denis
e60bb52a33
Disable AVX512 when using ancient versions of GCC
6 years ago
Frank Denis
a8abbec660
watchOS arm64 is actually arm64_32
6 years ago
Frank Denis
0d3640609e
Make watchos.sh looks like other scripts
6 years ago
Joseph Ross
8f5a748335
Add `dist-build` script to build libsodium for WatchOS.
6 years ago
Frank Denis
52f814e50c
Avoid memset(NULL, _, 0)
6 years ago
Frank Denis
67b0b476d8
Add incomplete nonnull attributes
6 years ago
Frank Denis
c4f03ededb
Add a dummy return value
6 years ago
Frank Denis
82b1739b98
Add getrandom(2) support for FreeBSD 12
6 years ago
Frank Denis
a67c72ea2d
Merge pull request #763 from buu700/master
useBackupModule getRandomValue fix
6 years ago
Ryan Lester
34cbaa8dcd
useBackupModule getRandomValue fix
6 years ago
Frank Denis
9771795351
Revert "Add getrandom(2) support for FreeBSD 12"
This reverts commit 52fdd7ab39
.
Due to TinyC crashing.
6 years ago
Frank Denis
9d5fcef52e
Revert "TinyC now crashes on Travis when compiling sysrandom"
This reverts commit 44dccfe6d4
.
6 years ago
Frank Denis
44dccfe6d4
TinyC now crashes on Travis when compiling sysrandom
6 years ago
Frank Denis
52fdd7ab39
Add getrandom(2) support for FreeBSD 12
Fixes #762
6 years ago
Frank Denis
ff15272cf0
Merge pull request #761 from devnexen/explicit_memset_support_in_utils
Provides explicit_memset supports/NetBSD.
6 years ago
David Carlier
b3ba348d08
Provides explicit_memset supports/NetBSD.
Similar to explicit_bzero function is to defeat
compiler optimisation.
6 years ago
Frank Denis
d922c2480c
Merge pull request #760 from SlavSlavov/patch-2
Update Findsodium.cmake
6 years ago
SlavSlavov
4f8e068b67
Update Findsodium.cmake
A STREQUAL was left during the previous fix. Removed now.
6 years ago
Frank Denis
350a23ae5d
Merge pull request #759 from SlavSlavov/patch-1
Update Findsodium.cmake
6 years ago
SlavSlavov
595ef91557
Update Findsodium.cmake
When libsodium is build and installed from source, the line:
list(REMOVE_DUPLICATES sodium_PKG_STATIC_LIBRARIES)
generates an error because sodium_PKG_STATIC_LIBRARIES is empty
The proposed change fixes this issue
6 years ago
Frank Denis
b7abc4542e
No need to provison for the tag if we are below SIZE_MAX
6 years ago
Frank Denis
f0e5c3940d
Substract the number of blocks, and make similar code more uniform
6 years ago
Frank Denis
3574ab879e
Do not even use untested code in non-production environments
6 years ago
Frank Denis
5a7290ce6a
Make this warning more difficult to ignore
6 years ago
Frank Denis
43909c1ffb
Allow ic + mlen to overflow a size_t in chacha20_ietf_xor_ic()
6 years ago
Frank Denis
bea8839c6b
Do not count the overhead in xchacha20poly1305_MESSAGEBYTES_MAX
6 years ago
Frank Denis
04a7ab95f2
Don't mix lengths and block sizes
6 years ago
Frank Denis
3e9d341d06
Add crypto_stream_chacha20_ietf_ext, use _ext suffix everywhere for consistency
6 years ago
Frank Denis
cf217e3dfc
Call misuse() if we ask too much data from the IETF variant of ChaCha20
Fix #753
6 years ago