Frank Denis
82b1739b98
Add getrandom(2) support for FreeBSD 12
2018-09-30 16:44:27 -05:00
Ryan Lester
2a8c2426b5
useBackupModule getRandomValue fix
2018-09-30 00:41:45 +02:00
Frank Denis
a67c72ea2d
Merge pull request #763 from buu700/master
...
useBackupModule getRandomValue fix
2018-09-29 17:40:22 -05:00
Ryan Lester
34cbaa8dcd
useBackupModule getRandomValue fix
2018-09-29 18:22:42 -04:00
Frank Denis
9771795351
Revert "Add getrandom(2) support for FreeBSD 12"
...
This reverts commit 52fdd7ab39
.
Due to TinyC crashing.
2018-09-29 22:53:05 +02:00
Frank Denis
9d5fcef52e
Revert "TinyC now crashes on Travis when compiling sysrandom"
...
This reverts commit 44dccfe6d4
.
2018-09-29 22:52:56 +02:00
Frank Denis
44dccfe6d4
TinyC now crashes on Travis when compiling sysrandom
2018-09-29 22:48:53 +02:00
Frank Denis
52fdd7ab39
Add getrandom(2) support for FreeBSD 12
...
Fixes #762
2018-09-29 22:37:39 +02:00
Frank Denis
ff15272cf0
Merge pull request #761 from devnexen/explicit_memset_support_in_utils
...
Provides explicit_memset supports/NetBSD.
2018-09-29 13:48:50 -05:00
David Carlier
b3ba348d08
Provides explicit_memset supports/NetBSD.
...
Similar to explicit_bzero function is to defeat
compiler optimisation.
2018-09-29 19:19:23 +01:00
SlavSlavov
70d52cbea2
Update Findsodium.cmake
...
A STREQUAL was left during the previous fix. Removed now.
2018-09-27 18:51:04 -05:00
Frank Denis
d922c2480c
Merge pull request #760 from SlavSlavov/patch-2
...
Update Findsodium.cmake
2018-09-27 17:50:10 -06:00
SlavSlavov
4f8e068b67
Update Findsodium.cmake
...
A STREQUAL was left during the previous fix. Removed now.
2018-09-27 22:31:40 +01:00
SlavSlavov
c0cb0a9f98
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
2018-09-26 23:00:01 -06:00
Frank Denis
350a23ae5d
Merge pull request #759 from SlavSlavov/patch-1
...
Update Findsodium.cmake
2018-09-27 06:59:25 +02:00
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
2018-09-26 20:59:59 +01:00
Frank Denis
675a899d11
No need to provison for the tag if we are below SIZE_MAX
2018-09-12 15:26:38 +02:00
Frank Denis
90112d3eb0
Substract the number of blocks, and make similar code more uniform
2018-09-12 15:26:33 +02:00
Frank Denis
b7abc4542e
No need to provison for the tag if we are below SIZE_MAX
2018-09-12 15:22:30 +02:00
Frank Denis
f0e5c3940d
Substract the number of blocks, and make similar code more uniform
2018-09-12 15:19:56 +02:00
Frank Denis
3574ab879e
Do not even use untested code in non-production environments
2018-09-12 14:53:16 +02:00
Frank Denis
5a7290ce6a
Make this warning more difficult to ignore
2018-09-12 14:51:03 +02:00
Frank Denis
f9c1947fce
Do not count the overhead in xchacha20poly1305_MESSAGEBYTES_MAX
2018-09-12 08:44:06 +02:00
Frank Denis
43909c1ffb
Allow ic + mlen to overflow a size_t in chacha20_ietf_xor_ic()
2018-09-12 08:40:22 +02:00
Frank Denis
bea8839c6b
Do not count the overhead in xchacha20poly1305_MESSAGEBYTES_MAX
2018-09-12 08:19:12 +02:00
Frank Denis
04a7ab95f2
Don't mix lengths and block sizes
2018-09-10 19:57:06 +02:00
Frank Denis
3e9d341d06
Add crypto_stream_chacha20_ietf_ext, use _ext suffix everywhere for consistency
2018-09-08 14:54:12 +02:00
Frank Denis
cf217e3dfc
Call misuse() if we ask too much data from the IETF variant of ChaCha20
...
Fix #753
2018-09-08 02:12:23 +02:00
Frank Denis
9c86285ee2
Update ChangeLog
2018-09-06 21:00:52 +02:00
Ryan Lester
c3aaa3c5c6
asm.js fallback fix
2018-09-04 15:47:39 +02:00
Frank Denis
f8d39cd8a5
Merge pull request #752 from buu700/master
...
#747 fix
2018-09-04 15:45:58 +02:00
Frank Denis
69a5643477
Add chacha20-poly1305 test from Project Wycheproof
2018-09-04 15:44:42 +02:00
Ryan Lester
f642149364
asm.js fallback fix
2018-08-30 16:54:29 -04:00
Ryan Lester
73687a0044
style consistency fix
2018-08-30 16:54:15 -04:00
Frank Denis
cb22446db1
Add aes256gcm tests from project wycheproof
2018-08-30 09:51:28 +02:00
Frank Denis
cdc4822c92
Remove unneeded trailing commas
2018-08-30 09:26:16 +02:00
Frank Denis
ab4ab23d57
x25519_ref: ignore the high bit in the small order PK check
2018-08-29 16:04:40 +02:00
Frank Denis
f8377e9818
Add x25519 test vectors from project wycheproof
2018-08-29 15:08:26 +02:00
Frank Denis
ac0c0c4565
Update ChangeLog
2018-08-29 14:27:17 +02:00
Frank Denis
41c87891dc
Emscripten: remove -s NO_FILESYSTEM=1
...
Emscripten support for this has been broken for way too long.
2018-08-29 14:02:57 +02:00
Frank Denis
d754716599
Merge branch 'master' of github.com:jedisct1/libsodium
...
* 'master' of github.com:jedisct1/libsodium:
Indent
Fixes padding for blocksizes > 256
2018-08-29 14:02:38 +02:00
Frank Denis
72ad112e01
Emscripten: remove -s NO_FILESYSTEM=1
...
Emscripten support for this has been broken for way too long.
2018-08-29 14:02:15 +02:00
Frank Denis
2fe2893616
Indent
2018-08-27 12:30:06 +02:00
Frank Denis
1ec6edc1a8
Indent
2018-08-27 12:29:49 +02:00
Jakob Rieck
d7df251cd0
Fixes padding for blocksizes > 256
2018-08-27 12:22:07 +02:00
Frank Denis
f3c49f3bda
Merge pull request #751 from 0xbf00/master
...
Fixes padding for blocksizes > 256
2018-08-27 12:21:37 +02:00
Jakob Rieck
543b5ad068
Fixes padding for blocksizes > 256
2018-08-27 11:42:49 +02:00
Ryan Lester
51d76b88df
iOS fix
2018-08-23 10:18:31 +02:00
Frank Denis
05446caf33
Merge branch 'master' of github.com:jedisct1/libsodium
...
* 'master' of github.com:jedisct1/libsodium:
iOS fix
Remove '*.cmake' pattern from .gitignore
2018-08-23 10:18:06 +02:00
Frank Denis
85d2e8e1ba
Merge pull request #747 from buu700/master
...
iOS fix
2018-08-23 10:17:54 +02:00