rbnacl-libsodium 0.5.0.1 → 0.6.0
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/AUTHORS +62 -81
- data/vendor/libsodium/ChangeLog +31 -1
- data/vendor/libsodium/README.markdown +15 -364
- data/vendor/libsodium/THANKS +6 -0
- data/vendor/libsodium/autom4te.cache/output.0 +67 -36
- data/vendor/libsodium/autom4te.cache/output.1 +67 -36
- data/vendor/libsodium/autom4te.cache/output.2 +67 -36
- data/vendor/libsodium/autom4te.cache/traces.0 +52 -51
- data/vendor/libsodium/autom4te.cache/traces.1 +137 -133
- data/vendor/libsodium/autom4te.cache/traces.2 +52 -51
- data/vendor/libsodium/builds/msvc/version.h +2 -2
- data/vendor/libsodium/builds/msvc/vs2010/libsodium/libsodium.vcxproj +365 -345
- data/vendor/libsodium/builds/msvc/vs2010/libsodium/libsodium.vcxproj.filters +1114 -1037
- data/vendor/libsodium/builds/msvc/vs2010/test/test.props +8 -2
- data/vendor/libsodium/builds/msvc/vs2012/libsodium/libsodium.vcxproj +364 -344
- data/vendor/libsodium/builds/msvc/vs2012/libsodium/libsodium.vcxproj.filters +1113 -1036
- data/vendor/libsodium/builds/msvc/vs2012/test/test.props +8 -2
- data/vendor/libsodium/builds/msvc/vs2013/libsodium/libsodium.vcxproj +365 -345
- data/vendor/libsodium/builds/msvc/vs2013/libsodium/libsodium.vcxproj.filters +1114 -1037
- data/vendor/libsodium/builds/msvc/vs2013/test/test.props +8 -2
- data/vendor/libsodium/configure +66 -35
- data/vendor/libsodium/configure.ac +25 -14
- data/vendor/libsodium/dist-build/ios.sh +1 -1
- data/vendor/libsodium/dist-build/msys2-win64.sh +1 -1
- data/vendor/libsodium/libsodium.vcxproj +29 -14
- data/vendor/libsodium/libsodium.vcxproj.filters +77 -28
- data/vendor/libsodium/msvc-scripts/process.bat +3 -3
- data/vendor/libsodium/packaging/nuget/package.config +1 -1
- data/vendor/libsodium/packaging/nuget/package.gsl +6 -1
- data/vendor/libsodium/packaging/nuget/package.nuspec +1 -1
- data/vendor/libsodium/src/libsodium/Makefile.am +31 -13
- data/vendor/libsodium/src/libsodium/Makefile.in +406 -155
- data/vendor/libsodium/src/libsodium/crypto_aead/chacha20poly1305/sodium/aead_chacha20poly1305.c +146 -0
- data/vendor/libsodium/src/libsodium/crypto_box/crypto_box.c +13 -0
- data/vendor/libsodium/src/libsodium/crypto_box/crypto_box_easy.c +39 -73
- data/vendor/libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/box_curve25519xsalsa20poly1305_api.c +5 -0
- data/vendor/libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/ref/api.h +2 -0
- data/vendor/libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/ref/keypair_curve25519xsalsa20poly1305.c +15 -0
- data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-ref.c +6 -5
- data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2s-ref.c +6 -5
- data/vendor/libsodium/src/libsodium/crypto_onetimeauth/crypto_onetimeauth.c +25 -0
- data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/auth_poly1305_donna.c +76 -47
- data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna.h +30 -7
- data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna32.h +3 -16
- data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna64.h +3 -10
- data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/verify_poly1305_donna.c +11 -6
- data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/onetimeauth_poly1305.c +23 -1
- data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/onetimeauth_poly1305_try.c +1 -1
- data/vendor/libsodium/src/libsodium/crypto_pwhash/{scryptxsalsa208sha256 → scryptsalsa208sha256}/crypto_scrypt-common.c +7 -7
- data/vendor/libsodium/src/libsodium/crypto_pwhash/{scryptxsalsa208sha256 → scryptsalsa208sha256}/crypto_scrypt.h +6 -20
- data/vendor/libsodium/src/libsodium/crypto_pwhash/{scryptxsalsa208sha256/nosse/pwhash_scryptxsalsa208sha256_nosse.c → scryptsalsa208sha256/nosse/pwhash_scryptsalsa208sha256_nosse.c} +0 -0
- data/vendor/libsodium/src/libsodium/crypto_pwhash/{scryptxsalsa208sha256 → scryptsalsa208sha256}/pbkdf2-sha256.c +1 -11
- data/vendor/libsodium/src/libsodium/crypto_pwhash/{scryptxsalsa208sha256 → scryptsalsa208sha256}/pbkdf2-sha256.h +0 -0
- data/vendor/libsodium/src/libsodium/crypto_pwhash/{scryptxsalsa208sha256/pwhash_scryptxsalsa208sha256.c → scryptsalsa208sha256/pwhash_scryptsalsa208sha256.c} +50 -25
- data/vendor/libsodium/src/libsodium/crypto_pwhash/{scryptxsalsa208sha256 → scryptsalsa208sha256}/scrypt_platform.c +4 -0
- data/vendor/libsodium/src/libsodium/crypto_pwhash/{scryptxsalsa208sha256/sse/pwhash_scryptxsalsa208sha256_sse.c → scryptsalsa208sha256/sse/pwhash_scryptsalsa208sha256_sse.c} +0 -0
- data/vendor/libsodium/src/libsodium/crypto_pwhash/{scryptxsalsa208sha256 → scryptsalsa208sha256}/sysendian.h +0 -0
- data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/donna_c64/smult_curve25519_donna_c64.c +1 -1
- data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/{ref → ref10}/api.h +0 -3
- data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/base_curve25519_ref10.c +14 -0
- data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/fe.h +44 -0
- data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/fe_0_curve25519_ref10.c +23 -0
- data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/fe_1_curve25519_ref10.c +23 -0
- data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/fe_add_curve25519_ref10.c +61 -0
- data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/fe_copy_curve25519_ref10.c +33 -0
- data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/fe_cswap_curve25519_ref10.c +77 -0
- data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/fe_frombytes_curve25519_ref10.c +73 -0
- data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/fe_invert_curve25519_ref10.c +18 -0
- data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/fe_mul121666_curve25519_ref10.c +74 -0
- data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/fe_mul_curve25519_ref10.c +257 -0
- data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/fe_sq_curve25519_ref10.c +153 -0
- data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/fe_sub_curve25519_ref10.c +61 -0
- data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/fe_tobytes_curve25519_ref10.c +123 -0
- data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/montgomery.h +140 -0
- data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/pow225521.h +160 -0
- data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/scalarmult_curve25519_ref10.c +54 -0
- data/vendor/libsodium/src/libsodium/crypto_secretbox/crypto_secretbox_easy.c +92 -61
- data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_scalarmult_base.c +3 -3
- data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/pow22523.h +2 -2
- data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/pow225521.h +2 -2
- data/vendor/libsodium/src/libsodium/crypto_sign/edwards25519sha512batch/ref/sc25519_edwards25519sha512batch.c +8 -4
- data/vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/portable/consts_aes128ctr.c +3 -3
- data/vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/portable/int128.h +6 -3
- data/vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/portable/int128_aes128ctr.c +23 -23
- data/vendor/libsodium/src/libsodium/crypto_stream/chacha20/ref/api.h +12 -0
- data/vendor/libsodium/src/libsodium/crypto_stream/chacha20/ref/stream_chacha20_ref.c +275 -0
- data/vendor/libsodium/src/libsodium/crypto_stream/chacha20/stream_chacha20_api.c +36 -0
- data/vendor/libsodium/src/libsodium/crypto_stream/salsa20/amd64_xmm6/stream_salsa20_amd64_xmm6.S +11 -10
- data/vendor/libsodium/src/libsodium/crypto_stream/salsa20/ref/xor_salsa20_ref.c +8 -3
- data/vendor/libsodium/src/libsodium/crypto_stream/salsa20/stream_salsa20_api.c +8 -0
- data/vendor/libsodium/src/libsodium/include/Makefile.am +3 -2
- data/vendor/libsodium/src/libsodium/include/Makefile.in +3 -2
- data/vendor/libsodium/src/libsodium/include/sodium.h +3 -1
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_aead_chacha20poly1305.h +55 -0
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_box.h +21 -0
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_box_curve25519xsalsa20poly1305.h +11 -1
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_hash.h +7 -0
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_hash_sha256.h +7 -0
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_hash_sha512.h +7 -0
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_onetimeauth.h +15 -0
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_onetimeauth_poly1305.h +25 -0
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_pwhash_scryptsalsa208sha256.h +80 -0
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_scalarmult_curve25519.h +2 -2
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_secretbox.h +14 -0
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_sign_edwards25519sha512batch.h +11 -0
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_stream_aes256estream.h +11 -6
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_stream_chacha20.h +49 -0
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_stream_salsa20.h +6 -0
- data/vendor/libsodium/src/libsodium/include/sodium/randombytes.h +7 -7
- data/vendor/libsodium/src/libsodium/randombytes/salsa20/randombytes_salsa20_random.c +10 -14
- data/vendor/libsodium/src/libsodium/randombytes/sysrandom/randombytes_sysrandom.c +10 -13
- data/vendor/libsodium/src/libsodium/sodium/compat.c +55 -4
- data/vendor/libsodium/src/libsodium/sodium/utils.c +18 -0
- data/vendor/libsodium/test/default/Makefile.am +24 -12
- data/vendor/libsodium/test/default/Makefile.in +116 -73
- data/vendor/libsodium/test/default/aead_chacha20poly1305.c +97 -0
- data/vendor/libsodium/test/default/aead_chacha20poly1305.exp +8 -0
- data/vendor/libsodium/test/default/box_easy.c +1 -1
- data/vendor/libsodium/test/default/box_seed.c +28 -0
- data/vendor/libsodium/test/default/box_seed.exp +8 -0
- data/vendor/libsodium/test/default/chacha20.c +45 -0
- data/vendor/libsodium/test/default/chacha20.exp +5 -0
- data/vendor/libsodium/test/default/pwhash.c +83 -15
- data/vendor/libsodium/test/default/pwhash.exp +10 -1
- data/vendor/libsodium/test/default/pwhash_scrypt_ll.c +67 -0
- data/vendor/libsodium/test/default/pwhash_scrypt_ll.exp +15 -0
- data/vendor/libsodium/test/default/secretbox_easy.c +13 -1
- data/vendor/libsodium/test/default/secretbox_easy.exp +19 -0
- data/vendor/libsodium/test/default/secretbox_easy2.c +5 -0
- data/vendor/libsodium/test/default/secretbox_easy2.exp +1 -0
- data/vendor/libsodium/test/default/sign.c +7 -3
- metadata +44 -21
- data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/api.h +0 -8
- data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref/base_curve25519_ref.c +0 -20
- data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref/smult_curve25519_ref.c +0 -268
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_onetimeauth_poly1305_donna.h +0 -37
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_pwhash_scryptxsalsa208sha256.h +0 -48
- data/vendor/libsodium/test/default/scalarmult7.c +0 -32
- data/vendor/libsodium/test/default/scalarmult7.exp +0 -1
- data/vendor/libsodium/test/default/scalarmult8.c +0 -32
- data/vendor/libsodium/test/default/scalarmult8.exp +0 -1
data/vendor/libsodium/THANKS
CHANGED
@@ -1,11 +1,13 @@
|
|
1
1
|
@alethia7
|
2
2
|
@dnaq
|
3
3
|
@joshjdevl
|
4
|
+
@jshahbazi
|
4
5
|
@neheb
|
5
6
|
Amit Murthy (@amitmurthy)
|
6
7
|
Bruno Oliveira (@abstractj)
|
7
8
|
Christian Wiese (@morfoh)
|
8
9
|
Chris Rebert (@cvrebert)
|
10
|
+
Colm MacCárthaigh (@colmmacc)
|
9
11
|
Donald Stufft (@dstufft)
|
10
12
|
Douglas Campos (@qmx)
|
11
13
|
Eric Voskuil (@evoskuil)
|
@@ -25,3 +27,7 @@ Stephan Touset (@stouset)
|
|
25
27
|
Steve Gibson (@sggrc)
|
26
28
|
Tony Arcieri (@bascule)
|
27
29
|
Tony Garnock-Jones (@tonyg)
|
30
|
+
|
31
|
+
FSF France
|
32
|
+
Coverity, Inc.
|
33
|
+
OpenDNS, Inc.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
@%:@! /bin/sh
|
2
2
|
@%:@ Guess values for system-dependent variables and create Makefiles.
|
3
|
-
@%:@ Generated by GNU Autoconf 2.69 for libsodium 0.
|
3
|
+
@%:@ Generated by GNU Autoconf 2.69 for libsodium 0.6.0.
|
4
4
|
@%:@
|
5
5
|
@%:@ Report bugs to <https://github.com/jedisct1/libsodium/issues>.
|
6
6
|
@%:@
|
@@ -590,8 +590,8 @@ MAKEFLAGS=
|
|
590
590
|
# Identity of this package.
|
591
591
|
PACKAGE_NAME='libsodium'
|
592
592
|
PACKAGE_TARNAME='libsodium'
|
593
|
-
PACKAGE_VERSION='0.
|
594
|
-
PACKAGE_STRING='libsodium 0.
|
593
|
+
PACKAGE_VERSION='0.6.0'
|
594
|
+
PACKAGE_STRING='libsodium 0.6.0'
|
595
595
|
PACKAGE_BUGREPORT='https://github.com/jedisct1/libsodium/issues'
|
596
596
|
PACKAGE_URL='https://github.com/jedisct1/libsodium'
|
597
597
|
|
@@ -1359,7 +1359,7 @@ if test "$ac_init_help" = "long"; then
|
|
1359
1359
|
# Omit some internal or obsolete options to make the list less imposing.
|
1360
1360
|
# This message is too long to be a string in the A/UX 3.1 sh.
|
1361
1361
|
cat <<_ACEOF
|
1362
|
-
\`configure' configures libsodium 0.
|
1362
|
+
\`configure' configures libsodium 0.6.0 to adapt to many kinds of systems.
|
1363
1363
|
|
1364
1364
|
Usage: $0 [OPTION]... [VAR=VALUE]...
|
1365
1365
|
|
@@ -1429,7 +1429,7 @@ fi
|
|
1429
1429
|
|
1430
1430
|
if test -n "$ac_init_help"; then
|
1431
1431
|
case $ac_init_help in
|
1432
|
-
short | recursive ) echo "Configuration of libsodium 0.
|
1432
|
+
short | recursive ) echo "Configuration of libsodium 0.6.0:";;
|
1433
1433
|
esac
|
1434
1434
|
cat <<\_ACEOF
|
1435
1435
|
|
@@ -1559,7 +1559,7 @@ fi
|
|
1559
1559
|
test -n "$ac_init_help" && exit $ac_status
|
1560
1560
|
if $ac_init_version; then
|
1561
1561
|
cat <<\_ACEOF
|
1562
|
-
libsodium configure 0.
|
1562
|
+
libsodium configure 0.6.0
|
1563
1563
|
generated by GNU Autoconf 2.69
|
1564
1564
|
|
1565
1565
|
Copyright (C) 2012 Free Software Foundation, Inc.
|
@@ -1928,7 +1928,7 @@ cat >config.log <<_ACEOF
|
|
1928
1928
|
This file contains any messages produced by compilers while
|
1929
1929
|
running configure, to aid debugging if configure makes a mistake.
|
1930
1930
|
|
1931
|
-
It was created by libsodium $as_me 0.
|
1931
|
+
It was created by libsodium $as_me 0.6.0, which was
|
1932
1932
|
generated by GNU Autoconf 2.69. Invocation command line was
|
1933
1933
|
|
1934
1934
|
$ $0 $@
|
@@ -2864,7 +2864,7 @@ fi
|
|
2864
2864
|
|
2865
2865
|
# Define the identity of the package.
|
2866
2866
|
PACKAGE='libsodium'
|
2867
|
-
VERSION='0.
|
2867
|
+
VERSION='0.6.0'
|
2868
2868
|
|
2869
2869
|
|
2870
2870
|
cat >>confdefs.h <<_ACEOF
|
@@ -3158,10 +3158,10 @@ fi
|
|
3158
3158
|
ISODATE=`date +%Y-%m-%d`
|
3159
3159
|
|
3160
3160
|
|
3161
|
-
SODIUM_LIBRARY_VERSION_MAJOR=
|
3161
|
+
SODIUM_LIBRARY_VERSION_MAJOR=6
|
3162
3162
|
SODIUM_LIBRARY_VERSION_MINOR=0
|
3163
3163
|
DLL_VERSION=5
|
3164
|
-
SODIUM_LIBRARY_VERSION=
|
3164
|
+
SODIUM_LIBRARY_VERSION=11:0:1
|
3165
3165
|
# | | |
|
3166
3166
|
# +------+ | +---+
|
3167
3167
|
# | | |
|
@@ -14181,6 +14181,33 @@ $as_echo "no" >&6; }
|
|
14181
14181
|
fi
|
14182
14182
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
14183
14183
|
|
14184
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSSE3 instructions set" >&5
|
14185
|
+
$as_echo_n "checking for SSSE3 instructions set... " >&6; }
|
14186
|
+
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
14187
|
+
/* end confdefs.h. */
|
14188
|
+
|
14189
|
+
#pragma GCC target("ssse3")
|
14190
|
+
#include <tmmintrin.h>
|
14191
|
+
|
14192
|
+
int
|
14193
|
+
main ()
|
14194
|
+
{
|
14195
|
+
__m64 x = _mm_abs_pi32(_m_from_int(0));
|
14196
|
+
;
|
14197
|
+
return 0;
|
14198
|
+
}
|
14199
|
+
_ACEOF
|
14200
|
+
if ac_fn_c_try_compile "$LINENO"; then :
|
14201
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
14202
|
+
$as_echo "yes" >&6; }
|
14203
|
+
|
14204
|
+
$as_echo "@%:@define HAVE_TMMINTRIN_H 1" >>confdefs.h
|
14205
|
+
|
14206
|
+
else
|
14207
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
14208
|
+
$as_echo "no" >&6; }
|
14209
|
+
fi
|
14210
|
+
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
14184
14211
|
|
14185
14212
|
fi
|
14186
14213
|
|
@@ -14559,6 +14586,10 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
14559
14586
|
#ifndef NATIVE_LITTLE_ENDIAN
|
14560
14587
|
# error donna_c64 currently requires a little endian CPU
|
14561
14588
|
#endif
|
14589
|
+
#ifdef EMSCRIPTEN
|
14590
|
+
# error emscripten currently supports only shift operations on integers \
|
14591
|
+
# larger than 64 bits
|
14592
|
+
#endif
|
14562
14593
|
#include <stdint.h>
|
14563
14594
|
typedef unsigned uint128_t __attribute__((mode(TI)));
|
14564
14595
|
void fcontract(uint128_t *t) {
|
@@ -14635,50 +14666,50 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
14635
14666
|
fi
|
14636
14667
|
|
14637
14668
|
|
14638
|
-
|
14639
|
-
|
14640
|
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: data alignment is not required on this target" >&5
|
14641
|
-
$as_echo "$as_me: data alignment is not required on this target" >&6;} ;; @%:@(
|
14642
|
-
*) :
|
14643
|
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: data alignment is required on this target" >&5
|
14644
|
-
$as_echo "$as_me: data alignment is required on this target" >&6;}
|
14645
|
-
|
14646
|
-
$as_echo "@%:@define CPU_ALIGNED_ACCESS_REQUIRED 1" >>confdefs.h
|
14647
|
-
|
14648
|
-
;; @%:@(
|
14649
|
-
*) :
|
14650
|
-
;;
|
14651
|
-
esac
|
14652
|
-
|
14653
|
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for memset_s" >&5
|
14654
|
-
$as_echo_n "checking for memset_s... " >&6; }
|
14669
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if weak symbols are supported" >&5
|
14670
|
+
$as_echo_n "checking if weak symbols are supported... " >&6; }
|
14655
14671
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
14656
14672
|
/* end confdefs.h. */
|
14657
14673
|
|
14658
|
-
|
14674
|
+
__attribute__((weak)) void __dummy(void *x) { }
|
14675
|
+
void f(void *x) { __dummy(x); }
|
14659
14676
|
|
14660
14677
|
int
|
14661
14678
|
main ()
|
14662
14679
|
{
|
14663
|
-
|
14664
|
-
char dummy[42];
|
14665
|
-
(void) memset_s(dummy, (rsize_t) sizeof dummy, 0, (rsize_t) sizeof dummy);
|
14680
|
+
|
14666
14681
|
|
14667
14682
|
;
|
14668
14683
|
return 0;
|
14669
14684
|
}
|
14670
14685
|
_ACEOF
|
14671
|
-
if
|
14686
|
+
if ac_fn_c_try_link "$LINENO"; then :
|
14672
14687
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
14673
14688
|
$as_echo "yes" >&6; }
|
14674
14689
|
|
14675
|
-
$as_echo "@%:@define
|
14690
|
+
$as_echo "@%:@define HAVE_WEAK_SYMBOLS 1" >>confdefs.h
|
14676
14691
|
|
14677
14692
|
else
|
14678
14693
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
14679
14694
|
$as_echo "no" >&6; }
|
14680
14695
|
fi
|
14681
|
-
rm -f core conftest.err conftest.$ac_objext
|
14696
|
+
rm -f core conftest.err conftest.$ac_objext \
|
14697
|
+
conftest$ac_exeext conftest.$ac_ext
|
14698
|
+
|
14699
|
+
case $host_cpu in @%:@(
|
14700
|
+
i*86 | x86_64 | powerpc* | s390*) :
|
14701
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: data alignment is not required on this target" >&5
|
14702
|
+
$as_echo "$as_me: data alignment is not required on this target" >&6;} ;; @%:@(
|
14703
|
+
*) :
|
14704
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: data alignment is required on this target" >&5
|
14705
|
+
$as_echo "$as_me: data alignment is required on this target" >&6;}
|
14706
|
+
|
14707
|
+
$as_echo "@%:@define CPU_ALIGNED_ACCESS_REQUIRED 1" >>confdefs.h
|
14708
|
+
|
14709
|
+
;; @%:@(
|
14710
|
+
*) :
|
14711
|
+
;;
|
14712
|
+
esac
|
14682
14713
|
|
14683
14714
|
|
14684
14715
|
ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
|
@@ -15772,7 +15803,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
15772
15803
|
# report actual input values of CONFIG_FILES etc. instead of their
|
15773
15804
|
# values after options handling.
|
15774
15805
|
ac_log="
|
15775
|
-
This file was extended by libsodium $as_me 0.
|
15806
|
+
This file was extended by libsodium $as_me 0.6.0, which was
|
15776
15807
|
generated by GNU Autoconf 2.69. Invocation command line was
|
15777
15808
|
|
15778
15809
|
CONFIG_FILES = $CONFIG_FILES
|
@@ -15830,7 +15861,7 @@ _ACEOF
|
|
15830
15861
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
15831
15862
|
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
15832
15863
|
ac_cs_version="\\
|
15833
|
-
libsodium config.status 0.
|
15864
|
+
libsodium config.status 0.6.0
|
15834
15865
|
configured by $0, generated by GNU Autoconf 2.69,
|
15835
15866
|
with options \\"\$ac_cs_config\\"
|
15836
15867
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
@%:@! /bin/sh
|
2
2
|
@%:@ Guess values for system-dependent variables and create Makefiles.
|
3
|
-
@%:@ Generated by GNU Autoconf 2.69 for libsodium 0.
|
3
|
+
@%:@ Generated by GNU Autoconf 2.69 for libsodium 0.6.0.
|
4
4
|
@%:@
|
5
5
|
@%:@ Report bugs to <https://github.com/jedisct1/libsodium/issues>.
|
6
6
|
@%:@
|
@@ -590,8 +590,8 @@ MAKEFLAGS=
|
|
590
590
|
# Identity of this package.
|
591
591
|
PACKAGE_NAME='libsodium'
|
592
592
|
PACKAGE_TARNAME='libsodium'
|
593
|
-
PACKAGE_VERSION='0.
|
594
|
-
PACKAGE_STRING='libsodium 0.
|
593
|
+
PACKAGE_VERSION='0.6.0'
|
594
|
+
PACKAGE_STRING='libsodium 0.6.0'
|
595
595
|
PACKAGE_BUGREPORT='https://github.com/jedisct1/libsodium/issues'
|
596
596
|
PACKAGE_URL='https://github.com/jedisct1/libsodium'
|
597
597
|
|
@@ -1359,7 +1359,7 @@ if test "$ac_init_help" = "long"; then
|
|
1359
1359
|
# Omit some internal or obsolete options to make the list less imposing.
|
1360
1360
|
# This message is too long to be a string in the A/UX 3.1 sh.
|
1361
1361
|
cat <<_ACEOF
|
1362
|
-
\`configure' configures libsodium 0.
|
1362
|
+
\`configure' configures libsodium 0.6.0 to adapt to many kinds of systems.
|
1363
1363
|
|
1364
1364
|
Usage: $0 [OPTION]... [VAR=VALUE]...
|
1365
1365
|
|
@@ -1429,7 +1429,7 @@ fi
|
|
1429
1429
|
|
1430
1430
|
if test -n "$ac_init_help"; then
|
1431
1431
|
case $ac_init_help in
|
1432
|
-
short | recursive ) echo "Configuration of libsodium 0.
|
1432
|
+
short | recursive ) echo "Configuration of libsodium 0.6.0:";;
|
1433
1433
|
esac
|
1434
1434
|
cat <<\_ACEOF
|
1435
1435
|
|
@@ -1559,7 +1559,7 @@ fi
|
|
1559
1559
|
test -n "$ac_init_help" && exit $ac_status
|
1560
1560
|
if $ac_init_version; then
|
1561
1561
|
cat <<\_ACEOF
|
1562
|
-
libsodium configure 0.
|
1562
|
+
libsodium configure 0.6.0
|
1563
1563
|
generated by GNU Autoconf 2.69
|
1564
1564
|
|
1565
1565
|
Copyright (C) 2012 Free Software Foundation, Inc.
|
@@ -1928,7 +1928,7 @@ cat >config.log <<_ACEOF
|
|
1928
1928
|
This file contains any messages produced by compilers while
|
1929
1929
|
running configure, to aid debugging if configure makes a mistake.
|
1930
1930
|
|
1931
|
-
It was created by libsodium $as_me 0.
|
1931
|
+
It was created by libsodium $as_me 0.6.0, which was
|
1932
1932
|
generated by GNU Autoconf 2.69. Invocation command line was
|
1933
1933
|
|
1934
1934
|
$ $0 $@
|
@@ -2864,7 +2864,7 @@ fi
|
|
2864
2864
|
|
2865
2865
|
# Define the identity of the package.
|
2866
2866
|
PACKAGE='libsodium'
|
2867
|
-
VERSION='0.
|
2867
|
+
VERSION='0.6.0'
|
2868
2868
|
|
2869
2869
|
|
2870
2870
|
cat >>confdefs.h <<_ACEOF
|
@@ -3158,10 +3158,10 @@ fi
|
|
3158
3158
|
ISODATE=`date +%Y-%m-%d`
|
3159
3159
|
|
3160
3160
|
|
3161
|
-
SODIUM_LIBRARY_VERSION_MAJOR=
|
3161
|
+
SODIUM_LIBRARY_VERSION_MAJOR=6
|
3162
3162
|
SODIUM_LIBRARY_VERSION_MINOR=0
|
3163
3163
|
DLL_VERSION=5
|
3164
|
-
SODIUM_LIBRARY_VERSION=
|
3164
|
+
SODIUM_LIBRARY_VERSION=11:0:1
|
3165
3165
|
# | | |
|
3166
3166
|
# +------+ | +---+
|
3167
3167
|
# | | |
|
@@ -14181,6 +14181,33 @@ $as_echo "no" >&6; }
|
|
14181
14181
|
fi
|
14182
14182
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
14183
14183
|
|
14184
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSSE3 instructions set" >&5
|
14185
|
+
$as_echo_n "checking for SSSE3 instructions set... " >&6; }
|
14186
|
+
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
14187
|
+
/* end confdefs.h. */
|
14188
|
+
|
14189
|
+
#pragma GCC target("ssse3")
|
14190
|
+
#include <tmmintrin.h>
|
14191
|
+
|
14192
|
+
int
|
14193
|
+
main ()
|
14194
|
+
{
|
14195
|
+
__m64 x = _mm_abs_pi32(_m_from_int(0));
|
14196
|
+
;
|
14197
|
+
return 0;
|
14198
|
+
}
|
14199
|
+
_ACEOF
|
14200
|
+
if ac_fn_c_try_compile "$LINENO"; then :
|
14201
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
14202
|
+
$as_echo "yes" >&6; }
|
14203
|
+
|
14204
|
+
$as_echo "@%:@define HAVE_TMMINTRIN_H 1" >>confdefs.h
|
14205
|
+
|
14206
|
+
else
|
14207
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
14208
|
+
$as_echo "no" >&6; }
|
14209
|
+
fi
|
14210
|
+
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
14184
14211
|
|
14185
14212
|
fi
|
14186
14213
|
|
@@ -14559,6 +14586,10 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
14559
14586
|
#ifndef NATIVE_LITTLE_ENDIAN
|
14560
14587
|
# error donna_c64 currently requires a little endian CPU
|
14561
14588
|
#endif
|
14589
|
+
#ifdef EMSCRIPTEN
|
14590
|
+
# error emscripten currently supports only shift operations on integers \
|
14591
|
+
# larger than 64 bits
|
14592
|
+
#endif
|
14562
14593
|
#include <stdint.h>
|
14563
14594
|
typedef unsigned uint128_t __attribute__((mode(TI)));
|
14564
14595
|
void fcontract(uint128_t *t) {
|
@@ -14635,50 +14666,50 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
14635
14666
|
fi
|
14636
14667
|
|
14637
14668
|
|
14638
|
-
|
14639
|
-
|
14640
|
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: data alignment is not required on this target" >&5
|
14641
|
-
$as_echo "$as_me: data alignment is not required on this target" >&6;} ;; @%:@(
|
14642
|
-
*) :
|
14643
|
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: data alignment is required on this target" >&5
|
14644
|
-
$as_echo "$as_me: data alignment is required on this target" >&6;}
|
14645
|
-
|
14646
|
-
$as_echo "@%:@define CPU_ALIGNED_ACCESS_REQUIRED 1" >>confdefs.h
|
14647
|
-
|
14648
|
-
;; @%:@(
|
14649
|
-
*) :
|
14650
|
-
;;
|
14651
|
-
esac
|
14652
|
-
|
14653
|
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for memset_s" >&5
|
14654
|
-
$as_echo_n "checking for memset_s... " >&6; }
|
14669
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if weak symbols are supported" >&5
|
14670
|
+
$as_echo_n "checking if weak symbols are supported... " >&6; }
|
14655
14671
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
14656
14672
|
/* end confdefs.h. */
|
14657
14673
|
|
14658
|
-
|
14674
|
+
__attribute__((weak)) void __dummy(void *x) { }
|
14675
|
+
void f(void *x) { __dummy(x); }
|
14659
14676
|
|
14660
14677
|
int
|
14661
14678
|
main ()
|
14662
14679
|
{
|
14663
|
-
|
14664
|
-
char dummy[42];
|
14665
|
-
(void) memset_s(dummy, (rsize_t) sizeof dummy, 0, (rsize_t) sizeof dummy);
|
14680
|
+
|
14666
14681
|
|
14667
14682
|
;
|
14668
14683
|
return 0;
|
14669
14684
|
}
|
14670
14685
|
_ACEOF
|
14671
|
-
if
|
14686
|
+
if ac_fn_c_try_link "$LINENO"; then :
|
14672
14687
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
14673
14688
|
$as_echo "yes" >&6; }
|
14674
14689
|
|
14675
|
-
$as_echo "@%:@define
|
14690
|
+
$as_echo "@%:@define HAVE_WEAK_SYMBOLS 1" >>confdefs.h
|
14676
14691
|
|
14677
14692
|
else
|
14678
14693
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
14679
14694
|
$as_echo "no" >&6; }
|
14680
14695
|
fi
|
14681
|
-
rm -f core conftest.err conftest.$ac_objext
|
14696
|
+
rm -f core conftest.err conftest.$ac_objext \
|
14697
|
+
conftest$ac_exeext conftest.$ac_ext
|
14698
|
+
|
14699
|
+
case $host_cpu in @%:@(
|
14700
|
+
i*86 | x86_64 | powerpc* | s390*) :
|
14701
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: data alignment is not required on this target" >&5
|
14702
|
+
$as_echo "$as_me: data alignment is not required on this target" >&6;} ;; @%:@(
|
14703
|
+
*) :
|
14704
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: data alignment is required on this target" >&5
|
14705
|
+
$as_echo "$as_me: data alignment is required on this target" >&6;}
|
14706
|
+
|
14707
|
+
$as_echo "@%:@define CPU_ALIGNED_ACCESS_REQUIRED 1" >>confdefs.h
|
14708
|
+
|
14709
|
+
;; @%:@(
|
14710
|
+
*) :
|
14711
|
+
;;
|
14712
|
+
esac
|
14682
14713
|
|
14683
14714
|
|
14684
14715
|
ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
|
@@ -15772,7 +15803,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
15772
15803
|
# report actual input values of CONFIG_FILES etc. instead of their
|
15773
15804
|
# values after options handling.
|
15774
15805
|
ac_log="
|
15775
|
-
This file was extended by libsodium $as_me 0.
|
15806
|
+
This file was extended by libsodium $as_me 0.6.0, which was
|
15776
15807
|
generated by GNU Autoconf 2.69. Invocation command line was
|
15777
15808
|
|
15778
15809
|
CONFIG_FILES = $CONFIG_FILES
|
@@ -15830,7 +15861,7 @@ _ACEOF
|
|
15830
15861
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
15831
15862
|
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
15832
15863
|
ac_cs_version="\\
|
15833
|
-
libsodium config.status 0.
|
15864
|
+
libsodium config.status 0.6.0
|
15834
15865
|
configured by $0, generated by GNU Autoconf 2.69,
|
15835
15866
|
with options \\"\$ac_cs_config\\"
|
15836
15867
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
@%:@! /bin/sh
|
2
2
|
@%:@ Guess values for system-dependent variables and create Makefiles.
|
3
|
-
@%:@ Generated by GNU Autoconf 2.69 for libsodium 0.
|
3
|
+
@%:@ Generated by GNU Autoconf 2.69 for libsodium 0.6.0.
|
4
4
|
@%:@
|
5
5
|
@%:@ Report bugs to <https://github.com/jedisct1/libsodium/issues>.
|
6
6
|
@%:@
|
@@ -590,8 +590,8 @@ MAKEFLAGS=
|
|
590
590
|
# Identity of this package.
|
591
591
|
PACKAGE_NAME='libsodium'
|
592
592
|
PACKAGE_TARNAME='libsodium'
|
593
|
-
PACKAGE_VERSION='0.
|
594
|
-
PACKAGE_STRING='libsodium 0.
|
593
|
+
PACKAGE_VERSION='0.6.0'
|
594
|
+
PACKAGE_STRING='libsodium 0.6.0'
|
595
595
|
PACKAGE_BUGREPORT='https://github.com/jedisct1/libsodium/issues'
|
596
596
|
PACKAGE_URL='https://github.com/jedisct1/libsodium'
|
597
597
|
|
@@ -1359,7 +1359,7 @@ if test "$ac_init_help" = "long"; then
|
|
1359
1359
|
# Omit some internal or obsolete options to make the list less imposing.
|
1360
1360
|
# This message is too long to be a string in the A/UX 3.1 sh.
|
1361
1361
|
cat <<_ACEOF
|
1362
|
-
\`configure' configures libsodium 0.
|
1362
|
+
\`configure' configures libsodium 0.6.0 to adapt to many kinds of systems.
|
1363
1363
|
|
1364
1364
|
Usage: $0 [OPTION]... [VAR=VALUE]...
|
1365
1365
|
|
@@ -1429,7 +1429,7 @@ fi
|
|
1429
1429
|
|
1430
1430
|
if test -n "$ac_init_help"; then
|
1431
1431
|
case $ac_init_help in
|
1432
|
-
short | recursive ) echo "Configuration of libsodium 0.
|
1432
|
+
short | recursive ) echo "Configuration of libsodium 0.6.0:";;
|
1433
1433
|
esac
|
1434
1434
|
cat <<\_ACEOF
|
1435
1435
|
|
@@ -1559,7 +1559,7 @@ fi
|
|
1559
1559
|
test -n "$ac_init_help" && exit $ac_status
|
1560
1560
|
if $ac_init_version; then
|
1561
1561
|
cat <<\_ACEOF
|
1562
|
-
libsodium configure 0.
|
1562
|
+
libsodium configure 0.6.0
|
1563
1563
|
generated by GNU Autoconf 2.69
|
1564
1564
|
|
1565
1565
|
Copyright (C) 2012 Free Software Foundation, Inc.
|
@@ -1928,7 +1928,7 @@ cat >config.log <<_ACEOF
|
|
1928
1928
|
This file contains any messages produced by compilers while
|
1929
1929
|
running configure, to aid debugging if configure makes a mistake.
|
1930
1930
|
|
1931
|
-
It was created by libsodium $as_me 0.
|
1931
|
+
It was created by libsodium $as_me 0.6.0, which was
|
1932
1932
|
generated by GNU Autoconf 2.69. Invocation command line was
|
1933
1933
|
|
1934
1934
|
$ $0 $@
|
@@ -2864,7 +2864,7 @@ fi
|
|
2864
2864
|
|
2865
2865
|
# Define the identity of the package.
|
2866
2866
|
PACKAGE='libsodium'
|
2867
|
-
VERSION='0.
|
2867
|
+
VERSION='0.6.0'
|
2868
2868
|
|
2869
2869
|
|
2870
2870
|
cat >>confdefs.h <<_ACEOF
|
@@ -3158,10 +3158,10 @@ fi
|
|
3158
3158
|
ISODATE=`date +%Y-%m-%d`
|
3159
3159
|
|
3160
3160
|
|
3161
|
-
SODIUM_LIBRARY_VERSION_MAJOR=
|
3161
|
+
SODIUM_LIBRARY_VERSION_MAJOR=6
|
3162
3162
|
SODIUM_LIBRARY_VERSION_MINOR=0
|
3163
3163
|
DLL_VERSION=5
|
3164
|
-
SODIUM_LIBRARY_VERSION=
|
3164
|
+
SODIUM_LIBRARY_VERSION=11:0:1
|
3165
3165
|
# | | |
|
3166
3166
|
# +------+ | +---+
|
3167
3167
|
# | | |
|
@@ -14181,6 +14181,33 @@ $as_echo "no" >&6; }
|
|
14181
14181
|
fi
|
14182
14182
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
14183
14183
|
|
14184
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSSE3 instructions set" >&5
|
14185
|
+
$as_echo_n "checking for SSSE3 instructions set... " >&6; }
|
14186
|
+
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
14187
|
+
/* end confdefs.h. */
|
14188
|
+
|
14189
|
+
#pragma GCC target("ssse3")
|
14190
|
+
#include <tmmintrin.h>
|
14191
|
+
|
14192
|
+
int
|
14193
|
+
main ()
|
14194
|
+
{
|
14195
|
+
__m64 x = _mm_abs_pi32(_m_from_int(0));
|
14196
|
+
;
|
14197
|
+
return 0;
|
14198
|
+
}
|
14199
|
+
_ACEOF
|
14200
|
+
if ac_fn_c_try_compile "$LINENO"; then :
|
14201
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
14202
|
+
$as_echo "yes" >&6; }
|
14203
|
+
|
14204
|
+
$as_echo "@%:@define HAVE_TMMINTRIN_H 1" >>confdefs.h
|
14205
|
+
|
14206
|
+
else
|
14207
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
14208
|
+
$as_echo "no" >&6; }
|
14209
|
+
fi
|
14210
|
+
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
14184
14211
|
|
14185
14212
|
fi
|
14186
14213
|
|
@@ -14559,6 +14586,10 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
14559
14586
|
#ifndef NATIVE_LITTLE_ENDIAN
|
14560
14587
|
# error donna_c64 currently requires a little endian CPU
|
14561
14588
|
#endif
|
14589
|
+
#ifdef EMSCRIPTEN
|
14590
|
+
# error emscripten currently supports only shift operations on integers \
|
14591
|
+
# larger than 64 bits
|
14592
|
+
#endif
|
14562
14593
|
#include <stdint.h>
|
14563
14594
|
typedef unsigned uint128_t __attribute__((mode(TI)));
|
14564
14595
|
void fcontract(uint128_t *t) {
|
@@ -14635,50 +14666,50 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
14635
14666
|
fi
|
14636
14667
|
|
14637
14668
|
|
14638
|
-
|
14639
|
-
|
14640
|
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: data alignment is not required on this target" >&5
|
14641
|
-
$as_echo "$as_me: data alignment is not required on this target" >&6;} ;; @%:@(
|
14642
|
-
*) :
|
14643
|
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: data alignment is required on this target" >&5
|
14644
|
-
$as_echo "$as_me: data alignment is required on this target" >&6;}
|
14645
|
-
|
14646
|
-
$as_echo "@%:@define CPU_ALIGNED_ACCESS_REQUIRED 1" >>confdefs.h
|
14647
|
-
|
14648
|
-
;; @%:@(
|
14649
|
-
*) :
|
14650
|
-
;;
|
14651
|
-
esac
|
14652
|
-
|
14653
|
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for memset_s" >&5
|
14654
|
-
$as_echo_n "checking for memset_s... " >&6; }
|
14669
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if weak symbols are supported" >&5
|
14670
|
+
$as_echo_n "checking if weak symbols are supported... " >&6; }
|
14655
14671
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
14656
14672
|
/* end confdefs.h. */
|
14657
14673
|
|
14658
|
-
|
14674
|
+
__attribute__((weak)) void __dummy(void *x) { }
|
14675
|
+
void f(void *x) { __dummy(x); }
|
14659
14676
|
|
14660
14677
|
int
|
14661
14678
|
main ()
|
14662
14679
|
{
|
14663
|
-
|
14664
|
-
char dummy[42];
|
14665
|
-
(void) memset_s(dummy, (rsize_t) sizeof dummy, 0, (rsize_t) sizeof dummy);
|
14680
|
+
|
14666
14681
|
|
14667
14682
|
;
|
14668
14683
|
return 0;
|
14669
14684
|
}
|
14670
14685
|
_ACEOF
|
14671
|
-
if
|
14686
|
+
if ac_fn_c_try_link "$LINENO"; then :
|
14672
14687
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
14673
14688
|
$as_echo "yes" >&6; }
|
14674
14689
|
|
14675
|
-
$as_echo "@%:@define
|
14690
|
+
$as_echo "@%:@define HAVE_WEAK_SYMBOLS 1" >>confdefs.h
|
14676
14691
|
|
14677
14692
|
else
|
14678
14693
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
14679
14694
|
$as_echo "no" >&6; }
|
14680
14695
|
fi
|
14681
|
-
rm -f core conftest.err conftest.$ac_objext
|
14696
|
+
rm -f core conftest.err conftest.$ac_objext \
|
14697
|
+
conftest$ac_exeext conftest.$ac_ext
|
14698
|
+
|
14699
|
+
case $host_cpu in @%:@(
|
14700
|
+
i*86 | x86_64 | powerpc* | s390*) :
|
14701
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: data alignment is not required on this target" >&5
|
14702
|
+
$as_echo "$as_me: data alignment is not required on this target" >&6;} ;; @%:@(
|
14703
|
+
*) :
|
14704
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: data alignment is required on this target" >&5
|
14705
|
+
$as_echo "$as_me: data alignment is required on this target" >&6;}
|
14706
|
+
|
14707
|
+
$as_echo "@%:@define CPU_ALIGNED_ACCESS_REQUIRED 1" >>confdefs.h
|
14708
|
+
|
14709
|
+
;; @%:@(
|
14710
|
+
*) :
|
14711
|
+
;;
|
14712
|
+
esac
|
14682
14713
|
|
14683
14714
|
|
14684
14715
|
ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
|
@@ -15772,7 +15803,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
15772
15803
|
# report actual input values of CONFIG_FILES etc. instead of their
|
15773
15804
|
# values after options handling.
|
15774
15805
|
ac_log="
|
15775
|
-
This file was extended by libsodium $as_me 0.
|
15806
|
+
This file was extended by libsodium $as_me 0.6.0, which was
|
15776
15807
|
generated by GNU Autoconf 2.69. Invocation command line was
|
15777
15808
|
|
15778
15809
|
CONFIG_FILES = $CONFIG_FILES
|
@@ -15830,7 +15861,7 @@ _ACEOF
|
|
15830
15861
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
15831
15862
|
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
15832
15863
|
ac_cs_version="\\
|
15833
|
-
libsodium config.status 0.
|
15864
|
+
libsodium config.status 0.6.0
|
15834
15865
|
configured by $0, generated by GNU Autoconf 2.69,
|
15835
15866
|
with options \\"\$ac_cs_config\\"
|
15836
15867
|
|