100ccb452d
* 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> |
||
---|---|---|
.github/workflows | ||
build-aux | ||
builds | ||
contrib | ||
dist-build | ||
m4 | ||
msvc-scripts | ||
packaging | ||
regen-msvc | ||
src | ||
test | ||
.gitignore | ||
aclocal.m4 | ||
appveyor.yml | ||
AUTHORS | ||
autogen.sh | ||
azure-pipelines.yml | ||
ChangeLog | ||
configure | ||
configure.ac | ||
lgtm.yml | ||
libsodium-uninstalled.pc.in | ||
libsodium.pc.in | ||
libsodium.sln | ||
libsodium.vcxproj | ||
libsodium.vcxproj.filters | ||
LICENSE | ||
logo.png | ||
Makefile.am | ||
Makefile.in | ||
README.markdown | ||
THANKS |
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:
- libsodium documentation - online, requires Javascript.
- offline documentation in PDF format.
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
.