1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-20 10:37:24 -07:00
Commit Graph

189 Commits

Author SHA1 Message Date
Frank Denis
3b689a6ab4 New automake version 2020-03-22 22:56:19 +01:00
Frank Denis
182415cb69 Remove sandy2x fixed base scalar multiplication
Thanks to precomputation, the generic implementation is faster.

Don't even define a .mult_base placeholder for sandy2x

Avoid two indirections for fixed base multiplication until another
implementation possibly exists.
2020-02-06 00:54:39 +01:00
Frank Denis
1d4017df58 Regen 2019-11-11 01:08:03 +01:00
Frank Denis
940ef42797 1.0.18 2019-05-30 21:57:51 +02:00
Frank Denis
77572665ad Support the enterprise version of Visual Studio 2019-05-28 20:28:01 +02:00
Frank Denis
9b73106c8a Regen builds/Makefile.in to include MSVC 2019 files 2019-04-23 10:18:18 +02:00
Frank Denis
c09b00cf20 sync 2019-04-03 16:13:43 +02:00
Frank Denis
5fb4cbd8d7 Build Visual Studio 2019 binaries 2019-04-03 15:00:33 +02:00
Frank Denis
e66a483301 Add Visual Studio 2019 builds 2019-04-03 15:00:28 +02:00
Luca Boccassi
ecdcf55173 Add -pthread to pkgconfig's Libs.private if enabled
Allows static builds to correctly inherit the pthread dependency when
used with pkg-config --static --libs libsodium

AC_SUBST doesn't require explicit values

Regen autoconf

Fixes #800
2019-01-15 00:29:20 +01:00
Frank Denis
10ac185647 Merge branch 'master' into stable-1.0.17
* master: (190 commits)
  fileinput is not used any more
  2019
  local-dynamic is enough
  Set tls-model only if TLS is supported
  Enable -ftls-model=global-dynamic if available
  Set nonce in randombytes_salsa20_random_stir() instead of random_init()
  Bump .NET version examples
  Add another test
  Avoid memory leak and overflow in addition test
  Avoid partial array initialization
  Bump SODIUM_LIBRARY_VERSION_MINOR
  More tests
  More tests
  Improve clarity
  ALLOW_MEMORY_GROWTH is now enabled
  AVX512 detection has been improved
  Add a conditional to enable retpoline support
  must -> should
  Add comments, avoid implicit array initialization
  Add comments
  ...
2019-01-06 15:43:38 +01:00
Frank Denis
f3ce049a98 Bump to 1.0.17
Not released yet. This is just to encourage people to test the current
code.
2018-12-30 12:04:52 +01:00
Frank Denis
e60049aad1 Revert "Add crypto_kx_ed25519" and "Add low-level kx_curve25519 functions"
This reverts commit 2d736dc2bc.
This reverts commit 7f3bc5cd08.
2018-12-25 19:22:33 +01:00
Frank Denis
2d736dc2bc Add crypto_kx_ed25519 2018-12-25 12:46:21 +01: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
06ee95c3f1 Regen autoconf scripts 2018-03-14 12:03:49 -07:00
Frank Denis
5bc564cac1 1.0.16
* master: (221 commits)
  Comment
  Comments
  msys2 build scripts: just use -Ofast
  Always prefer vararrays to alloca()
  Don't redefine alloca
  Return -1 if the scalar is 0 in crypto_scalarmult_ed25519()
  Remove trailing space
  Import the regen-msvc script
  Update ChangeLog
  Do not wipe the workspace after argon2 completes
  Remove tests for deprecated functions
  Give the compiler a change to inline index_alpha()
  Immediately allocate all required memory in argon2/scrypt
  Check reduced-round salsa variants in non-minimal mode
  Coverage exclusion -- this is just an extra, redundant check
  Remove incorrect and useless cast
  -fomit-frame-pointer makes a different on mips
  WebAssembly benefits from the 128-bit types, too
  Remove extra spaces
  Undef devel
  ...
