rbnacl-libsodium 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +4 -0
- data/lib/rbnacl/libsodium/version.rb +1 -1
- data/vendor/libsodium/ChangeLog +20 -1
- data/vendor/libsodium/Makefile.in +39 -27
- data/vendor/libsodium/README.markdown +2 -2
- data/vendor/libsodium/THANKS +2 -0
- data/vendor/libsodium/aclocal.m4 +36 -33
- data/vendor/libsodium/autom4te.cache/output.1 +1118 -841
- data/vendor/libsodium/autom4te.cache/output.4 +17517 -0
- data/vendor/libsodium/autom4te.cache/requests +760 -531
- data/vendor/libsodium/autom4te.cache/traces.1 +13 -14
- data/vendor/libsodium/autom4te.cache/traces.4 +2951 -0
- data/vendor/libsodium/build-aux/compile +1 -1
- data/vendor/libsodium/build-aux/config.guess +13 -160
- data/vendor/libsodium/build-aux/config.sub +25 -11
- data/vendor/libsodium/build-aux/depcomp +1 -1
- data/vendor/libsodium/build-aux/install-sh +170 -196
- data/vendor/libsodium/build-aux/ltmain.sh +3459 -2026
- data/vendor/libsodium/build-aux/missing +1 -1
- data/vendor/libsodium/build-aux/test-driver +12 -3
- data/vendor/libsodium/builds/msvc/version.h +2 -2
- data/vendor/libsodium/builds/msvc/vs2010/libsodium/libsodium.vcxproj +1 -4
- data/vendor/libsodium/builds/msvc/vs2010/libsodium/libsodium.vcxproj.filters +3 -8
- data/vendor/libsodium/builds/msvc/vs2010/test/test.vcxproj +11 -2
- data/vendor/libsodium/builds/msvc/vs2010/test/test.vcxproj.filters +11 -2
- data/vendor/libsodium/builds/msvc/vs2012/libsodium/libsodium.vcxproj +2 -5
- data/vendor/libsodium/builds/msvc/vs2012/libsodium/libsodium.vcxproj.filters +3 -8
- data/vendor/libsodium/builds/msvc/vs2012/test/test.vcxproj +11 -2
- data/vendor/libsodium/builds/msvc/vs2012/test/test.vcxproj.filters +11 -2
- data/vendor/libsodium/builds/msvc/vs2013/libsodium/libsodium.vcxproj +1 -4
- data/vendor/libsodium/builds/msvc/vs2013/libsodium/libsodium.vcxproj.filters +3 -8
- data/vendor/libsodium/builds/msvc/vs2013/test/test.vcxproj +11 -2
- data/vendor/libsodium/builds/msvc/vs2013/test/test.vcxproj.filters +11 -2
- data/vendor/libsodium/builds/msvc/vs2015/libsodium.import.props +52 -0
- data/vendor/libsodium/{packaging/nuget/package.xml → builds/msvc/vs2015/libsodium.import.xml} +2 -7
- data/vendor/libsodium/builds/msvc/vs2015/libsodium.sln +81 -0
- data/vendor/libsodium/builds/msvc/vs2015/libsodium/libsodium.props +43 -0
- data/vendor/libsodium/builds/msvc/vs2015/libsodium/libsodium.vcxproj +352 -0
- data/vendor/libsodium/builds/msvc/vs2015/libsodium/libsodium.vcxproj.filters +1073 -0
- data/vendor/libsodium/builds/msvc/vs2015/libsodium/libsodium.xml +15 -0
- data/vendor/libsodium/builds/msvc/vs2015/test/test.props +43 -0
- data/vendor/libsodium/builds/msvc/vs2015/test/test.runner.bat +78 -0
- data/vendor/libsodium/builds/msvc/vs2015/test/test.vcxproj +241 -0
- data/vendor/libsodium/builds/msvc/vs2015/test/test.vcxproj.filters +189 -0
- data/vendor/libsodium/configure +1117 -840
- data/vendor/libsodium/configure.ac +4 -4
- data/vendor/libsodium/dist-build/Makefile.am +2 -2
- data/vendor/libsodium/dist-build/Makefile.in +19 -7
- data/vendor/libsodium/dist-build/android-arm.sh +3 -2
- data/vendor/libsodium/dist-build/android-armv7-a.sh +4 -0
- data/vendor/libsodium/dist-build/android-build.sh +4 -5
- data/vendor/libsodium/dist-build/android-mips32.sh +4 -0
- data/vendor/libsodium/dist-build/android-x86.sh +3 -2
- data/vendor/libsodium/dist-build/emscripten.sh +4 -5
- data/vendor/libsodium/dist-build/ios.sh +56 -25
- data/vendor/libsodium/dist-build/osx.sh +20 -0
- data/vendor/libsodium/libsodium.vcxproj +1 -0
- data/vendor/libsodium/libsodium.vcxproj.filters +3 -0
- data/vendor/libsodium/m4/libtool.m4 +1366 -1030
- data/vendor/libsodium/m4/ltoptions.m4 +90 -37
- data/vendor/libsodium/m4/ltsugar.m4 +4 -3
- data/vendor/libsodium/m4/ltversion.m4 +6 -6
- data/vendor/libsodium/m4/lt~obsolete.m4 +4 -3
- data/vendor/libsodium/msvc-scripts/Makefile.in +17 -5
- data/vendor/libsodium/msvc-scripts/process.bat +2 -2
- data/vendor/libsodium/packaging/nuget/package.config +1 -1
- data/vendor/libsodium/src/Makefile.in +17 -5
- data/vendor/libsodium/src/libsodium/Makefile.am +7 -2
- data/vendor/libsodium/src/libsodium/Makefile.in +83 -55
- data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha256/auth_hmacsha256_api.c +5 -0
- data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha256/cp/verify_hmacsha256.c +1 -1
- data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha512/auth_hmacsha512_api.c +5 -0
- data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha512/cp/verify_hmacsha512.c +1 -1
- data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha512256/auth_hmacsha512256_api.c +5 -0
- data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha512256/cp/verify_hmacsha512256.c +1 -1
- data/vendor/libsodium/src/libsodium/crypto_box/crypto_box_seal.c +67 -0
- data/vendor/libsodium/src/libsodium/crypto_generichash/crypto_generichash.c +8 -1
- data/vendor/libsodium/src/libsodium/crypto_hash/sha256/hash_sha256_api.c +5 -0
- data/vendor/libsodium/src/libsodium/crypto_hash/sha512/hash_sha512_api.c +5 -0
- data/vendor/libsodium/src/libsodium/crypto_onetimeauth/crypto_onetimeauth.c +12 -6
- data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/crypto_scrypt.h +11 -0
- data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/nosse/pwhash_scryptsalsa208sha256_nosse.c +60 -25
- data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/pwhash_scryptsalsa208sha256.c +12 -12
- data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/donna_c64/smult_curve25519_donna_c64.c +11 -3
- data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/open.c +1 -1
- data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/sign.c +1 -4
- data/vendor/libsodium/src/libsodium/crypto_stream/xsalsa20/ref/api.h +1 -0
- data/vendor/libsodium/src/libsodium/crypto_stream/xsalsa20/ref/xor_xsalsa20.c +13 -3
- data/vendor/libsodium/src/libsodium/include/Makefile.in +18 -6
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_auth_hmacsha256.h +9 -5
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_auth_hmacsha512.h +9 -5
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_auth_hmacsha512256.h +6 -2
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_box.h +15 -0
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_generichash.h +2 -0
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_generichash_blake2b.h +1 -1
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_hash_sha256.h +2 -0
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_hash_sha512.h +2 -0
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_onetimeauth.h +2 -0
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_stream_xsalsa20.h +6 -0
- data/vendor/libsodium/src/libsodium/include/sodium/randombytes.h +6 -6
- data/vendor/libsodium/src/libsodium/include/sodium/utils.h +2 -2
- data/vendor/libsodium/src/libsodium/randombytes/randombytes.c +82 -3
- data/vendor/libsodium/src/libsodium/randombytes/salsa20/randombytes_salsa20_random.c +85 -33
- data/vendor/libsodium/src/libsodium/randombytes/sysrandom/randombytes_sysrandom.c +80 -42
- data/vendor/libsodium/src/libsodium/sodium/utils.c +16 -13
- data/vendor/libsodium/test/Makefile.am +1 -1
- data/vendor/libsodium/test/Makefile.in +18 -6
- data/vendor/libsodium/test/default/Makefile.am +9 -3
- data/vendor/libsodium/test/default/Makefile.in +72 -38
- data/vendor/libsodium/test/default/auth.c +8 -0
- data/vendor/libsodium/test/default/auth5.c +0 -2
- data/vendor/libsodium/test/default/auth7.c +0 -2
- data/vendor/libsodium/test/default/box8.c +0 -2
- data/vendor/libsodium/test/default/box_easy2.c +1 -1
- data/vendor/libsodium/test/default/box_seal.c +43 -0
- data/vendor/libsodium/test/default/box_seal.exp +4 -0
- data/vendor/libsodium/test/default/cmptest.h +1 -0
- data/vendor/libsodium/test/default/generichash2.c +1 -0
- data/vendor/libsodium/test/default/hash.c +2 -0
- data/vendor/libsodium/test/default/onetimeauth.c +1 -0
- data/vendor/libsodium/test/default/onetimeauth7.c +0 -2
- data/vendor/libsodium/test/default/pre.js.inc +0 -27
- data/vendor/libsodium/test/default/pwhash.c +18 -5
- data/vendor/libsodium/test/default/randombytes.c +44 -2
- data/vendor/libsodium/test/default/secretbox8.c +0 -2
- data/vendor/libsodium/test/default/sodium_utils2.c +5 -1
- data/vendor/libsodium/test/default/sodium_utils3.c +1 -1
- data/vendor/libsodium/test/default/stream.c +13 -1
- data/vendor/libsodium/test/default/stream.exp +1 -0
- data/vendor/libsodium/test/default/stream2.c +13 -1
- data/vendor/libsodium/test/default/stream2.exp +1 -0
- data/vendor/libsodium/test/quirks/quirks.h +26 -0
- metadata +23 -12
- data/vendor/libsodium/builds/msvc/resource.h +0 -0
- data/vendor/libsodium/builds/msvc/resource.rc +0 -0
- data/vendor/libsodium/dist-build/android-armv7.sh +0 -3
- data/vendor/libsodium/dist-build/android-mips.sh +0 -3
- data/vendor/libsodium/packaging/nuget/package.nuspec +0 -95
- data/vendor/libsodium/packaging/nuget/package.targets +0 -128
- data/vendor/libsodium/test/quirks/windows/windows-quirks.h +0 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5fbe4687ba4ca620d791b858a59724193f71a9e4
|
4
|
+
data.tar.gz: f29340064e57a8875c3c60b78c01e2fc860a6afa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ccfa8a9d475e089acf137be6e2d460cabe935601605dddd6654e46779cc29ae6837e10e481176b852b2d280e5548d3cf9c9eae1cf9763d9345c90230fd8953f
|
7
|
+
data.tar.gz: f02c989cc2a9326648ef89cc6925c0ace5cc6aa0e392f571df82d4e8b964ea025526011b8a2d10dc53be9921d062a6cd24ab70ca53d73d2620913ed41bbfbdde
|
data/CHANGES.md
CHANGED
data/vendor/libsodium/ChangeLog
CHANGED
@@ -1,10 +1,29 @@
|
|
1
1
|
|
2
|
+
* Version 1.0.3
|
3
|
+
- In addition to sodium_bin2hex(), sodium_hex2bin() is now a
|
4
|
+
constant-time function.
|
5
|
+
- crypto_stream_xsalsa20_ic() has been added.
|
6
|
+
- crypto_generichash_statebytes(), crypto_auth_*_statebytes() and
|
7
|
+
crypto_hash_*_statebytes() have been added in order to retrieve the
|
8
|
+
size of structures keeping states from foreign languages.
|
9
|
+
- The JavaScript target doesn't require /dev/urandom or an external
|
10
|
+
randombytes() implementation any more. Other minor Emscripten-related
|
11
|
+
improvements have been made in order to support libsodium.js
|
12
|
+
- Custom randombytes implementations do not need to provide their own
|
13
|
+
implementation of randombytes_uniform() any more. randombytes_stir()
|
14
|
+
and randombytes_close() can also be NULL pointers if they are not
|
15
|
+
required.
|
16
|
+
- On Linux, getrandom(2) is being used instead of directly accessing
|
17
|
+
/dev/urandom, if the kernel supports this system call.
|
18
|
+
- crypto_box_seal() and crypto_box_seal_open() have been added.
|
19
|
+
- A solutions for Visual Studio 2015 was added.
|
20
|
+
|
2
21
|
* Version 1.0.2
|
3
22
|
- The _easy and _detached APIs now support precalculated keys;
|
4
23
|
crypto_box_easy_afternm(), crypto_box_open_easy_afternm(),
|
5
24
|
crypto_box_detached_afternm() and crypto_box_open_detached_afternm()
|
6
25
|
have been added as an alternative to the NaCl interface.
|
7
|
-
- Memory allocation functions can now be used on
|
26
|
+
- Memory allocation functions can now be used on operating systems with
|
8
27
|
no memory protection.
|
9
28
|
- crypto_sign_open() and crypto_sign_edwards25519sha512batch_open()
|
10
29
|
now accept a NULL pointer instead of a pointer to the message size, if
|
@@ -1,7 +1,7 @@
|
|
1
|
-
# Makefile.in generated by automake 1.
|
1
|
+
# Makefile.in generated by automake 1.15 from Makefile.am.
|
2
2
|
# @configure_input@
|
3
3
|
|
4
|
-
# Copyright (C) 1994-
|
4
|
+
# Copyright (C) 1994-2014 Free Software Foundation, Inc.
|
5
5
|
|
6
6
|
# This Makefile.in is free software; the Free Software Foundation
|
7
7
|
# gives unlimited permission to copy and/or distribute it,
|
@@ -15,7 +15,17 @@
|
|
15
15
|
@SET_MAKE@
|
16
16
|
|
17
17
|
VPATH = @srcdir@
|
18
|
-
am__is_gnu_make =
|
18
|
+
am__is_gnu_make = { \
|
19
|
+
if test -z '$(MAKELEVEL)'; then \
|
20
|
+
false; \
|
21
|
+
elif test -n '$(MAKE_HOST)'; then \
|
22
|
+
true; \
|
23
|
+
elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
|
24
|
+
true; \
|
25
|
+
else \
|
26
|
+
false; \
|
27
|
+
fi; \
|
28
|
+
}
|
19
29
|
am__make_running_with_option = \
|
20
30
|
case $${target_option-} in \
|
21
31
|
?) ;; \
|
@@ -79,21 +89,6 @@ POST_UNINSTALL = :
|
|
79
89
|
build_triplet = @build@
|
80
90
|
host_triplet = @host@
|
81
91
|
subdir = .
|
82
|
-
DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
|
83
|
-
$(top_srcdir)/configure $(am__configure_deps) \
|
84
|
-
$(srcdir)/libsodium.pc.in \
|
85
|
-
$(srcdir)/libsodium-uninstalled.pc.in \
|
86
|
-
$(top_srcdir)/src/libsodium/include/sodium/version.h.in \
|
87
|
-
AUTHORS ChangeLog README THANKS compile build-aux/compile \
|
88
|
-
config.guess build-aux/config.guess config.sub \
|
89
|
-
build-aux/config.sub depcomp build-aux/depcomp install-sh \
|
90
|
-
build-aux/install-sh missing build-aux/missing ltmain.sh \
|
91
|
-
build-aux/ltmain.sh $(top_srcdir)/build-aux/compile \
|
92
|
-
$(top_srcdir)/build-aux/config.guess \
|
93
|
-
$(top_srcdir)/build-aux/config.sub \
|
94
|
-
$(top_srcdir)/build-aux/install-sh \
|
95
|
-
$(top_srcdir)/build-aux/ltmain.sh \
|
96
|
-
$(top_srcdir)/build-aux/missing
|
97
92
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
98
93
|
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \
|
99
94
|
$(top_srcdir)/m4/ax_check_link_flag.m4 \
|
@@ -103,6 +98,8 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_compile_flag.m4 \
|
|
103
98
|
$(top_srcdir)/configure.ac
|
104
99
|
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
105
100
|
$(ACLOCAL_M4)
|
101
|
+
DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
|
102
|
+
$(am__configure_deps) $(am__DIST_COMMON)
|
106
103
|
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
|
107
104
|
configure.lineno config.status.lineno
|
108
105
|
mkinstalldirs = $(install_sh) -d
|
@@ -194,6 +191,20 @@ ETAGS = etags
|
|
194
191
|
CTAGS = ctags
|
195
192
|
CSCOPE = cscope
|
196
193
|
DIST_SUBDIRS = $(SUBDIRS)
|
194
|
+
am__DIST_COMMON = $(srcdir)/Makefile.in \
|
195
|
+
$(srcdir)/libsodium-uninstalled.pc.in \
|
196
|
+
$(srcdir)/libsodium.pc.in $(top_srcdir)/build-aux/compile \
|
197
|
+
$(top_srcdir)/build-aux/config.guess \
|
198
|
+
$(top_srcdir)/build-aux/config.sub \
|
199
|
+
$(top_srcdir)/build-aux/install-sh \
|
200
|
+
$(top_srcdir)/build-aux/ltmain.sh \
|
201
|
+
$(top_srcdir)/build-aux/missing \
|
202
|
+
$(top_srcdir)/src/libsodium/include/sodium/version.h.in \
|
203
|
+
AUTHORS ChangeLog README THANKS build-aux/compile \
|
204
|
+
build-aux/config.guess build-aux/config.sub \
|
205
|
+
build-aux/install-sh build-aux/ltmain.sh build-aux/missing \
|
206
|
+
compile config.guess config.sub depcomp install-sh ltmain.sh \
|
207
|
+
missing
|
197
208
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
198
209
|
distdir = $(PACKAGE)-$(VERSION)
|
199
210
|
top_distdir = $(distdir)
|
@@ -405,7 +416,6 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi
|
|
405
416
|
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
|
406
417
|
$(am__cd) $(top_srcdir) && \
|
407
418
|
$(AUTOMAKE) --foreign Makefile
|
408
|
-
.PRECIOUS: Makefile
|
409
419
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
410
420
|
@case '$?' in \
|
411
421
|
*config.status*) \
|
@@ -647,15 +657,15 @@ dist-xz: distdir
|
|
647
657
|
$(am__post_remove_distdir)
|
648
658
|
|
649
659
|
dist-tarZ: distdir
|
650
|
-
@echo WARNING: "Support for
|
651
|
-
|
660
|
+
@echo WARNING: "Support for distribution archives compressed with" \
|
661
|
+
"legacy program 'compress' is deprecated." >&2
|
652
662
|
@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
|
653
663
|
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
|
654
664
|
$(am__post_remove_distdir)
|
655
665
|
|
656
666
|
dist-shar: distdir
|
657
|
-
@echo WARNING: "Support for distribution archives
|
658
|
-
|
667
|
+
@echo WARNING: "Support for shar distribution archives is" \
|
668
|
+
"deprecated." >&2
|
659
669
|
@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
|
660
670
|
shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
|
661
671
|
$(am__post_remove_distdir)
|
@@ -691,17 +701,17 @@ distcheck: dist
|
|
691
701
|
esac
|
692
702
|
chmod -R a-w $(distdir)
|
693
703
|
chmod u+w $(distdir)
|
694
|
-
mkdir $(distdir)/_build $(distdir)/_inst
|
704
|
+
mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
|
695
705
|
chmod a-w $(distdir)
|
696
706
|
test -d $(distdir)/_build || exit 0; \
|
697
707
|
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
|
698
708
|
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
|
699
709
|
&& am__cwd=`pwd` \
|
700
|
-
&& $(am__cd) $(distdir)/_build \
|
701
|
-
&&
|
710
|
+
&& $(am__cd) $(distdir)/_build/sub \
|
711
|
+
&& ../../configure \
|
702
712
|
$(AM_DISTCHECK_CONFIGURE_FLAGS) \
|
703
713
|
$(DISTCHECK_CONFIGURE_FLAGS) \
|
704
|
-
--srcdir
|
714
|
+
--srcdir=../.. --prefix="$$dc_install_base" \
|
705
715
|
&& $(MAKE) $(AM_MAKEFLAGS) \
|
706
716
|
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
707
717
|
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
@@ -882,6 +892,8 @@ uninstall-am: uninstall-pkgconfigDATA
|
|
882
892
|
mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
|
883
893
|
uninstall-am uninstall-pkgconfigDATA
|
884
894
|
|
895
|
+
.PRECIOUS: Makefile
|
896
|
+
|
885
897
|
|
886
898
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
887
899
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
@@ -22,7 +22,7 @@ including Windows (with MingW or Visual Studio, x86 and x64), iOS and Android.
|
|
22
22
|
The documentation is a work-in-progress, and is being written using
|
23
23
|
Gitbook:
|
24
24
|
|
25
|
-
[libsodium documentation](
|
25
|
+
[libsodium documentation](https://download.libsodium.org/doc/)
|
26
26
|
|
27
27
|
## Community
|
28
28
|
|
@@ -33,4 +33,4 @@ In order to join, just send a random mail to `sodium-subscribe` {at}
|
|
33
33
|
|
34
34
|
## License
|
35
35
|
|
36
|
-
[ISC license](
|
36
|
+
[ISC license](https://en.wikipedia.org/wiki/ISC_license).
|
data/vendor/libsodium/THANKS
CHANGED
data/vendor/libsodium/aclocal.m4
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
# generated automatically by aclocal 1.
|
1
|
+
# generated automatically by aclocal 1.15 -*- Autoconf -*-
|
2
2
|
|
3
|
-
# Copyright (C) 1996-
|
3
|
+
# Copyright (C) 1996-2014 Free Software Foundation, Inc.
|
4
4
|
|
5
5
|
# This file is free software; the Free Software Foundation
|
6
6
|
# gives unlimited permission to copy and/or distribute it,
|
@@ -20,7 +20,7 @@ You have another version of autoconf. It may work, but is not guaranteed to.
|
|
20
20
|
If you have problems, you may need to regenerate the build system entirely.
|
21
21
|
To do so, use the procedure documented by the package, typically 'autoreconf'.])])
|
22
22
|
|
23
|
-
# Copyright (C) 2002-
|
23
|
+
# Copyright (C) 2002-2014 Free Software Foundation, Inc.
|
24
24
|
#
|
25
25
|
# This file is free software; the Free Software Foundation
|
26
26
|
# gives unlimited permission to copy and/or distribute it,
|
@@ -32,10 +32,10 @@ To do so, use the procedure documented by the package, typically 'autoreconf'.])
|
|
32
32
|
# generated from the m4 files accompanying Automake X.Y.
|
33
33
|
# (This private macro should not be called outside this file.)
|
34
34
|
AC_DEFUN([AM_AUTOMAKE_VERSION],
|
35
|
-
[am__api_version='1.
|
35
|
+
[am__api_version='1.15'
|
36
36
|
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
|
37
37
|
dnl require some minimum version. Point them to the right macro.
|
38
|
-
m4_if([$1], [1.
|
38
|
+
m4_if([$1], [1.15], [],
|
39
39
|
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
|
40
40
|
])
|
41
41
|
|
@@ -51,14 +51,14 @@ m4_define([_AM_AUTOCONF_VERSION], [])
|
|
51
51
|
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
|
52
52
|
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
|
53
53
|
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
|
54
|
-
[AM_AUTOMAKE_VERSION([1.
|
54
|
+
[AM_AUTOMAKE_VERSION([1.15])dnl
|
55
55
|
m4_ifndef([AC_AUTOCONF_VERSION],
|
56
56
|
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
|
57
57
|
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
|
58
58
|
|
59
59
|
# Figure out how to run the assembler. -*- Autoconf -*-
|
60
60
|
|
61
|
-
# Copyright (C) 2001-
|
61
|
+
# Copyright (C) 2001-2014 Free Software Foundation, Inc.
|
62
62
|
#
|
63
63
|
# This file is free software; the Free Software Foundation
|
64
64
|
# gives unlimited permission to copy and/or distribute it,
|
@@ -78,7 +78,7 @@ _AM_IF_OPTION([no-dependencies],, [_AM_DEPENDENCIES([CCAS])])dnl
|
|
78
78
|
|
79
79
|
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
|
80
80
|
|
81
|
-
# Copyright (C) 2001-
|
81
|
+
# Copyright (C) 2001-2014 Free Software Foundation, Inc.
|
82
82
|
#
|
83
83
|
# This file is free software; the Free Software Foundation
|
84
84
|
# gives unlimited permission to copy and/or distribute it,
|
@@ -123,15 +123,14 @@ _AM_IF_OPTION([no-dependencies],, [_AM_DEPENDENCIES([CCAS])])dnl
|
|
123
123
|
# configured tree to be moved without reconfiguration.
|
124
124
|
|
125
125
|
AC_DEFUN([AM_AUX_DIR_EXPAND],
|
126
|
-
[dnl
|
127
|
-
|
128
|
-
|
129
|
-
am_aux_dir=`cd $ac_aux_dir && pwd`
|
126
|
+
[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
|
127
|
+
# Expand $ac_aux_dir to an absolute path.
|
128
|
+
am_aux_dir=`cd "$ac_aux_dir" && pwd`
|
130
129
|
])
|
131
130
|
|
132
131
|
# AM_CONDITIONAL -*- Autoconf -*-
|
133
132
|
|
134
|
-
# Copyright (C) 1997-
|
133
|
+
# Copyright (C) 1997-2014 Free Software Foundation, Inc.
|
135
134
|
#
|
136
135
|
# This file is free software; the Free Software Foundation
|
137
136
|
# gives unlimited permission to copy and/or distribute it,
|
@@ -162,7 +161,7 @@ AC_CONFIG_COMMANDS_PRE(
|
|
162
161
|
Usually this means the macro was only invoked conditionally.]])
|
163
162
|
fi])])
|
164
163
|
|
165
|
-
# Copyright (C) 1999-
|
164
|
+
# Copyright (C) 1999-2014 Free Software Foundation, Inc.
|
166
165
|
#
|
167
166
|
# This file is free software; the Free Software Foundation
|
168
167
|
# gives unlimited permission to copy and/or distribute it,
|
@@ -353,7 +352,7 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl
|
|
353
352
|
|
354
353
|
# Generate code to set up dependency tracking. -*- Autoconf -*-
|
355
354
|
|
356
|
-
# Copyright (C) 1999-
|
355
|
+
# Copyright (C) 1999-2014 Free Software Foundation, Inc.
|
357
356
|
#
|
358
357
|
# This file is free software; the Free Software Foundation
|
359
358
|
# gives unlimited permission to copy and/or distribute it,
|
@@ -429,7 +428,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
|
|
429
428
|
|
430
429
|
# Do all the work for Automake. -*- Autoconf -*-
|
431
430
|
|
432
|
-
# Copyright (C) 1996-
|
431
|
+
# Copyright (C) 1996-2014 Free Software Foundation, Inc.
|
433
432
|
#
|
434
433
|
# This file is free software; the Free Software Foundation
|
435
434
|
# gives unlimited permission to copy and/or distribute it,
|
@@ -519,8 +518,8 @@ AC_REQUIRE([AC_PROG_MKDIR_P])dnl
|
|
519
518
|
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
|
520
519
|
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
|
521
520
|
AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
|
522
|
-
# We need awk for the "check" target
|
523
|
-
# some platforms.
|
521
|
+
# We need awk for the "check" target (and possibly the TAP driver). The
|
522
|
+
# system "awk" is bad on some platforms.
|
524
523
|
AC_REQUIRE([AC_PROG_AWK])dnl
|
525
524
|
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
|
526
525
|
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
|
@@ -593,7 +592,11 @@ to "yes", and re-run configure.
|
|
593
592
|
END
|
594
593
|
AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
|
595
594
|
fi
|
596
|
-
fi
|
595
|
+
fi
|
596
|
+
dnl The trailing newline in this macro's definition is deliberate, for
|
597
|
+
dnl backward compatibility and to allow trailing 'dnl'-style comments
|
598
|
+
dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
|
599
|
+
])
|
597
600
|
|
598
601
|
dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
|
599
602
|
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
|
@@ -622,7 +625,7 @@ for _am_header in $config_headers :; do
|
|
622
625
|
done
|
623
626
|
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
|
624
627
|
|
625
|
-
# Copyright (C) 2001-
|
628
|
+
# Copyright (C) 2001-2014 Free Software Foundation, Inc.
|
626
629
|
#
|
627
630
|
# This file is free software; the Free Software Foundation
|
628
631
|
# gives unlimited permission to copy and/or distribute it,
|
@@ -633,7 +636,7 @@ echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_co
|
|
633
636
|
# Define $install_sh.
|
634
637
|
AC_DEFUN([AM_PROG_INSTALL_SH],
|
635
638
|
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
636
|
-
if test x"${install_sh}" != xset; then
|
639
|
+
if test x"${install_sh+set}" != xset; then
|
637
640
|
case $am_aux_dir in
|
638
641
|
*\ * | *\ *)
|
639
642
|
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
|
@@ -643,7 +646,7 @@ if test x"${install_sh}" != xset; then
|
|
643
646
|
fi
|
644
647
|
AC_SUBST([install_sh])])
|
645
648
|
|
646
|
-
# Copyright (C) 2003-
|
649
|
+
# Copyright (C) 2003-2014 Free Software Foundation, Inc.
|
647
650
|
#
|
648
651
|
# This file is free software; the Free Software Foundation
|
649
652
|
# gives unlimited permission to copy and/or distribute it,
|
@@ -665,7 +668,7 @@ AC_SUBST([am__leading_dot])])
|
|
665
668
|
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
|
666
669
|
# From Jim Meyering
|
667
670
|
|
668
|
-
# Copyright (C) 1996-
|
671
|
+
# Copyright (C) 1996-2014 Free Software Foundation, Inc.
|
669
672
|
#
|
670
673
|
# This file is free software; the Free Software Foundation
|
671
674
|
# gives unlimited permission to copy and/or distribute it,
|
@@ -700,7 +703,7 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
|
|
700
703
|
|
701
704
|
# Check to see how 'make' treats includes. -*- Autoconf -*-
|
702
705
|
|
703
|
-
# Copyright (C) 2001-
|
706
|
+
# Copyright (C) 2001-2014 Free Software Foundation, Inc.
|
704
707
|
#
|
705
708
|
# This file is free software; the Free Software Foundation
|
706
709
|
# gives unlimited permission to copy and/or distribute it,
|
@@ -750,7 +753,7 @@ rm -f confinc confmf
|
|
750
753
|
|
751
754
|
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
|
752
755
|
|
753
|
-
# Copyright (C) 1997-
|
756
|
+
# Copyright (C) 1997-2014 Free Software Foundation, Inc.
|
754
757
|
#
|
755
758
|
# This file is free software; the Free Software Foundation
|
756
759
|
# gives unlimited permission to copy and/or distribute it,
|
@@ -789,7 +792,7 @@ fi
|
|
789
792
|
|
790
793
|
# Helper functions for option handling. -*- Autoconf -*-
|
791
794
|
|
792
|
-
# Copyright (C) 2001-
|
795
|
+
# Copyright (C) 2001-2014 Free Software Foundation, Inc.
|
793
796
|
#
|
794
797
|
# This file is free software; the Free Software Foundation
|
795
798
|
# gives unlimited permission to copy and/or distribute it,
|
@@ -818,7 +821,7 @@ AC_DEFUN([_AM_SET_OPTIONS],
|
|
818
821
|
AC_DEFUN([_AM_IF_OPTION],
|
819
822
|
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
|
820
823
|
|
821
|
-
# Copyright (C) 1999-
|
824
|
+
# Copyright (C) 1999-2014 Free Software Foundation, Inc.
|
822
825
|
#
|
823
826
|
# This file is free software; the Free Software Foundation
|
824
827
|
# gives unlimited permission to copy and/or distribute it,
|
@@ -865,7 +868,7 @@ AC_LANG_POP([C])])
|
|
865
868
|
# For backward compatibility.
|
866
869
|
AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
|
867
870
|
|
868
|
-
# Copyright (C) 2001-
|
871
|
+
# Copyright (C) 2001-2014 Free Software Foundation, Inc.
|
869
872
|
#
|
870
873
|
# This file is free software; the Free Software Foundation
|
871
874
|
# gives unlimited permission to copy and/or distribute it,
|
@@ -884,7 +887,7 @@ AC_DEFUN([AM_RUN_LOG],
|
|
884
887
|
|
885
888
|
# Check to make sure that the build environment is sane. -*- Autoconf -*-
|
886
889
|
|
887
|
-
# Copyright (C) 1996-
|
890
|
+
# Copyright (C) 1996-2014 Free Software Foundation, Inc.
|
888
891
|
#
|
889
892
|
# This file is free software; the Free Software Foundation
|
890
893
|
# gives unlimited permission to copy and/or distribute it,
|
@@ -965,7 +968,7 @@ AC_CONFIG_COMMANDS_PRE(
|
|
965
968
|
rm -f conftest.file
|
966
969
|
])
|
967
970
|
|
968
|
-
# Copyright (C) 2009-
|
971
|
+
# Copyright (C) 2009-2014 Free Software Foundation, Inc.
|
969
972
|
#
|
970
973
|
# This file is free software; the Free Software Foundation
|
971
974
|
# gives unlimited permission to copy and/or distribute it,
|
@@ -1025,7 +1028,7 @@ AC_SUBST([AM_BACKSLASH])dnl
|
|
1025
1028
|
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
|
1026
1029
|
])
|
1027
1030
|
|
1028
|
-
# Copyright (C) 2001-
|
1031
|
+
# Copyright (C) 2001-2014 Free Software Foundation, Inc.
|
1029
1032
|
#
|
1030
1033
|
# This file is free software; the Free Software Foundation
|
1031
1034
|
# gives unlimited permission to copy and/or distribute it,
|
@@ -1053,7 +1056,7 @@ fi
|
|
1053
1056
|
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
|
1054
1057
|
AC_SUBST([INSTALL_STRIP_PROGRAM])])
|
1055
1058
|
|
1056
|
-
# Copyright (C) 2006-
|
1059
|
+
# Copyright (C) 2006-2014 Free Software Foundation, Inc.
|
1057
1060
|
#
|
1058
1061
|
# This file is free software; the Free Software Foundation
|
1059
1062
|
# gives unlimited permission to copy and/or distribute it,
|
@@ -1072,7 +1075,7 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
|
|
1072
1075
|
|
1073
1076
|
# Check how to create a tarball. -*- Autoconf -*-
|
1074
1077
|
|
1075
|
-
# Copyright (C) 2004-
|
1078
|
+
# Copyright (C) 2004-2014 Free Software Foundation, Inc.
|
1076
1079
|
#
|
1077
1080
|
# This file is free software; the Free Software Foundation
|
1078
1081
|
# gives unlimited permission to copy and/or distribute it,
|