rbnacl-libsodium 1.0.0 → 1.0.1
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 +10 -0
- data/vendor/libsodium/LICENSE +1 -1
- data/vendor/libsodium/Makefile.in +10 -2
- data/vendor/libsodium/THANKS +1 -0
- data/vendor/libsodium/autom4te.cache/output.1 +52 -17
- data/vendor/libsodium/autom4te.cache/output.3 +52 -17
- data/vendor/libsodium/autom4te.cache/requests +558 -558
- data/vendor/libsodium/autom4te.cache/traces.1 +543 -542
- data/vendor/libsodium/autom4te.cache/traces.3 +320 -319
- data/vendor/libsodium/build-aux/compile +347 -0
- data/vendor/libsodium/build-aux/config.guess +1568 -0
- data/vendor/libsodium/build-aux/config.sub +1793 -0
- data/vendor/libsodium/build-aux/depcomp +791 -0
- data/vendor/libsodium/build-aux/install-sh +527 -0
- data/vendor/libsodium/build-aux/ltmain.sh +9655 -0
- data/vendor/libsodium/build-aux/missing +215 -0
- data/vendor/libsodium/build-aux/test-driver +139 -0
- data/vendor/libsodium/builds/msvc/properties/Common.props +1 -3
- data/vendor/libsodium/builds/msvc/properties/Release.props +3 -1
- data/vendor/libsodium/builds/msvc/resource.rc +0 -0
- data/vendor/libsodium/builds/msvc/version.h +2 -2
- data/vendor/libsodium/builds/msvc/vs2010/libsodium/libsodium.props +1 -1
- data/vendor/libsodium/builds/msvc/vs2010/test/test.vcxproj +12 -6
- data/vendor/libsodium/builds/msvc/vs2010/test/test.vcxproj.filters +11 -5
- data/vendor/libsodium/builds/msvc/vs2012/libsodium/libsodium.props +1 -1
- data/vendor/libsodium/builds/msvc/vs2012/test/test.vcxproj +12 -6
- data/vendor/libsodium/builds/msvc/vs2012/test/test.vcxproj.filters +11 -5
- data/vendor/libsodium/builds/msvc/vs2013/libsodium/libsodium.props +1 -1
- data/vendor/libsodium/builds/msvc/vs2013/test/test.vcxproj +12 -6
- data/vendor/libsodium/builds/msvc/vs2013/test/test.vcxproj.filters +11 -5
- data/vendor/libsodium/configure +52 -17
- data/vendor/libsodium/configure.ac +7 -4
- data/vendor/libsodium/dist-build/ios.sh +4 -3
- data/vendor/libsodium/libsodium.vcxproj +4 -4
- data/vendor/libsodium/msvc-scripts/process.bat +2 -2
- data/vendor/libsodium/packaging/nuget/package.config +1 -1
- data/vendor/libsodium/packaging/nuget/package.nuspec +25 -25
- data/vendor/libsodium/packaging/nuget/package.targets +20 -20
- data/vendor/libsodium/src/libsodium/Makefile.in +2 -2
- data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2-impl.h +2 -2
- data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2.h +8 -8
- data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/auth_poly1305_donna.c +6 -6
- data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna.h +2 -2
- data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/crypto_scrypt-common.c +1 -1
- data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/crypto_scrypt.h +2 -2
- data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/pbkdf2-sha256.h +2 -2
- data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/pwhash_scryptsalsa208sha256.c +1 -1
- data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/sse/pwhash_scryptsalsa208sha256_sse.c +1 -1
- data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/sysendian.h +2 -2
- data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/donna_c64/smult_curve25519_donna_c64.c +38 -38
- data/vendor/libsodium/src/libsodium/crypto_secretbox/crypto_secretbox_easy.c +8 -0
- data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe_frombytes.c +10 -10
- data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe_mul.c +10 -10
- data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe_sq.c +10 -10
- data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe_sq2.c +10 -10
- data/vendor/libsodium/src/libsodium/include/sodium.h +2 -2
- data/vendor/libsodium/src/libsodium/include/sodium/core.h +2 -2
- data/vendor/libsodium/src/libsodium/include/sodium/export.h +3 -3
- data/vendor/libsodium/src/libsodium/include/sodium/runtime.h +2 -2
- data/vendor/libsodium/src/libsodium/include/sodium/utils.h +4 -4
- data/vendor/libsodium/src/libsodium/include/sodium/version.h.in +2 -2
- data/vendor/libsodium/src/libsodium/randombytes/salsa20/randombytes_salsa20_random.c +9 -9
- data/vendor/libsodium/src/libsodium/randombytes/sysrandom/randombytes_sysrandom.c +9 -9
- data/vendor/libsodium/src/libsodium/sodium/utils.c +17 -15
- data/vendor/libsodium/test/default/Makefile.in +5 -4
- data/vendor/libsodium/test/default/aead_chacha20poly1305.c +25 -0
- data/vendor/libsodium/test/default/aead_chacha20poly1305.exp +4 -0
- data/vendor/libsodium/test/default/box_easy2.c +23 -8
- data/vendor/libsodium/test/default/box_easy2.exp +2 -0
- data/vendor/libsodium/test/default/generichash.c +23 -15
- data/vendor/libsodium/test/default/generichash3.c +24 -20
- data/vendor/libsodium/test/default/pwhash.c +27 -28
- data/vendor/libsodium/test/default/scalarmult6.c +19 -3
- data/vendor/libsodium/test/default/secretbox_easy2.c +27 -11
- data/vendor/libsodium/test/default/secretbox_easy2.exp +3 -0
- data/vendor/libsodium/test/default/shorthash.c +15 -10
- data/vendor/libsodium/test/default/sign.c +23 -0
- data/vendor/libsodium/test/default/sodium_utils2.c +4 -0
- data/vendor/libsodium/test/default/sodium_utils3.c +4 -0
- metadata +10 -2
@@ -0,0 +1,215 @@
|
|
1
|
+
#! /bin/sh
|
2
|
+
# Common wrapper for a few potentially missing GNU programs.
|
3
|
+
|
4
|
+
scriptversion=2013-10-28.13; # UTC
|
5
|
+
|
6
|
+
# Copyright (C) 1996-2013 Free Software Foundation, Inc.
|
7
|
+
# Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
|
8
|
+
|
9
|
+
# This program is free software; you can redistribute it and/or modify
|
10
|
+
# it under the terms of the GNU General Public License as published by
|
11
|
+
# the Free Software Foundation; either version 2, or (at your option)
|
12
|
+
# any later version.
|
13
|
+
|
14
|
+
# This program is distributed in the hope that it will be useful,
|
15
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
16
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
17
|
+
# GNU General Public License for more details.
|
18
|
+
|
19
|
+
# You should have received a copy of the GNU General Public License
|
20
|
+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
21
|
+
|
22
|
+
# As a special exception to the GNU General Public License, if you
|
23
|
+
# distribute this file as part of a program that contains a
|
24
|
+
# configuration script generated by Autoconf, you may include it under
|
25
|
+
# the same distribution terms that you use for the rest of that program.
|
26
|
+
|
27
|
+
if test $# -eq 0; then
|
28
|
+
echo 1>&2 "Try '$0 --help' for more information"
|
29
|
+
exit 1
|
30
|
+
fi
|
31
|
+
|
32
|
+
case $1 in
|
33
|
+
|
34
|
+
--is-lightweight)
|
35
|
+
# Used by our autoconf macros to check whether the available missing
|
36
|
+
# script is modern enough.
|
37
|
+
exit 0
|
38
|
+
;;
|
39
|
+
|
40
|
+
--run)
|
41
|
+
# Back-compat with the calling convention used by older automake.
|
42
|
+
shift
|
43
|
+
;;
|
44
|
+
|
45
|
+
-h|--h|--he|--hel|--help)
|
46
|
+
echo "\
|
47
|
+
$0 [OPTION]... PROGRAM [ARGUMENT]...
|
48
|
+
|
49
|
+
Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due
|
50
|
+
to PROGRAM being missing or too old.
|
51
|
+
|
52
|
+
Options:
|
53
|
+
-h, --help display this help and exit
|
54
|
+
-v, --version output version information and exit
|
55
|
+
|
56
|
+
Supported PROGRAM values:
|
57
|
+
aclocal autoconf autoheader autom4te automake makeinfo
|
58
|
+
bison yacc flex lex help2man
|
59
|
+
|
60
|
+
Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and
|
61
|
+
'g' are ignored when checking the name.
|
62
|
+
|
63
|
+
Send bug reports to <bug-automake@gnu.org>."
|
64
|
+
exit $?
|
65
|
+
;;
|
66
|
+
|
67
|
+
-v|--v|--ve|--ver|--vers|--versi|--versio|--version)
|
68
|
+
echo "missing $scriptversion (GNU Automake)"
|
69
|
+
exit $?
|
70
|
+
;;
|
71
|
+
|
72
|
+
-*)
|
73
|
+
echo 1>&2 "$0: unknown '$1' option"
|
74
|
+
echo 1>&2 "Try '$0 --help' for more information"
|
75
|
+
exit 1
|
76
|
+
;;
|
77
|
+
|
78
|
+
esac
|
79
|
+
|
80
|
+
# Run the given program, remember its exit status.
|
81
|
+
"$@"; st=$?
|
82
|
+
|
83
|
+
# If it succeeded, we are done.
|
84
|
+
test $st -eq 0 && exit 0
|
85
|
+
|
86
|
+
# Also exit now if we it failed (or wasn't found), and '--version' was
|
87
|
+
# passed; such an option is passed most likely to detect whether the
|
88
|
+
# program is present and works.
|
89
|
+
case $2 in --version|--help) exit $st;; esac
|
90
|
+
|
91
|
+
# Exit code 63 means version mismatch. This often happens when the user
|
92
|
+
# tries to use an ancient version of a tool on a file that requires a
|
93
|
+
# minimum version.
|
94
|
+
if test $st -eq 63; then
|
95
|
+
msg="probably too old"
|
96
|
+
elif test $st -eq 127; then
|
97
|
+
# Program was missing.
|
98
|
+
msg="missing on your system"
|
99
|
+
else
|
100
|
+
# Program was found and executed, but failed. Give up.
|
101
|
+
exit $st
|
102
|
+
fi
|
103
|
+
|
104
|
+
perl_URL=http://www.perl.org/
|
105
|
+
flex_URL=http://flex.sourceforge.net/
|
106
|
+
gnu_software_URL=http://www.gnu.org/software
|
107
|
+
|
108
|
+
program_details ()
|
109
|
+
{
|
110
|
+
case $1 in
|
111
|
+
aclocal|automake)
|
112
|
+
echo "The '$1' program is part of the GNU Automake package:"
|
113
|
+
echo "<$gnu_software_URL/automake>"
|
114
|
+
echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:"
|
115
|
+
echo "<$gnu_software_URL/autoconf>"
|
116
|
+
echo "<$gnu_software_URL/m4/>"
|
117
|
+
echo "<$perl_URL>"
|
118
|
+
;;
|
119
|
+
autoconf|autom4te|autoheader)
|
120
|
+
echo "The '$1' program is part of the GNU Autoconf package:"
|
121
|
+
echo "<$gnu_software_URL/autoconf/>"
|
122
|
+
echo "It also requires GNU m4 and Perl in order to run:"
|
123
|
+
echo "<$gnu_software_URL/m4/>"
|
124
|
+
echo "<$perl_URL>"
|
125
|
+
;;
|
126
|
+
esac
|
127
|
+
}
|
128
|
+
|
129
|
+
give_advice ()
|
130
|
+
{
|
131
|
+
# Normalize program name to check for.
|
132
|
+
normalized_program=`echo "$1" | sed '
|
133
|
+
s/^gnu-//; t
|
134
|
+
s/^gnu//; t
|
135
|
+
s/^g//; t'`
|
136
|
+
|
137
|
+
printf '%s\n' "'$1' is $msg."
|
138
|
+
|
139
|
+
configure_deps="'configure.ac' or m4 files included by 'configure.ac'"
|
140
|
+
case $normalized_program in
|
141
|
+
autoconf*)
|
142
|
+
echo "You should only need it if you modified 'configure.ac',"
|
143
|
+
echo "or m4 files included by it."
|
144
|
+
program_details 'autoconf'
|
145
|
+
;;
|
146
|
+
autoheader*)
|
147
|
+
echo "You should only need it if you modified 'acconfig.h' or"
|
148
|
+
echo "$configure_deps."
|
149
|
+
program_details 'autoheader'
|
150
|
+
;;
|
151
|
+
automake*)
|
152
|
+
echo "You should only need it if you modified 'Makefile.am' or"
|
153
|
+
echo "$configure_deps."
|
154
|
+
program_details 'automake'
|
155
|
+
;;
|
156
|
+
aclocal*)
|
157
|
+
echo "You should only need it if you modified 'acinclude.m4' or"
|
158
|
+
echo "$configure_deps."
|
159
|
+
program_details 'aclocal'
|
160
|
+
;;
|
161
|
+
autom4te*)
|
162
|
+
echo "You might have modified some maintainer files that require"
|
163
|
+
echo "the 'autom4te' program to be rebuilt."
|
164
|
+
program_details 'autom4te'
|
165
|
+
;;
|
166
|
+
bison*|yacc*)
|
167
|
+
echo "You should only need it if you modified a '.y' file."
|
168
|
+
echo "You may want to install the GNU Bison package:"
|
169
|
+
echo "<$gnu_software_URL/bison/>"
|
170
|
+
;;
|
171
|
+
lex*|flex*)
|
172
|
+
echo "You should only need it if you modified a '.l' file."
|
173
|
+
echo "You may want to install the Fast Lexical Analyzer package:"
|
174
|
+
echo "<$flex_URL>"
|
175
|
+
;;
|
176
|
+
help2man*)
|
177
|
+
echo "You should only need it if you modified a dependency" \
|
178
|
+
"of a man page."
|
179
|
+
echo "You may want to install the GNU Help2man package:"
|
180
|
+
echo "<$gnu_software_URL/help2man/>"
|
181
|
+
;;
|
182
|
+
makeinfo*)
|
183
|
+
echo "You should only need it if you modified a '.texi' file, or"
|
184
|
+
echo "any other file indirectly affecting the aspect of the manual."
|
185
|
+
echo "You might want to install the Texinfo package:"
|
186
|
+
echo "<$gnu_software_URL/texinfo/>"
|
187
|
+
echo "The spurious makeinfo call might also be the consequence of"
|
188
|
+
echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might"
|
189
|
+
echo "want to install GNU make:"
|
190
|
+
echo "<$gnu_software_URL/make/>"
|
191
|
+
;;
|
192
|
+
*)
|
193
|
+
echo "You might have modified some files without having the proper"
|
194
|
+
echo "tools for further handling them. Check the 'README' file, it"
|
195
|
+
echo "often tells you about the needed prerequisites for installing"
|
196
|
+
echo "this package. You may also peek at any GNU archive site, in"
|
197
|
+
echo "case some other package contains this missing '$1' program."
|
198
|
+
;;
|
199
|
+
esac
|
200
|
+
}
|
201
|
+
|
202
|
+
give_advice "$1" | sed -e '1s/^/WARNING: /' \
|
203
|
+
-e '2,$s/^/ /' >&2
|
204
|
+
|
205
|
+
# Propagate the correct exit status (expected to be 127 for a program
|
206
|
+
# not found, 63 for a program that failed due to version mismatch).
|
207
|
+
exit $st
|
208
|
+
|
209
|
+
# Local variables:
|
210
|
+
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
211
|
+
# time-stamp-start: "scriptversion="
|
212
|
+
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
213
|
+
# time-stamp-time-zone: "UTC"
|
214
|
+
# time-stamp-end: "; # UTC"
|
215
|
+
# End:
|
@@ -0,0 +1,139 @@
|
|
1
|
+
#! /bin/sh
|
2
|
+
# test-driver - basic testsuite driver script.
|
3
|
+
|
4
|
+
scriptversion=2013-07-13.22; # UTC
|
5
|
+
|
6
|
+
# Copyright (C) 2011-2013 Free Software Foundation, Inc.
|
7
|
+
#
|
8
|
+
# This program is free software; you can redistribute it and/or modify
|
9
|
+
# it under the terms of the GNU General Public License as published by
|
10
|
+
# the Free Software Foundation; either version 2, or (at your option)
|
11
|
+
# any later version.
|
12
|
+
#
|
13
|
+
# This program is distributed in the hope that it will be useful,
|
14
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
15
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
16
|
+
# GNU General Public License for more details.
|
17
|
+
#
|
18
|
+
# You should have received a copy of the GNU General Public License
|
19
|
+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
20
|
+
|
21
|
+
# As a special exception to the GNU General Public License, if you
|
22
|
+
# distribute this file as part of a program that contains a
|
23
|
+
# configuration script generated by Autoconf, you may include it under
|
24
|
+
# the same distribution terms that you use for the rest of that program.
|
25
|
+
|
26
|
+
# This file is maintained in Automake, please report
|
27
|
+
# bugs to <bug-automake@gnu.org> or send patches to
|
28
|
+
# <automake-patches@gnu.org>.
|
29
|
+
|
30
|
+
# Make unconditional expansion of undefined variables an error. This
|
31
|
+
# helps a lot in preventing typo-related bugs.
|
32
|
+
set -u
|
33
|
+
|
34
|
+
usage_error ()
|
35
|
+
{
|
36
|
+
echo "$0: $*" >&2
|
37
|
+
print_usage >&2
|
38
|
+
exit 2
|
39
|
+
}
|
40
|
+
|
41
|
+
print_usage ()
|
42
|
+
{
|
43
|
+
cat <<END
|
44
|
+
Usage:
|
45
|
+
test-driver --test-name=NAME --log-file=PATH --trs-file=PATH
|
46
|
+
[--expect-failure={yes|no}] [--color-tests={yes|no}]
|
47
|
+
[--enable-hard-errors={yes|no}] [--]
|
48
|
+
TEST-SCRIPT [TEST-SCRIPT-ARGUMENTS]
|
49
|
+
The '--test-name', '--log-file' and '--trs-file' options are mandatory.
|
50
|
+
END
|
51
|
+
}
|
52
|
+
|
53
|
+
test_name= # Used for reporting.
|
54
|
+
log_file= # Where to save the output of the test script.
|
55
|
+
trs_file= # Where to save the metadata of the test run.
|
56
|
+
expect_failure=no
|
57
|
+
color_tests=no
|
58
|
+
enable_hard_errors=yes
|
59
|
+
while test $# -gt 0; do
|
60
|
+
case $1 in
|
61
|
+
--help) print_usage; exit $?;;
|
62
|
+
--version) echo "test-driver $scriptversion"; exit $?;;
|
63
|
+
--test-name) test_name=$2; shift;;
|
64
|
+
--log-file) log_file=$2; shift;;
|
65
|
+
--trs-file) trs_file=$2; shift;;
|
66
|
+
--color-tests) color_tests=$2; shift;;
|
67
|
+
--expect-failure) expect_failure=$2; shift;;
|
68
|
+
--enable-hard-errors) enable_hard_errors=$2; shift;;
|
69
|
+
--) shift; break;;
|
70
|
+
-*) usage_error "invalid option: '$1'";;
|
71
|
+
*) break;;
|
72
|
+
esac
|
73
|
+
shift
|
74
|
+
done
|
75
|
+
|
76
|
+
missing_opts=
|
77
|
+
test x"$test_name" = x && missing_opts="$missing_opts --test-name"
|
78
|
+
test x"$log_file" = x && missing_opts="$missing_opts --log-file"
|
79
|
+
test x"$trs_file" = x && missing_opts="$missing_opts --trs-file"
|
80
|
+
if test x"$missing_opts" != x; then
|
81
|
+
usage_error "the following mandatory options are missing:$missing_opts"
|
82
|
+
fi
|
83
|
+
|
84
|
+
if test $# -eq 0; then
|
85
|
+
usage_error "missing argument"
|
86
|
+
fi
|
87
|
+
|
88
|
+
if test $color_tests = yes; then
|
89
|
+
# Keep this in sync with 'lib/am/check.am:$(am__tty_colors)'.
|
90
|
+
red='[0;31m' # Red.
|
91
|
+
grn='[0;32m' # Green.
|
92
|
+
lgn='[1;32m' # Light green.
|
93
|
+
blu='[1;34m' # Blue.
|
94
|
+
mgn='[0;35m' # Magenta.
|
95
|
+
std='[m' # No color.
|
96
|
+
else
|
97
|
+
red= grn= lgn= blu= mgn= std=
|
98
|
+
fi
|
99
|
+
|
100
|
+
do_exit='rm -f $log_file $trs_file; (exit $st); exit $st'
|
101
|
+
trap "st=129; $do_exit" 1
|
102
|
+
trap "st=130; $do_exit" 2
|
103
|
+
trap "st=141; $do_exit" 13
|
104
|
+
trap "st=143; $do_exit" 15
|
105
|
+
|
106
|
+
# Test script is run here.
|
107
|
+
"$@" >$log_file 2>&1
|
108
|
+
estatus=$?
|
109
|
+
if test $enable_hard_errors = no && test $estatus -eq 99; then
|
110
|
+
estatus=1
|
111
|
+
fi
|
112
|
+
|
113
|
+
case $estatus:$expect_failure in
|
114
|
+
0:yes) col=$red res=XPASS recheck=yes gcopy=yes;;
|
115
|
+
0:*) col=$grn res=PASS recheck=no gcopy=no;;
|
116
|
+
77:*) col=$blu res=SKIP recheck=no gcopy=yes;;
|
117
|
+
99:*) col=$mgn res=ERROR recheck=yes gcopy=yes;;
|
118
|
+
*:yes) col=$lgn res=XFAIL recheck=no gcopy=yes;;
|
119
|
+
*:*) col=$red res=FAIL recheck=yes gcopy=yes;;
|
120
|
+
esac
|
121
|
+
|
122
|
+
# Report outcome to console.
|
123
|
+
echo "${col}${res}${std}: $test_name"
|
124
|
+
|
125
|
+
# Register the test result, and other relevant metadata.
|
126
|
+
echo ":test-result: $res" > $trs_file
|
127
|
+
echo ":global-test-result: $res" >> $trs_file
|
128
|
+
echo ":recheck: $recheck" >> $trs_file
|
129
|
+
echo ":copy-in-global-log: $gcopy" >> $trs_file
|
130
|
+
|
131
|
+
# Local Variables:
|
132
|
+
# mode: shell-script
|
133
|
+
# sh-indentation: 2
|
134
|
+
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
135
|
+
# time-stamp-start: "scriptversion="
|
136
|
+
# time-stamp-format: "%:y-%02m-%02d.%02H"
|
137
|
+
# time-stamp-time-zone: "UTC"
|
138
|
+
# time-stamp-end: "; # UTC"
|
139
|
+
# End:
|
@@ -14,10 +14,8 @@
|
|
14
14
|
<ClCompile>
|
15
15
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
16
16
|
<PreprocessorDefinitions>UNICODE;_UNICODE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
17
|
-
<PreprocessorDefinitions>NATIVE_LITTLE_ENDIAN=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
18
|
-
<PreprocessorDefinitions>inline=__inline;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
19
17
|
<WarningLevel>Level3</WarningLevel>
|
20
18
|
</ClCompile>
|
21
19
|
</ItemDefinitionGroup>
|
22
20
|
|
23
|
-
</Project>
|
21
|
+
</Project>
|
@@ -20,8 +20,10 @@
|
|
20
20
|
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
21
21
|
<MinimalRebuild>false</MinimalRebuild>
|
22
22
|
<Optimization>MaxSpeed</Optimization>
|
23
|
+
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
23
24
|
</ClCompile>
|
24
25
|
<ResourceCompile>
|
26
|
+
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
25
27
|
</ResourceCompile>
|
26
28
|
<Link>
|
27
29
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
@@ -36,4 +38,4 @@
|
|
36
38
|
</ClCompile>
|
37
39
|
</ItemDefinitionGroup>
|
38
40
|
|
39
|
-
</Project>
|
41
|
+
</Project>
|
Binary file
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
#include "export.h"
|
6
6
|
|
7
|
-
#define SODIUM_VERSION_STRING "0.
|
7
|
+
#define SODIUM_VERSION_STRING "1.0.1"
|
8
8
|
|
9
9
|
#define SODIUM_LIBRARY_VERSION_MAJOR 7
|
10
|
-
#define SODIUM_LIBRARY_VERSION_MINOR
|
10
|
+
#define SODIUM_LIBRARY_VERSION_MINOR 3
|
11
11
|
|
12
12
|
#ifdef __cplusplus
|
13
13
|
extern "C" {
|
@@ -25,7 +25,7 @@
|
|
25
25
|
<EnablePREfast>false</EnablePREfast>
|
26
26
|
<PreprocessorDefinitions>inline=__inline;NATIVE_LITTLE_ENDIAN;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
27
27
|
<PreprocessorDefinitions Condition="'$(ConfigurationType)' == 'StaticLibrary'">SODIUM_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
28
|
-
<PreprocessorDefinitions Condition="'$(ConfigurationType)' == 'DynamicLibrary'">
|
28
|
+
<PreprocessorDefinitions Condition="'$(ConfigurationType)' == 'DynamicLibrary'">SODIUM_DLL_EXPORT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
29
29
|
<PreprocessorDefinitions Condition="'$(Option-amd64asm)' == 'true'">HAVE_AMD64_ASM;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
30
30
|
</ClCompile>
|
31
31
|
</ItemDefinitionGroup>
|
@@ -64,9 +64,12 @@
|
|
64
64
|
<Import Project="$(ProjectDir)$(ProjectName).props" />
|
65
65
|
</ImportGroup>
|
66
66
|
<ItemGroup>
|
67
|
-
<ClCompile Include="..\..\..\..\test\default\
|
67
|
+
<ClCompile Include="..\..\..\..\test\default\aead_chacha20poly1305.c">
|
68
68
|
<ExcludedFromBuild>false</ExcludedFromBuild>
|
69
69
|
</ClCompile>
|
70
|
+
<ClCompile Include="..\..\..\..\test\default\auth.c">
|
71
|
+
<ExcludedFromBuild>true</ExcludedFromBuild>
|
72
|
+
</ClCompile>
|
70
73
|
<ClCompile Include="..\..\..\..\test\default\auth2.c">
|
71
74
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
72
75
|
</ClCompile>
|
@@ -76,6 +79,12 @@
|
|
76
79
|
<ClCompile Include="..\..\..\..\test\default\auth5.c">
|
77
80
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
78
81
|
</ClCompile>
|
82
|
+
<ClCompile Include="..\..\..\..\test\default\auth6.c">
|
83
|
+
<ExcludedFromBuild>true</ExcludedFromBuild>
|
84
|
+
</ClCompile>
|
85
|
+
<ClCompile Include="..\..\..\..\test\default\auth7.c">
|
86
|
+
<ExcludedFromBuild>true</ExcludedFromBuild>
|
87
|
+
</ClCompile>
|
79
88
|
<ClCompile Include="..\..\..\..\test\default\box.c">
|
80
89
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
81
90
|
</ClCompile>
|
@@ -211,10 +220,7 @@
|
|
211
220
|
<ClCompile Include="..\..\..\..\test\default\stream4.c">
|
212
221
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
213
222
|
</ClCompile>
|
214
|
-
<ClCompile Include="..\..\..\..\test\default\
|
215
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
216
|
-
</ClCompile>
|
217
|
-
<ClCompile Include="..\..\..\..\test\default\stream6.c">
|
223
|
+
<ClCompile Include="..\..\..\..\test\default\verify1.c">
|
218
224
|
<ExcludedFromBuild>true</ExcludedFromBuild>
|
219
225
|
</ClCompile>
|
220
226
|
</ItemGroup>
|
@@ -223,4 +229,4 @@
|
|
223
229
|
<ClInclude Include="..\..\..\..\test\quirks\windows\windows-quirks.h" />
|
224
230
|
</ItemGroup>
|
225
231
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
226
|
-
</Project>
|
232
|
+
</Project>
|