Go to file
Jørgen P. Tjernø 100ccb452d Portability improvements (#1105)
* Move `raise` code to be behind an autoconf check

This moves the call to `raise` behind a `HAVE_RAISE` autoconf check,
in addition to `__wasm__`. This is intended to help porting to
other platforms that don't support `raise` (e.g. modern game consoles).

* Add autoconf check for `sysconf`

Only try to invoke `sysconf` if the target platform supports it, and
don't warn about unknown page size if `PAGE_SIZE` was defined. Add an
include for `sys/param.h` to increase likelihood of finding `PAGE_SIZE`.
This is intended to help porting to other platforms that don't support
`sysconf` (e.g. modern game consoles) that have a fixed hardware page
size.

* Don't try to use raise & sysconf in a WASI environment

Co-authored-by: Frank Denis <124872+jedisct1@users.noreply.github.com>
2021-10-09 18:39:02 +02:00
.github/workflows Add multi-plat nuget package testing (#1070) 2021-06-02 21:32:28 +02:00
build-aux Portability improvements (#1105) 2021-10-09 18:39:02 +02:00
builds Portability improvements (#1105) 2021-10-09 18:39:02 +02:00
contrib Portability improvements (#1105) 2021-10-09 18:39:02 +02:00
dist-build Portability improvements (#1105) 2021-10-09 18:39:02 +02:00
m4 Update some autoconf definitions 2021-04-08 10:57:21 +02:00
msvc-scripts Portability improvements (#1105) 2021-10-09 18:39:02 +02:00
packaging Adding linux-arm support for the .net build (#1069) 2021-05-26 20:00:56 +02:00
regen-msvc Indent regen-msvc.py 2019-04-22 19:53:26 +02:00
src Portability improvements (#1105) 2021-10-09 18:39:02 +02:00
test Portability improvements (#1105) 2021-10-09 18:39:02 +02:00
.gitignore 1.0.18 2019-05-30 21:57:51 +02:00
aclocal.m4 Portability improvements (#1105) 2021-10-09 18:39:02 +02:00
appveyor.yml 1.0.18 2019-05-30 21:57:51 +02:00
AUTHORS 1.0.18 2019-05-30 21:57:51 +02:00
autogen.sh Make sure config.sub and config.guess are executable (#1024) 2021-01-27 14:01:53 +01:00
azure-pipelines.yml Update msys2 2021-07-25 21:57:16 +02:00
ChangeLog ChangeLog nits 2019-05-31 00:44:38 +02:00
configure Portability improvements (#1105) 2021-10-09 18:39:02 +02:00
configure.ac Portability improvements (#1105) 2021-10-09 18:39:02 +02:00
lgtm.yml Use autogen.sh -s in lgtm 2020-06-18 19:37:46 +02:00
libsodium-uninstalled.pc.in Add -pthread to pkgconfig's Libs.private if enabled 2019-01-15 00:29:20 +01:00
libsodium.pc.in Add -pthread to pkgconfig's Libs.private if enabled 2019-01-15 00:29:20 +01:00
libsodium.sln Retarget the top solution to Visual Studio 2015 2015-11-01 08:29:49 -08:00
libsodium.vcxproj Remove sandy2x fixed base scalar multiplication 2020-02-06 00:54:39 +01:00
libsodium.vcxproj.filters Remove sandy2x fixed base scalar multiplication 2020-02-06 00:54:39 +01:00
LICENSE Year++ 2021-01-01 00:02:24 +01:00
logo.png Make the text logo slightly more readable in dark mode 2020-12-08 23:18:07 +01:00
Makefile.am Add all the Visual Studio files in the tarball 2017-07-24 14:27:33 +02:00
Makefile.in Portability improvements (#1105) 2021-10-09 18:39:02 +02:00
README.markdown Enable GitHub Actions 2021-01-23 22:38:14 +01:00
THANKS + Alexander Ilin for Factor bindings 2018-12-25 10:25:23 +01:00

GitHub CI Windows build status Coverity Scan Build Status Azure build status CodeQL scan

libsodium

Sodium is a new, easy-to-use software library for encryption, decryption, signatures, password hashing and more.

It is a portable, cross-compilable, installable, packageable fork of NaCl, with a compatible API, and an extended API to improve usability even further.

Its goal is to provide all of the core operations needed to build higher-level cryptographic tools.

Sodium supports a variety of compilers and operating systems, including Windows (with MingW or Visual Studio, x86 and x64), iOS, Android, as well as Javascript and Webassembly.

Documentation

The documentation is available on Gitbook and built from the libsodium-doc repository:

Integrity Checking

The integrity checking instructions (including the signing key for libsodium) are available in the installation section of the documentation.

Community

A mailing-list is available to discuss libsodium.

In order to join, just send a random mail to sodium-subscribe {at} pureftpd {dot} org.

License

ISC license.