2017-12-13 16:21:20 +01:00
Frank Denis
98313bb8c7 Remove extra spaces 2017-12-09 23:47:01 +01:00
Frank Denis
18e2038fbb Version bump [not released yet] 2017-12-05 22:23:37 +00:00
Frank Denis
0e0daa48b2 Regen MSVC solutions 2017-11-25 20:01:01 +01:00
Frank Denis
710969cc2d Update Visual Studio solutions 2017-11-18 17:58:11 +01:00
Frank Denis
659751e5b0 Remove version.h from MSVC solutions 2017-11-15 16:59:01 +01:00
Frank Denis
57dac9eb60 + crypto_core_ed25519_add(), crypto_core_ed25519_sub() 2017-11-13 14:22:44 +01:00
Frank Denis
569778b517 Rename core/curve25519 to core/ed25519 2017-11-11 17:44:00 +01:00
Frank Denis
4bd6196c96 Move functions not worth inlining back to core 2017-11-06 15:06:21 +01:00
Frank Denis
f523ea1656 Regen MSVC files 2017-11-06 14:33:39 +01:00
Frank Denis
bfd656b67b core/25519: Use 51-bit limbs on platforms supporting 128 bit arithmetic 2017-11-05 17:50:15 +01:00
Frank Denis
bd82e08337 Move 25.5 bit field arithmetic to ref10/fe_25_5 2017-11-05 17:35:22 +01:00
Frank Denis
f1e9acef5c Rename crypto_sign_ed25519_scalarmult() to crypto_scalarmult_ed25519() 2017-10-23 13:22:34 +02:00
Frank Denis
cd1b97d5a2 Regen autoconf files 2017-10-01 17:17:11 +02:00
Frank Denis
a8ebd37b7b Bump library version 2017-10-01 10:15:48 +02:00
Frank Denis
acdd766953 Regen MSVC files 2017-09-27 19:34:45 +02:00
Frank Denis
5cc334b33c Add AVX512F optimized Argon2 implementation 2017-09-15 00:04:18 +02:00
Frank Denis
80095105bb Missing pieces of a version bump 2017-09-13 19:39:36 +02:00
Frank Denis
30a25dbb2a Bump 2017-08-24 15:50:25 +02:00
Frank Denis
b503d75e43 Add crypto_secretstream_*() to MSVC solutions 2017-08-22 09:29:32 +02:00
Frank Denis
f42390a557 Update Visual Studio solutions 2017-08-09 15:58:21 +02:00
Frank Denis
67a7df73b1 Add all the Visual Studio files in the tarball
This is gonna make a big tarball!

Fixes #569
2017-07-24 14:27:33 +02:00
Frank Denis
334738cf29 Add resource.rc to the Visual Studio filters files 2017-07-24 14:06:21 +02:00
Frank Denis
c350bdd87c <winres.h> -> <windows.h> to unbreak builds with MSVC < 2013 2017-07-13 21:15:01 +02:00
Frank Denis
24335c250d Bump 2017-07-13 16:20:17 +02:00
Frank Denis
957f0ab299 Add box_seal_curve25519xchacha20poly1305 to the MSVC projects 2017-07-07 19:31:53 +02:00
Frank Denis
2805a23574 Regen MSVC projects 2017-06-27 16:23:53 +02:00
Frank Denis
935557cdf7 Add AVX2-optimized Argon2 blamka function 2017-06-27 14:26:40 +02:00
Frank Denis
3a9c4c38f7 Re-add $(VCTargetsPath)\Microsoft.Cpp.targets
Fixes #553
2017-05-27 16:19:47 +02:00
Frank Denis
0eed55ce6a Remove redundant definitions from the project files 2017-05-27 12:01:34 +02:00
Frank Denis
87473fdd3f MSVC advapi32.lib dependency should not be in vcxproj
Fixes #552
2017-05-27 11:47:32 +02:00
Frank Denis
9787febb00 Regen 2017-05-25 12:51:02 +02:00
LammyL
98e58ae4c1 Added version resource files for msvc compiled dlls. (#551) 2017-05-25 12:39:18 +02:00
Frank Denis
aa7ded10e7 Bump package (not library) version 2017-03-28 12:57:19 +02:00