Commit Graph

3717 Commits

Author SHA1 Message Date
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
Ryan Lester
8e138b9f14
iOS fix 2018-08-22 20:06:32 -04:00
Ruslan Baratov
16744191cc Remove '*.cmake' pattern from .gitignore 2018-08-07 20:22:56 +02:00
Frank Denis
461ac93b26
Merge pull request #743 from ruslo/pr.cmake
Remove '*.cmake' pattern from .gitignore
2018-08-07 20:22:25 +02:00
Ruslan Baratov
93d683395f Remove '*.cmake' pattern from .gitignore 2018-08-07 18:24:27 +03:00
Frank Denis
49f112da5d xchacha20 test: initialize the full nonce
Spotted by @FiloSottile, thanks!

Fixes #742
2018-08-03 23:24:55 +02:00
Frank Denis
ccb2390e9c xchacha20 test: initialize the full nonce
Spotted by @FiloSottile, thanks!

Fixes #742
2018-08-03 23:23:53 +02:00
Frank Denis
2052cc7847 strnlen() may not be available everywhere 2018-07-22 21:55:01 +02:00
Frank Denis
7cdf3f0e84 strnlen() may not be available everywhere 2018-07-22 21:54:38 +02:00
Frank Denis
d2728ad93e Merge branch 'stable' of github.com:jedisct1/libsodium into stable
* 'stable' of github.com:jedisct1/libsodium:
  Nits
2018-07-22 21:40:51 +02:00
Frank Denis
922e4dcd9e Merge branch 'master' of github.com:jedisct1/libsodium
* 'master' of github.com:jedisct1/libsodium:
  Invert (1-y) just before the multiplication by (1+y) for readability
  Nits
2018-07-22 21:40:39 +02:00
Frank Denis
e8fea07f19 memchr() can process its input in any order
Fixes #737
2018-07-22 21:27:56 +02:00
Frank Denis
74ba82210e memchr() can process its input in any order
Fixes #737
2018-07-22 21:26:31 +02:00
Frank Denis
d25d6ce7fb Invert (1-y) just before the multiplication by (1+y) for readability 2018-07-21 00:43:39 +02:00
Frank Denis
dcd9b13e31 Nits 2018-07-19 14:44:42 +02:00
Frank Denis
91d9051bce Nits 2018-07-19 14:44:17 +02:00
Anton Maklakov
c398a51e21 Fix warnings that appeared in GCC7+ (related to -Wimplicit-fallthrough) 2018-07-04 21:19:04 +02:00
Frank Denis
875fbd0e91
Merge pull request #728 from antmak/fix_fallthrou_warnings
Fix warnings in GCC7 related to -Wimplicit-fallthrough
2018-07-04 21:18:32 +02:00
Anton Maklakov
f16896146a Fix warnings that appeared in GCC7+ (related to -Wimplicit-fallthrough) 2018-07-04 23:29:33 +07:00
Frank Denis
bc7eb925bb Clarify what --disable-asm does 2018-07-03 18:01:27 +02:00
Frank Denis
bff91a85f4 Clarify what --disable-asm does 2018-07-03 18:00:38 +02:00
Ryan Lester
973cdb5143 fix for emscripten breaking change (https://github.com/kripken/emscripten/pull/6419) 2018-06-30 20:59:57 +02:00