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

4214 Commits

Author SHA1 Message Date
Frank Denis
9b623852bd Rewrite the AES256-GCM implementation
Faster, way more readable, easier to port to other architectures.
2022-11-13 18:42:38 +01:00
Frank Denis
a972fe6498 Indent 2022-10-21 17:54:39 +02:00
Frank Denis
992168c50f Win32: SecureZeroMemory may not be available 2022-10-20 14:42:55 +02:00
Frank Denis
ee11a1ff8a Update build.zig for Zig-current 2022-10-20 14:42:39 +02:00
Frank Denis
b4c5d37fb5 scalarmult(): don't use the output as a temporary buffer
So that application can use the same pointer for the public key
and the shared secret.
2022-10-11 14:02:29 +02:00
Elie Hage
3a99e1ec8a
Add support for arm64 watchOS (#1211) 2022-09-23 17:29:44 +02:00
Frank Denis
c281249fd8 Add -Warray-bounds if supported 2022-09-19 15:26:22 +02:00
Javier Navarro
907c2b64ef
ios: remove the support for bitcode (#1210) 2022-09-19 14:04:02 +02:00
bfren
7621b135e2 [dotnet core] build for linux-musl-arm64 (#1174)
* Adding aarch64 build

* Removing workflow_dispatch

* Re-adding x64

* Disable libgcrypt hash - #1173

* Adding sudo to gcrypt disable - #1173

* Remove sudo, put gcrypt disable before building source list - #1173

* Adding linux-musl-arm64 build to NuGet package - #1174

* Explain the gcrypt configuration hack
2022-08-15 16:48:19 +02:00
Steve Thomas
0a6178f203
Clear decrypted block from stack (#1190) 2022-06-18 20:32:35 +02:00
Frank Denis
f333ea1beb Remove ARM64 support from AppVeyor 2022-06-14 14:46:54 +02:00
Frank Denis
a0058a7623 Strip builds 2022-06-07 17:35:41 +02:00
Frank Denis
4bffcc63b1 sodium_compare(): cast operands to unsigned int
This matches the Zig implementation and
fixes #1184
2022-06-05 14:28:54 +02:00
Frank Denis
4290815e54 Update msys2 2022-06-03 23:58:02 +02:00
Yi
fbc070487e
Update wasi-test-wrapper: SSVM was renamed to WasmEdge (#1179) 2022-05-12 12:36:11 +02:00
Frank Denis
0124c4cddb Indent 2022-05-11 18:13:08 +02:00
Frank Denis
f425d4d96f Simplify blkxor() 2022-05-11 18:02:10 +02:00
Frank Denis
0727ce3454 azure-pipelines: wasi-sdk is not used any more 2022-05-10 17:30:25 +02:00
ektrah
561e556dad
Use .NET 6.0 SDK to build and test the NuGet package (#1175) 2022-04-30 21:46:56 +02:00
Frank Denis
94100e5920 build.zig: build both static and shared versions, copy version file 2022-04-28 18:19:02 -07:00
Frank Denis
be7c15b23b build.zig remove ASM_BUILD_SYMBOL 2022-04-28 17:46:37 -07:00
Frank Denis
cc7e7de81d Catalyst: iOS 13.1 is the minimum target for Xcode 13
Fixes #1167
2022-04-03 00:00:54 +02:00
Frank Denis
75bde19055 Revert "Add the shifumi128 ZKP system"
This reverts commit 6efe9ee2b5.
2022-04-02 09:32:22 +02:00
Frank Denis
6efe9ee2b5 Add the shifumi128 ZKP system 2022-03-31 20:04:51 +02:00
Frank Denis
17c1b5cd0b Regen MSVC files 2022-03-31 20:00:00 +02:00
Sean Mollet
3033271213
Put the packaging line for nuget back in (#1164) 2022-03-07 17:33:55 +01:00
Frank Denis
69d15f1123 Support gcc-like and C11-like memory fences 2022-03-07 16:47:43 +01:00
Frank Denis
d4ee08ab8a Add memory fences where supported 2022-03-07 16:38:37 +01:00
Frank Denis
2e9b4c47c8 Build dotnet core x64 binaries in Ubuntu 16.04
...to provide support for CentOS 7 and Debian 9

Contributed by @enclave-alistair

Fixes #1099
2022-02-27 11:39:46 +01:00
Frank Denis
d30251f03e Improve readability 2022-02-05 20:59:16 +01:00
ReenigneCA
68baef3f03
Added script to generate all android versions and script to create AAR (#1155)
* Added script to generate all android versions and script to create AAR with prefab

* disable-pie so x86 static lib works. Update AAR to fix bug related to soname field in .so files themselves. Integrate android-all.sh into android-aar.sh

* Missed updated android-build.sh in last commit. This adds --disable-pie to the configure flags

* Added message after android-aar compilation explaining aar usage
2022-02-05 20:38:12 +01:00
Frank Denis
dce3bca3ba Use deterministic signatures for benchmarking 2022-01-23 00:04:57 +01:00
Frank Denis
3b458d0eee wasm32-wasi: add /opt/homebrew/bin to the default paths 2022-01-22 23:34:25 +01:00
Frank Denis
77bf2e8273 Lucet has reached EOL 2022-01-22 23:34:01 +01:00
Frank Denis
fbe2c92f0d AEGIS: rename constants to match the draft 2022-01-04 16:06:44 +01:00
Frank Denis
d2de91eb20 2022 2021-12-31 23:55:42 +01:00
Frank Denis
75175f8ec6 android-build: use -z 2021-12-28 22:41:31 +01:00
Frank Denis
c72dce4075 androit-build: add extra quotes 2021-12-28 22:39:25 +01:00
Frank Denis
6274dd3598 The Android NDK cannot target API level 16 any more; bump to 19 2021-12-28 22:37:53 +01:00
Frank Denis
003ad0f1c9 Don't use legacy quotes 2021-12-28 22:15:08 +01:00
ReenigneCA
c3d0f1b666
update android build scripts to support latest ndk version and prebuilt toolchains (#1138)
* Update android-armv7-a.sh

update HOST_COMPILER variable to be compatible with updated android-build.sh that supports latest ndk and use of prebuilt toolchains.

* Update android-build.sh

update to allow use of prebuilt toolchains in latest ndk. The latest ndk does not support arm prior to armv7a and the HOST_COMPILER for armv7a must now be armv7a not just arm.

* Delete android-arm.sh

arm prior to armv7a is no longer supported by android ndk.

* Update android-build.sh

removing unneeded MAKE_TOOLCHAIN variable

* Update Makefile.am

removing obsolete android targets

* Delete android-mips32.sh

* Delete android-mips64.sh
2021-12-28 22:12:52 +01:00
Frank Denis
234b7d4ab7 CI: Update Android NDK to r24-beta2 2021-12-28 22:11:28 +01:00
Frank Denis
447cd270d9 edwards25519: faster recovery of the X coordinate 2021-12-27 15:16:56 +01:00
Frank Denis
5df53ce62b Revert "wasm-opt: use --strip-debug"
This reverts commit 85bdde2817.
2021-11-18 14:15:02 +01:00
Niyas Sait
13144d11c1
Enable building win/arm64 package using visual studio (#1130)
* Retarget Visual studio tool chain to v142

* add ARM64 option to wintest.bat

* add windows/arm64 target to appveyor for CI

* add arm64 targets to visual studio solutions

* add cross compile option to wintest.bat

* Fix missing SET in wintest.bat

* update auto-generation scripts for msvc and update project files
2021-11-18 00:43:23 +01:00
Frank Denis
85bdde2817 wasm-opt: use --strip-debug 2021-11-17 21:02:17 +01:00
Frank Denis
ddef5f37a8 Add issue template 2021-11-12 22:57:25 +01:00
Frank Denis
089f850608 Remove expected length from the pwhash_str_verify()/needs_rehash() 2021-11-11 14:15:24 +01:00
Frank Denis
df37f22de0 Azure Pipelines: build on MSVC 2022 2021-11-11 12:58:09 +01:00
Frank Denis
eba7c5e0f4 dotnet-core: add aarch64-macos builds
Fixes #1106
2021-11-11 12:38:46 +01:00