rbnacl-libsodium 1.0.8 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +23 -0
- data/CHANGES.md +5 -0
- data/Gemfile +5 -2
- data/Rakefile +5 -0
- data/ext/rbnacl/extconf.rb +2 -1
- data/lib/rbnacl/libsodium.rb +8 -2
- data/lib/rbnacl/libsodium/version.rb +1 -1
- data/vendor/libsodium/AUTHORS +14 -0
- data/vendor/libsodium/ChangeLog +26 -0
- data/vendor/libsodium/LICENSE +1 -1
- data/vendor/libsodium/Makefile.am +1 -0
- data/vendor/libsodium/Makefile.in +9 -0
- data/vendor/libsodium/README.markdown +7 -0
- data/vendor/libsodium/aclocal.m4 +1 -0
- data/vendor/libsodium/appveyor.yml +25 -0
- data/vendor/libsodium/autom4te.cache/output.1 +640 -126
- data/vendor/libsodium/autom4te.cache/output.6 +19049 -0
- data/vendor/libsodium/autom4te.cache/requests +1151 -914
- data/vendor/libsodium/autom4te.cache/traces.1 +472 -426
- data/vendor/libsodium/autom4te.cache/traces.6 +3193 -0
- data/vendor/libsodium/builds/msvc/version.h +2 -2
- data/vendor/libsodium/builds/msvc/vs2010/libsodium.sln +50 -79
- data/vendor/libsodium/builds/msvc/vs2010/libsodium/libsodium.vcxproj +20 -8
- data/vendor/libsodium/builds/msvc/vs2010/libsodium/libsodium.vcxproj.filters +208 -166
- data/vendor/libsodium/builds/msvc/vs2012/libsodium.sln +50 -79
- data/vendor/libsodium/builds/msvc/vs2012/libsodium/libsodium.vcxproj +20 -8
- data/vendor/libsodium/builds/msvc/vs2012/libsodium/libsodium.vcxproj.filters +206 -164
- data/vendor/libsodium/builds/msvc/vs2013/libsodium.sln +52 -81
- data/vendor/libsodium/builds/msvc/vs2013/libsodium/libsodium.vcxproj +20 -8
- data/vendor/libsodium/builds/msvc/vs2013/libsodium/libsodium.vcxproj.filters +206 -164
- data/vendor/libsodium/builds/msvc/vs2015/libsodium.sln +52 -81
- data/vendor/libsodium/builds/msvc/vs2015/libsodium/libsodium.vcxproj +20 -8
- data/vendor/libsodium/builds/msvc/vs2015/libsodium/libsodium.vcxproj.filters +206 -164
- data/vendor/libsodium/configure +639 -125
- data/vendor/libsodium/configure.ac +94 -16
- data/vendor/libsodium/dist-build/Makefile.in +9 -0
- data/vendor/libsodium/dist-build/emscripten-symbols.def +370 -0
- data/vendor/libsodium/dist-build/emscripten.sh +9 -3
- data/vendor/libsodium/dist-build/generate-emscripten-symbols.sh +43 -0
- data/vendor/libsodium/libsodium-uninstalled.pc.in +1 -1
- data/vendor/libsodium/libsodium.pc.in +1 -1
- data/vendor/libsodium/libsodium.vcxproj +70 -66
- data/vendor/libsodium/libsodium.vcxproj.filters +204 -192
- data/vendor/libsodium/m4/ax_valgrind_check.m4 +190 -0
- data/vendor/libsodium/msvc-scripts/Makefile.in +9 -0
- data/vendor/libsodium/msvc-scripts/process.bat +2 -2
- data/vendor/libsodium/src/Makefile.in +9 -0
- data/vendor/libsodium/src/libsodium/Makefile.am +31 -6
- data/vendor/libsodium/src/libsodium/Makefile.in +238 -42
- data/vendor/libsodium/src/libsodium/crypto_aead/aes256gcm/aesni/aead_aes256gcm_aesni.c +234 -38
- data/vendor/libsodium/src/libsodium/crypto_aead/chacha20poly1305/sodium/aead_chacha20poly1305.c +208 -118
- data/vendor/libsodium/src/libsodium/crypto_box/crypto_box_seal.c +2 -2
- data/vendor/libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/ref/before_curve25519xsalsa20poly1305.c +1 -4
- data/vendor/libsodium/src/libsodium/crypto_core/curve25519/ref10/curve25519_ref10.c +1799 -1790
- data/vendor/libsodium/src/libsodium/crypto_core/curve25519/ref10/curve25519_ref10.h +39 -39
- data/vendor/libsodium/src/libsodium/crypto_core/hchacha20/core_hchacha20.c +86 -0
- data/vendor/libsodium/src/libsodium/crypto_core/hchacha20/core_hchacha20.h +28 -0
- data/vendor/libsodium/src/libsodium/crypto_core/hsalsa20/ref2/core_hsalsa20.c +38 -46
- data/vendor/libsodium/src/libsodium/crypto_core/salsa20/ref/core_salsa20.c +47 -55
- data/vendor/libsodium/src/libsodium/crypto_core/salsa2012/ref/core_salsa2012.c +47 -55
- data/vendor/libsodium/src/libsodium/crypto_core/salsa208/ref/core_salsa208.c +47 -55
- data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/generichash_blake2_api.c +7 -0
- data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2-impl.h +0 -89
- data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2.h +50 -141
- data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-compress-avx2.c +45 -0
- data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-compress-avx2.h +123 -0
- data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-compress-ref.c +3 -2
- data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-compress-sse41.c +2 -2
- data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/{blake2b-round.h → blake2b-compress-sse41.h} +2 -28
- data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-compress-ssse3.c +2 -4
- data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-compress-ssse3.h +97 -0
- data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-load-avx2.h +339 -0
- data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-load-sse2.h +0 -2
- data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-load-sse41.h +0 -2
- data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-ref.c +29 -18
- data/vendor/libsodium/src/libsodium/crypto_hash/sha256/cp/hash_sha256.c +4 -43
- data/vendor/libsodium/src/libsodium/crypto_hash/sha512/cp/hash_sha512.c +3 -32
- data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna.h +1 -20
- data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna32.h +22 -41
- data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna64.h +12 -39
- data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/sse2/poly1305_sse2.c +2 -4
- data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/sse2/poly1305_sse2.h +1 -20
- data/vendor/libsodium/src/libsodium/crypto_pwhash/argon2/argon2-core.c +570 -0
- data/vendor/libsodium/src/libsodium/crypto_pwhash/argon2/argon2-core.h +198 -0
- data/vendor/libsodium/src/libsodium/crypto_pwhash/argon2/argon2-encoding.c +444 -0
- data/vendor/libsodium/src/libsodium/crypto_pwhash/argon2/argon2-encoding.h +32 -0
- data/vendor/libsodium/src/libsodium/crypto_pwhash/argon2/argon2-fill-block-ref.c +229 -0
- data/vendor/libsodium/src/libsodium/crypto_pwhash/argon2/argon2-fill-block-ssse3.c +222 -0
- data/vendor/libsodium/src/libsodium/crypto_pwhash/argon2/argon2-impl.h +40 -0
- data/vendor/libsodium/src/libsodium/crypto_pwhash/argon2/argon2.c +238 -0
- data/vendor/libsodium/src/libsodium/crypto_pwhash/argon2/argon2.h +251 -0
- data/vendor/libsodium/src/libsodium/crypto_pwhash/argon2/blake2b-long.c +80 -0
- data/vendor/libsodium/src/libsodium/crypto_pwhash/argon2/blake2b-long.h +8 -0
- data/vendor/libsodium/src/libsodium/crypto_pwhash/argon2/blamka-round-ref.h +38 -0
- data/vendor/libsodium/src/libsodium/crypto_pwhash/argon2/blamka-round-ssse3.h +117 -0
- data/vendor/libsodium/src/libsodium/crypto_pwhash/argon2/pwhash_argon2i.c +164 -0
- data/vendor/libsodium/src/libsodium/crypto_pwhash/crypto_pwhash.c +106 -0
- 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 +4 -4
- data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/nosse/pwhash_scryptsalsa208sha256_nosse.c +186 -186
- data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/pbkdf2-sha256.c +2 -2
- data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/pwhash_scryptsalsa208sha256.c +3 -2
- data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/scrypt_platform.c +33 -33
- data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/sse/pwhash_scryptsalsa208sha256_sse.c +253 -254
- data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/donna_c64/curve25519_donna_c64.c +16 -17
- data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/donna_c64/curve25519_donna_c64.h +1 -0
- data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/x25519_ref10.c +11 -11
- data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/x25519_ref10.h +1 -0
- data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/consts_namespace.h +1 -1
- data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/fe.h +3 -2
- data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/fe51.h +5 -3
- data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/fe51_invert.c +41 -41
- data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/fe51_mul.S +10 -2
- data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/fe51_namespace.h +1 -1
- data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/fe51_nsquare.S +4 -0
- data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/fe51_pack.S +4 -0
- data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/fe_frombytes_sandy2x.c +31 -32
- data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/ladder.S +4 -0
- data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/ladder.h +1 -1
- data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/ladder_base.S +4 -0
- data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/ladder_base.h +1 -1
- data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/ladder_base_namespace.h +1 -1
- data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/ladder_namespace.h +1 -1
- data/vendor/libsodium/src/libsodium/crypto_secretbox/crypto_secretbox_easy.c +2 -6
- data/vendor/libsodium/src/libsodium/crypto_shorthash/siphash24/ref/shorthash_siphash24.c +8 -28
- data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/open.c +75 -0
- data/vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/portable/afternm_aes128ctr.c +6 -6
- data/vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/portable/common.h +1 -18
- data/vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/portable/int128_aes128ctr.c +20 -20
- data/vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/portable/types.h +4 -4
- data/vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/portable/xor_afternm_aes128ctr.c +6 -6
- data/vendor/libsodium/src/libsodium/crypto_stream/chacha20/ref/stream_chacha20_ref.c +56 -77
- data/vendor/libsodium/src/libsodium/crypto_stream/chacha20/ref/stream_chacha20_ref.h +1 -0
- data/vendor/libsodium/src/libsodium/crypto_stream/chacha20/vec/stream_chacha20_vec.h +1 -0
- data/vendor/libsodium/src/libsodium/crypto_stream/salsa20/ref/stream_salsa20_ref.c +2 -8
- data/vendor/libsodium/src/libsodium/crypto_stream/salsa20/ref/xor_salsa20_ref.c +2 -8
- data/vendor/libsodium/src/libsodium/crypto_stream/salsa2012/ref/stream_salsa2012.c +2 -8
- data/vendor/libsodium/src/libsodium/crypto_stream/salsa2012/ref/xor_salsa2012.c +2 -8
- data/vendor/libsodium/src/libsodium/crypto_stream/salsa208/ref/stream_salsa208.c +2 -8
- data/vendor/libsodium/src/libsodium/crypto_stream/salsa208/ref/xor_salsa208.c +2 -8
- data/vendor/libsodium/src/libsodium/crypto_stream/xsalsa20/ref/stream_xsalsa20.c +1 -5
- data/vendor/libsodium/src/libsodium/crypto_stream/xsalsa20/ref/xor_xsalsa20.c +1 -5
- data/vendor/libsodium/src/libsodium/include/Makefile.am +3 -0
- data/vendor/libsodium/src/libsodium/include/Makefile.in +19 -8
- data/vendor/libsodium/src/libsodium/include/sodium.h +3 -0
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_aead_aes256gcm.h +50 -0
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_aead_chacha20poly1305.h +94 -22
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_box_curve25519xsalsa20poly1305.h +6 -6
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_core_hchacha20.h +35 -0
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_generichash_blake2b.h +3 -0
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_pwhash.h +89 -0
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_pwhash_argon2i.h +86 -0
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_secretbox_xsalsa20poly1305.h +6 -6
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_sign_edwards25519sha512batch.h +0 -11
- data/vendor/libsodium/src/libsodium/include/sodium/runtime.h +3 -0
- data/vendor/libsodium/src/libsodium/randombytes/randombytes.c +3 -0
- data/vendor/libsodium/src/libsodium/randombytes/salsa20/randombytes_salsa20_random.c +5 -1
- data/vendor/libsodium/src/libsodium/sodium/common.h +150 -0
- data/vendor/libsodium/src/libsodium/sodium/core.c +3 -1
- data/vendor/libsodium/src/libsodium/sodium/runtime.c +37 -19
- data/vendor/libsodium/src/libsodium/sodium/utils.c +18 -9
- data/vendor/libsodium/test/Makefile.in +9 -0
- data/vendor/libsodium/test/default/Makefile.am +10 -0
- data/vendor/libsodium/test/default/Makefile.in +53 -20
- data/vendor/libsodium/test/default/aead_aes256gcm.c +43 -17
- data/vendor/libsodium/test/default/aead_chacha20poly1305.c +179 -86
- data/vendor/libsodium/test/default/auth7.c +5 -5
- data/vendor/libsodium/test/default/box.c +4 -4
- data/vendor/libsodium/test/default/box2.c +1 -1
- data/vendor/libsodium/test/default/core6.c +1 -1
- data/vendor/libsodium/test/default/generichash.c +12 -1
- data/vendor/libsodium/test/default/generichash2.c +2 -2
- data/vendor/libsodium/test/default/generichash3.c +21 -0
- data/vendor/libsodium/test/default/pwhash.c +186 -168
- data/vendor/libsodium/test/default/pwhash.exp +11 -30
- data/vendor/libsodium/test/default/pwhash_scrypt.c +349 -0
- data/vendor/libsodium/test/default/pwhash_scrypt.exp +31 -0
- data/vendor/libsodium/test/default/secretbox.c +1 -1
- data/vendor/libsodium/test/default/secretbox2.c +1 -1
- data/vendor/libsodium/test/default/sign.c +15 -0
- data/vendor/libsodium/test/default/sodium_utils2.c +8 -3
- data/vendor/libsodium/test/default/sodium_utils3.c +4 -2
- data/vendor/libsodium/test/default/verify1.c +0 -4
- data/vendor/libsodium/test/quirks/quirks.h +3 -0
- metadata +37 -22
- data/vendor/libsodium/builds/msvc/vs2010/test/test.props +0 -43
- data/vendor/libsodium/builds/msvc/vs2010/test/test.runner.bat +0 -78
- data/vendor/libsodium/builds/msvc/vs2010/test/test.vcxproj +0 -244
- data/vendor/libsodium/builds/msvc/vs2010/test/test.vcxproj.filters +0 -192
- data/vendor/libsodium/builds/msvc/vs2012/test/test.props +0 -43
- data/vendor/libsodium/builds/msvc/vs2012/test/test.runner.bat +0 -78
- data/vendor/libsodium/builds/msvc/vs2012/test/test.vcxproj +0 -244
- data/vendor/libsodium/builds/msvc/vs2012/test/test.vcxproj.filters +0 -192
- data/vendor/libsodium/builds/msvc/vs2013/test/test.props +0 -43
- data/vendor/libsodium/builds/msvc/vs2013/test/test.runner.bat +0 -78
- data/vendor/libsodium/builds/msvc/vs2013/test/test.vcxproj +0 -244
- data/vendor/libsodium/builds/msvc/vs2013/test/test.vcxproj.filters +0 -192
- data/vendor/libsodium/builds/msvc/vs2015/test/test.props +0 -43
- data/vendor/libsodium/builds/msvc/vs2015/test/test.runner.bat +0 -78
- data/vendor/libsodium/builds/msvc/vs2015/test/test.vcxproj +0 -244
- data/vendor/libsodium/builds/msvc/vs2015/test/test.vcxproj.filters +0 -192
- data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/sysendian.h +0 -146
- data/vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/portable/common_aes128ctr.c +0 -64
@@ -12,8 +12,10 @@
|
|
12
12
|
# warning The sodium_utils2 test is expected to fail with address sanitizer
|
13
13
|
#endif
|
14
14
|
|
15
|
-
static void segv_handler(int sig)
|
15
|
+
__attribute__ ((noreturn)) static void segv_handler(int sig)
|
16
16
|
{
|
17
|
+
(void) sig;
|
18
|
+
|
17
19
|
printf("Intentional segfault / bus error caught\n");
|
18
20
|
printf("OK\n");
|
19
21
|
#ifdef SIGSEGV
|
@@ -37,6 +39,9 @@ int main(void)
|
|
37
39
|
if (sodium_malloc(SIZE_MAX - 1U) != NULL) {
|
38
40
|
return 1;
|
39
41
|
}
|
42
|
+
if (sodium_malloc(0U) == NULL) {
|
43
|
+
return 1;
|
44
|
+
}
|
40
45
|
if (sodium_allocarray(SIZE_MAX / 2U + 1U, SIZE_MAX / 2U) != NULL) {
|
41
46
|
return 1;
|
42
47
|
}
|
@@ -51,7 +56,7 @@ int main(void)
|
|
51
56
|
sodium_free(sodium_malloc(0U));
|
52
57
|
sodium_free(NULL);
|
53
58
|
for (i = 0U; i < 10000U; i++) {
|
54
|
-
size = randombytes_uniform(100000U);
|
59
|
+
size = 1U + randombytes_uniform(100000U);
|
55
60
|
buf = sodium_malloc(size);
|
56
61
|
assert(buf != NULL);
|
57
62
|
memset(buf, i, size);
|
@@ -69,7 +74,7 @@ int main(void)
|
|
69
74
|
#ifdef SIGABRT
|
70
75
|
signal(SIGABRT, segv_handler);
|
71
76
|
#endif
|
72
|
-
size = randombytes_uniform(100000U);
|
77
|
+
size = 1U + randombytes_uniform(100000U);
|
73
78
|
buf = sodium_malloc(size);
|
74
79
|
assert(buf != NULL);
|
75
80
|
sodium_mprotect_readonly(buf);
|
@@ -12,8 +12,10 @@
|
|
12
12
|
# warning The sodium_utils3 test is expected to fail with address sanitizer
|
13
13
|
#endif
|
14
14
|
|
15
|
-
static void segv_handler(int sig)
|
15
|
+
__attribute__ ((noreturn)) static void segv_handler(int sig)
|
16
16
|
{
|
17
|
+
(void) sig;
|
18
|
+
|
17
19
|
printf("Intentional segfault / bus error caught\n");
|
18
20
|
printf("OK\n");
|
19
21
|
#ifdef SIGSEGV
|
@@ -42,7 +44,7 @@ int main(void)
|
|
42
44
|
#ifdef SIGABRT
|
43
45
|
signal(SIGABRT, segv_handler);
|
44
46
|
#endif
|
45
|
-
size = randombytes_uniform(100000U);
|
47
|
+
size = 1U + randombytes_uniform(100000U);
|
46
48
|
buf = sodium_malloc(size);
|
47
49
|
assert(buf != NULL);
|
48
50
|
sodium_mprotect_noaccess(buf);
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbnacl-libsodium
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Artiom Di
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rbnacl
|
@@ -68,6 +68,7 @@ extra_rdoc_files: []
|
|
68
68
|
files:
|
69
69
|
- ".gitignore"
|
70
70
|
- ".gitmodules"
|
71
|
+
- ".travis.yml"
|
71
72
|
- CHANGES.md
|
72
73
|
- Gemfile
|
73
74
|
- LICENSE
|
@@ -86,6 +87,7 @@ files:
|
|
86
87
|
- vendor/libsodium/README.markdown
|
87
88
|
- vendor/libsodium/THANKS
|
88
89
|
- vendor/libsodium/aclocal.m4
|
90
|
+
- vendor/libsodium/appveyor.yml
|
89
91
|
- vendor/libsodium/autogen.sh
|
90
92
|
- vendor/libsodium/autom4te.cache/output.0
|
91
93
|
- vendor/libsodium/autom4te.cache/output.1
|
@@ -93,6 +95,7 @@ files:
|
|
93
95
|
- vendor/libsodium/autom4te.cache/output.3
|
94
96
|
- vendor/libsodium/autom4te.cache/output.4
|
95
97
|
- vendor/libsodium/autom4te.cache/output.5
|
98
|
+
- vendor/libsodium/autom4te.cache/output.6
|
96
99
|
- vendor/libsodium/autom4te.cache/requests
|
97
100
|
- vendor/libsodium/autom4te.cache/traces.0
|
98
101
|
- vendor/libsodium/autom4te.cache/traces.1
|
@@ -100,6 +103,7 @@ files:
|
|
100
103
|
- vendor/libsodium/autom4te.cache/traces.3
|
101
104
|
- vendor/libsodium/autom4te.cache/traces.4
|
102
105
|
- vendor/libsodium/autom4te.cache/traces.5
|
106
|
+
- vendor/libsodium/autom4te.cache/traces.6
|
103
107
|
- vendor/libsodium/build-aux/compile
|
104
108
|
- vendor/libsodium/build-aux/config.guess
|
105
109
|
- vendor/libsodium/build-aux/config.sub
|
@@ -143,10 +147,6 @@ files:
|
|
143
147
|
- vendor/libsodium/builds/msvc/vs2010/libsodium/libsodium.vcxproj
|
144
148
|
- vendor/libsodium/builds/msvc/vs2010/libsodium/libsodium.vcxproj.filters
|
145
149
|
- vendor/libsodium/builds/msvc/vs2010/libsodium/libsodium.xml
|
146
|
-
- vendor/libsodium/builds/msvc/vs2010/test/test.props
|
147
|
-
- vendor/libsodium/builds/msvc/vs2010/test/test.runner.bat
|
148
|
-
- vendor/libsodium/builds/msvc/vs2010/test/test.vcxproj
|
149
|
-
- vendor/libsodium/builds/msvc/vs2010/test/test.vcxproj.filters
|
150
150
|
- vendor/libsodium/builds/msvc/vs2012/libsodium.import.props
|
151
151
|
- vendor/libsodium/builds/msvc/vs2012/libsodium.import.xml
|
152
152
|
- vendor/libsodium/builds/msvc/vs2012/libsodium.sln
|
@@ -154,10 +154,6 @@ files:
|
|
154
154
|
- vendor/libsodium/builds/msvc/vs2012/libsodium/libsodium.vcxproj
|
155
155
|
- vendor/libsodium/builds/msvc/vs2012/libsodium/libsodium.vcxproj.filters
|
156
156
|
- vendor/libsodium/builds/msvc/vs2012/libsodium/libsodium.xml
|
157
|
-
- vendor/libsodium/builds/msvc/vs2012/test/test.props
|
158
|
-
- vendor/libsodium/builds/msvc/vs2012/test/test.runner.bat
|
159
|
-
- vendor/libsodium/builds/msvc/vs2012/test/test.vcxproj
|
160
|
-
- vendor/libsodium/builds/msvc/vs2012/test/test.vcxproj.filters
|
161
157
|
- vendor/libsodium/builds/msvc/vs2013/libsodium.import.props
|
162
158
|
- vendor/libsodium/builds/msvc/vs2013/libsodium.import.xml
|
163
159
|
- vendor/libsodium/builds/msvc/vs2013/libsodium.sln
|
@@ -165,10 +161,6 @@ files:
|
|
165
161
|
- vendor/libsodium/builds/msvc/vs2013/libsodium/libsodium.vcxproj
|
166
162
|
- vendor/libsodium/builds/msvc/vs2013/libsodium/libsodium.vcxproj.filters
|
167
163
|
- vendor/libsodium/builds/msvc/vs2013/libsodium/libsodium.xml
|
168
|
-
- vendor/libsodium/builds/msvc/vs2013/test/test.props
|
169
|
-
- vendor/libsodium/builds/msvc/vs2013/test/test.runner.bat
|
170
|
-
- vendor/libsodium/builds/msvc/vs2013/test/test.vcxproj
|
171
|
-
- vendor/libsodium/builds/msvc/vs2013/test/test.vcxproj.filters
|
172
164
|
- vendor/libsodium/builds/msvc/vs2015/libsodium.import.props
|
173
165
|
- vendor/libsodium/builds/msvc/vs2015/libsodium.import.xml
|
174
166
|
- vendor/libsodium/builds/msvc/vs2015/libsodium.sln
|
@@ -176,10 +168,6 @@ files:
|
|
176
168
|
- vendor/libsodium/builds/msvc/vs2015/libsodium/libsodium.vcxproj
|
177
169
|
- vendor/libsodium/builds/msvc/vs2015/libsodium/libsodium.vcxproj.filters
|
178
170
|
- vendor/libsodium/builds/msvc/vs2015/libsodium/libsodium.xml
|
179
|
-
- vendor/libsodium/builds/msvc/vs2015/test/test.props
|
180
|
-
- vendor/libsodium/builds/msvc/vs2015/test/test.runner.bat
|
181
|
-
- vendor/libsodium/builds/msvc/vs2015/test/test.vcxproj
|
182
|
-
- vendor/libsodium/builds/msvc/vs2015/test/test.vcxproj.filters
|
183
171
|
- vendor/libsodium/compile
|
184
172
|
- vendor/libsodium/config.guess
|
185
173
|
- vendor/libsodium/config.sub
|
@@ -196,7 +184,9 @@ files:
|
|
196
184
|
- vendor/libsodium/dist-build/android-mips64.sh
|
197
185
|
- vendor/libsodium/dist-build/android-x86-64.sh
|
198
186
|
- vendor/libsodium/dist-build/android-x86.sh
|
187
|
+
- vendor/libsodium/dist-build/emscripten-symbols.def
|
199
188
|
- vendor/libsodium/dist-build/emscripten.sh
|
189
|
+
- vendor/libsodium/dist-build/generate-emscripten-symbols.sh
|
200
190
|
- vendor/libsodium/dist-build/ios.sh
|
201
191
|
- vendor/libsodium/dist-build/msys2-win32.sh
|
202
192
|
- vendor/libsodium/dist-build/msys2-win64.sh
|
@@ -223,6 +213,7 @@ files:
|
|
223
213
|
- vendor/libsodium/m4/ax_check_define.m4
|
224
214
|
- vendor/libsodium/m4/ax_check_gnu_make.m4
|
225
215
|
- vendor/libsodium/m4/ax_check_link_flag.m4
|
216
|
+
- vendor/libsodium/m4/ax_valgrind_check.m4
|
226
217
|
- vendor/libsodium/m4/ld-output-def.m4
|
227
218
|
- vendor/libsodium/m4/libtool.m4
|
228
219
|
- vendor/libsodium/m4/ltoptions.m4
|
@@ -267,6 +258,8 @@ files:
|
|
267
258
|
- vendor/libsodium/src/libsodium/crypto_core/curve25519/ref10/base2.h
|
268
259
|
- vendor/libsodium/src/libsodium/crypto_core/curve25519/ref10/curve25519_ref10.c
|
269
260
|
- vendor/libsodium/src/libsodium/crypto_core/curve25519/ref10/curve25519_ref10.h
|
261
|
+
- vendor/libsodium/src/libsodium/crypto_core/hchacha20/core_hchacha20.c
|
262
|
+
- vendor/libsodium/src/libsodium/crypto_core/hchacha20/core_hchacha20.h
|
270
263
|
- vendor/libsodium/src/libsodium/crypto_core/hsalsa20/core_hsalsa20_api.c
|
271
264
|
- vendor/libsodium/src/libsodium/crypto_core/hsalsa20/ref2/core_hsalsa20.c
|
272
265
|
- vendor/libsodium/src/libsodium/crypto_core/salsa20/core_salsa20_api.c
|
@@ -278,13 +271,17 @@ files:
|
|
278
271
|
- vendor/libsodium/src/libsodium/crypto_generichash/blake2/generichash_blake2_api.c
|
279
272
|
- vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2-impl.h
|
280
273
|
- vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2.h
|
274
|
+
- vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-compress-avx2.c
|
275
|
+
- vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-compress-avx2.h
|
281
276
|
- vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-compress-ref.c
|
282
277
|
- vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-compress-sse41.c
|
278
|
+
- vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-compress-sse41.h
|
283
279
|
- vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-compress-ssse3.c
|
280
|
+
- vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-compress-ssse3.h
|
281
|
+
- vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-load-avx2.h
|
284
282
|
- vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-load-sse2.h
|
285
283
|
- vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-load-sse41.h
|
286
284
|
- vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-ref.c
|
287
|
-
- vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-round.h
|
288
285
|
- vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/generichash_blake2b.c
|
289
286
|
- vendor/libsodium/src/libsodium/crypto_generichash/crypto_generichash.c
|
290
287
|
- vendor/libsodium/src/libsodium/crypto_hash/crypto_hash.c
|
@@ -301,6 +298,21 @@ files:
|
|
301
298
|
- vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/onetimeauth_poly1305.h
|
302
299
|
- vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/sse2/poly1305_sse2.c
|
303
300
|
- vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/sse2/poly1305_sse2.h
|
301
|
+
- vendor/libsodium/src/libsodium/crypto_pwhash/argon2/argon2-core.c
|
302
|
+
- vendor/libsodium/src/libsodium/crypto_pwhash/argon2/argon2-core.h
|
303
|
+
- vendor/libsodium/src/libsodium/crypto_pwhash/argon2/argon2-encoding.c
|
304
|
+
- vendor/libsodium/src/libsodium/crypto_pwhash/argon2/argon2-encoding.h
|
305
|
+
- vendor/libsodium/src/libsodium/crypto_pwhash/argon2/argon2-fill-block-ref.c
|
306
|
+
- vendor/libsodium/src/libsodium/crypto_pwhash/argon2/argon2-fill-block-ssse3.c
|
307
|
+
- vendor/libsodium/src/libsodium/crypto_pwhash/argon2/argon2-impl.h
|
308
|
+
- vendor/libsodium/src/libsodium/crypto_pwhash/argon2/argon2.c
|
309
|
+
- vendor/libsodium/src/libsodium/crypto_pwhash/argon2/argon2.h
|
310
|
+
- vendor/libsodium/src/libsodium/crypto_pwhash/argon2/blake2b-long.c
|
311
|
+
- vendor/libsodium/src/libsodium/crypto_pwhash/argon2/blake2b-long.h
|
312
|
+
- vendor/libsodium/src/libsodium/crypto_pwhash/argon2/blamka-round-ref.h
|
313
|
+
- vendor/libsodium/src/libsodium/crypto_pwhash/argon2/blamka-round-ssse3.h
|
314
|
+
- vendor/libsodium/src/libsodium/crypto_pwhash/argon2/pwhash_argon2i.c
|
315
|
+
- vendor/libsodium/src/libsodium/crypto_pwhash/crypto_pwhash.c
|
304
316
|
- vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/crypto_scrypt-common.c
|
305
317
|
- vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/crypto_scrypt.h
|
306
318
|
- vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/nosse/pwhash_scryptsalsa208sha256_nosse.c
|
@@ -309,7 +321,6 @@ files:
|
|
309
321
|
- vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/pwhash_scryptsalsa208sha256.c
|
310
322
|
- vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/scrypt_platform.c
|
311
323
|
- vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/sse/pwhash_scryptsalsa208sha256_sse.c
|
312
|
-
- vendor/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/sysendian.h
|
313
324
|
- vendor/libsodium/src/libsodium/crypto_scalarmult/crypto_scalarmult.c
|
314
325
|
- vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/donna_c64/curve25519_donna_c64.c
|
315
326
|
- vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/donna_c64/curve25519_donna_c64.h
|
@@ -353,7 +364,6 @@ files:
|
|
353
364
|
- vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/portable/afternm_aes128ctr.c
|
354
365
|
- vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/portable/beforenm_aes128ctr.c
|
355
366
|
- vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/portable/common.h
|
356
|
-
- vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/portable/common_aes128ctr.c
|
357
367
|
- vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/portable/consts.h
|
358
368
|
- vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/portable/consts_aes128ctr.c
|
359
369
|
- vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/portable/int128.h
|
@@ -400,6 +410,7 @@ files:
|
|
400
410
|
- vendor/libsodium/src/libsodium/include/sodium/crypto_auth_hmacsha512256.h
|
401
411
|
- vendor/libsodium/src/libsodium/include/sodium/crypto_box.h
|
402
412
|
- vendor/libsodium/src/libsodium/include/sodium/crypto_box_curve25519xsalsa20poly1305.h
|
413
|
+
- vendor/libsodium/src/libsodium/include/sodium/crypto_core_hchacha20.h
|
403
414
|
- vendor/libsodium/src/libsodium/include/sodium/crypto_core_hsalsa20.h
|
404
415
|
- vendor/libsodium/src/libsodium/include/sodium/crypto_core_salsa20.h
|
405
416
|
- vendor/libsodium/src/libsodium/include/sodium/crypto_core_salsa2012.h
|
@@ -413,6 +424,8 @@ files:
|
|
413
424
|
- vendor/libsodium/src/libsodium/include/sodium/crypto_int64.h
|
414
425
|
- vendor/libsodium/src/libsodium/include/sodium/crypto_onetimeauth.h
|
415
426
|
- vendor/libsodium/src/libsodium/include/sodium/crypto_onetimeauth_poly1305.h
|
427
|
+
- vendor/libsodium/src/libsodium/include/sodium/crypto_pwhash.h
|
428
|
+
- vendor/libsodium/src/libsodium/include/sodium/crypto_pwhash_argon2i.h
|
416
429
|
- vendor/libsodium/src/libsodium/include/sodium/crypto_pwhash_scryptsalsa208sha256.h
|
417
430
|
- vendor/libsodium/src/libsodium/include/sodium/crypto_scalarmult.h
|
418
431
|
- vendor/libsodium/src/libsodium/include/sodium/crypto_scalarmult_curve25519.h
|
@@ -449,6 +462,7 @@ files:
|
|
449
462
|
- vendor/libsodium/src/libsodium/randombytes/randombytes.c
|
450
463
|
- vendor/libsodium/src/libsodium/randombytes/salsa20/randombytes_salsa20_random.c
|
451
464
|
- vendor/libsodium/src/libsodium/randombytes/sysrandom/randombytes_sysrandom.c
|
465
|
+
- vendor/libsodium/src/libsodium/sodium/common.h
|
452
466
|
- vendor/libsodium/src/libsodium/sodium/core.c
|
453
467
|
- vendor/libsodium/src/libsodium/sodium/runtime.c
|
454
468
|
- vendor/libsodium/src/libsodium/sodium/utils.c
|
@@ -529,6 +543,8 @@ files:
|
|
529
543
|
- vendor/libsodium/test/default/pre.js.inc
|
530
544
|
- vendor/libsodium/test/default/pwhash.c
|
531
545
|
- vendor/libsodium/test/default/pwhash.exp
|
546
|
+
- vendor/libsodium/test/default/pwhash_scrypt.c
|
547
|
+
- vendor/libsodium/test/default/pwhash_scrypt.exp
|
532
548
|
- vendor/libsodium/test/default/pwhash_scrypt_ll.c
|
533
549
|
- vendor/libsodium/test/default/pwhash_scrypt_ll.exp
|
534
550
|
- vendor/libsodium/test/default/randombytes.c
|
@@ -606,4 +622,3 @@ signing_key:
|
|
606
622
|
specification_version: 4
|
607
623
|
summary: rbnacl with bundled libsodium
|
608
624
|
test_files: []
|
609
|
-
has_rdoc:
|
@@ -1,43 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
2
|
-
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
3
|
-
|
4
|
-
<PropertyGroup Label="Globals">
|
5
|
-
<_PropertySheetDisplayName>Libsodium Test Common Settings</_PropertySheetDisplayName>
|
6
|
-
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
7
|
-
<RunCodeAnalysis>false</RunCodeAnalysis>
|
8
|
-
</PropertyGroup>
|
9
|
-
|
10
|
-
<!-- Configuration -->
|
11
|
-
|
12
|
-
<ItemDefinitionGroup>
|
13
|
-
<ClCompile>
|
14
|
-
<AdditionalIncludeDirectories>$(RepoRoot)test\default\;$(RepoRoot)test\quirks\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
15
|
-
<EnablePREfast>false</EnablePREfast>
|
16
|
-
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
17
|
-
<!--<PreprocessorDefinitions>NATIVE_LITTLE_ENDIAN;%(PreprocessorDefinitions)</PreprocessorDefinitions>-->
|
18
|
-
</ClCompile>
|
19
|
-
</ItemDefinitionGroup>
|
20
|
-
|
21
|
-
<!-- Dependencies -->
|
22
|
-
|
23
|
-
<ImportGroup Label="PropertySheets">
|
24
|
-
<Import Project="$(SolutionDir)libsodium.import.props" />
|
25
|
-
</ImportGroup>
|
26
|
-
|
27
|
-
<PropertyGroup Condition="'$(DefaultLinkage)' == 'dynamic'">
|
28
|
-
<Linkage-libsodium>dynamic</Linkage-libsodium>
|
29
|
-
</PropertyGroup>
|
30
|
-
<PropertyGroup Condition="'$(DefaultLinkage)' == 'ltcg'">
|
31
|
-
<Linkage-libsodium>ltcg</Linkage-libsodium>
|
32
|
-
</PropertyGroup>
|
33
|
-
<PropertyGroup Condition="'$(DefaultLinkage)' == 'static'">
|
34
|
-
<Linkage-libsodium>static</Linkage-libsodium>
|
35
|
-
</PropertyGroup>
|
36
|
-
|
37
|
-
<!-- Messages -->
|
38
|
-
|
39
|
-
<Target Name="LinkageInfo" BeforeTargets="PrepareForBuild">
|
40
|
-
<Message Text="Linkage-libsodium : $(Linkage-libsodium)" Importance="high"/>
|
41
|
-
</Target>
|
42
|
-
|
43
|
-
</Project>
|
@@ -1,78 +0,0 @@
|
|
1
|
-
REM WORK IN PROGRESS
|
2
|
-
|
3
|
-
@ECHO OFF
|
4
|
-
|
5
|
-
if "%1" == "" (
|
6
|
-
echo "Usage: wintest.bat <DebugDLL | ReleaseDLL | DebugLIB | ReleaseLIB | DebugLTCG | DebugLTCG"
|
7
|
-
goto :END
|
8
|
-
)
|
9
|
-
|
10
|
-
if "%2" == "x64" (SET ARCH=x64) else (SET ARCH=Win32)
|
11
|
-
SET CFLAGS=/nologo /DTEST_SRCDIR=\".\" /I..\..\src\libsodium\include\sodium /I..\..\src\libsodium\include /I..\quirks
|
12
|
-
SET LDFLAGS=/link /LTCG advapi32.lib ..\..\Build\%1\%ARCH%\libsodium.lib
|
13
|
-
|
14
|
-
if not "%3" == "" (
|
15
|
-
CD %3
|
16
|
-
)
|
17
|
-
|
18
|
-
if not exist sodium_version.c (
|
19
|
-
if not exist sodium_version.c (
|
20
|
-
echo "Are you on the right path?" %CD%
|
21
|
-
goto :END
|
22
|
-
)
|
23
|
-
)
|
24
|
-
|
25
|
-
if "%1" == "DebugDLL" ( goto :DebugDLL )
|
26
|
-
if "%1" == "ReleaseDLL" ( goto :ReleaseDLL )
|
27
|
-
|
28
|
-
if "%1" == "DebugLIB" ( goto :DebugLIB )
|
29
|
-
if "%1" == "ReleaseLIB" ( goto :ReleaseLIB )
|
30
|
-
|
31
|
-
if "%1" == "DebugLTCG" ( goto :DebugLTCG )
|
32
|
-
if "%1" == "ReleaseLTCG" ( goto :ReleaseLTCG )
|
33
|
-
|
34
|
-
echo "Invalid build type"
|
35
|
-
goto :END
|
36
|
-
|
37
|
-
:DebugDLL
|
38
|
-
SET CFLAGS=%CFLAGS% /GS /MDd /Od
|
39
|
-
SET PATH=..\..\Build\%1\%ARCH%;%PATH%
|
40
|
-
goto :COMPILE
|
41
|
-
:ReleaseDLL
|
42
|
-
SET CFLAGS=%CFLAGS% /MD /Ox
|
43
|
-
SET PATH=..\..\Build\%1\%ARCH%;%PATH%
|
44
|
-
goto :COMPILE
|
45
|
-
|
46
|
-
:DebugLIB
|
47
|
-
SET CFLAGS=%CFLAGS% /GS /MTd /Od /DSODIUM_STATIC
|
48
|
-
goto :COMPILE
|
49
|
-
:ReleaseLIB
|
50
|
-
SET CFLAGS=%CFLAGS% /MT /Ox /DSODIUM_STATIC
|
51
|
-
goto :COMPILE
|
52
|
-
|
53
|
-
:DebugLTCG
|
54
|
-
SET CFLAGS=%CFLAGS% /LTCG /GS /MTd /Od /DSODIUM_STATIC
|
55
|
-
goto :COMPILE
|
56
|
-
:ReleaseLTCG
|
57
|
-
SET CFLAGS=%CFLAGS% /LTCG /MT /Ox /DSODIUM_STATIC
|
58
|
-
goto :COMPILE
|
59
|
-
|
60
|
-
:COMPILE
|
61
|
-
echo Running the test suite:
|
62
|
-
FOR %%f in (*.c) DO (
|
63
|
-
cl %CFLAGS% %%f %LDFLAGS% /errorReport:prompt /OUT:%%f.exe > NUL 2>&1
|
64
|
-
if not exist %%f.exe (
|
65
|
-
echo %%f compile failed
|
66
|
-
goto :END
|
67
|
-
)
|
68
|
-
%%f.exe
|
69
|
-
if errorlevel 1 (
|
70
|
-
echo %%f failed
|
71
|
-
) else (
|
72
|
-
echo %%f ok
|
73
|
-
)
|
74
|
-
)
|
75
|
-
REM Remove temporary files
|
76
|
-
del *.exe *.obj *.res *.exp *.pdb
|
77
|
-
|
78
|
-
:END
|
@@ -1,244 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
2
|
-
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
3
|
-
<PropertyGroup Label="Globals">
|
4
|
-
<ProjectGuid>{4EDBA07C-2F08-4C9E-805F-A4921814C117}</ProjectGuid>
|
5
|
-
<ProjectName>test</ProjectName>
|
6
|
-
<PlatformToolset>v100</PlatformToolset>
|
7
|
-
<ConfigurationType>Application</ConfigurationType>
|
8
|
-
</PropertyGroup>
|
9
|
-
<ItemGroup Label="ProjectConfigurations">
|
10
|
-
<ProjectConfiguration Include="DebugDEXE|Win32">
|
11
|
-
<Configuration>DebugDEXE</Configuration>
|
12
|
-
<Platform>Win32</Platform>
|
13
|
-
</ProjectConfiguration>
|
14
|
-
<ProjectConfiguration Include="ReleaseDEXE|Win32">
|
15
|
-
<Configuration>ReleaseDEXE</Configuration>
|
16
|
-
<Platform>Win32</Platform>
|
17
|
-
</ProjectConfiguration>
|
18
|
-
<ProjectConfiguration Include="DebugDEXE|x64">
|
19
|
-
<Configuration>DebugDEXE</Configuration>
|
20
|
-
<Platform>x64</Platform>
|
21
|
-
</ProjectConfiguration>
|
22
|
-
<ProjectConfiguration Include="ReleaseDEXE|x64">
|
23
|
-
<Configuration>ReleaseDEXE</Configuration>
|
24
|
-
<Platform>x64</Platform>
|
25
|
-
</ProjectConfiguration>
|
26
|
-
<ProjectConfiguration Include="DebugLEXE|Win32">
|
27
|
-
<Configuration>DebugLEXE</Configuration>
|
28
|
-
<Platform>Win32</Platform>
|
29
|
-
</ProjectConfiguration>
|
30
|
-
<ProjectConfiguration Include="ReleaseLEXE|Win32">
|
31
|
-
<Configuration>ReleaseLEXE</Configuration>
|
32
|
-
<Platform>Win32</Platform>
|
33
|
-
</ProjectConfiguration>
|
34
|
-
<ProjectConfiguration Include="DebugLEXE|x64">
|
35
|
-
<Configuration>DebugLEXE</Configuration>
|
36
|
-
<Platform>x64</Platform>
|
37
|
-
</ProjectConfiguration>
|
38
|
-
<ProjectConfiguration Include="ReleaseLEXE|x64">
|
39
|
-
<Configuration>ReleaseLEXE</Configuration>
|
40
|
-
<Platform>x64</Platform>
|
41
|
-
</ProjectConfiguration>
|
42
|
-
<ProjectConfiguration Include="DebugSEXE|Win32">
|
43
|
-
<Configuration>DebugSEXE</Configuration>
|
44
|
-
<Platform>Win32</Platform>
|
45
|
-
</ProjectConfiguration>
|
46
|
-
<ProjectConfiguration Include="ReleaseSEXE|Win32">
|
47
|
-
<Configuration>ReleaseSEXE</Configuration>
|
48
|
-
<Platform>Win32</Platform>
|
49
|
-
</ProjectConfiguration>
|
50
|
-
<ProjectConfiguration Include="DebugSEXE|x64">
|
51
|
-
<Configuration>DebugSEXE</Configuration>
|
52
|
-
<Platform>x64</Platform>
|
53
|
-
</ProjectConfiguration>
|
54
|
-
<ProjectConfiguration Include="ReleaseSEXE|x64">
|
55
|
-
<Configuration>ReleaseSEXE</Configuration>
|
56
|
-
<Platform>x64</Platform>
|
57
|
-
</ProjectConfiguration>
|
58
|
-
</ItemGroup>
|
59
|
-
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
60
|
-
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
61
|
-
<ImportGroup Label="PropertySheets">
|
62
|
-
<Import Project="$(ProjectDir)..\..\properties\$(Configuration).props" />
|
63
|
-
<Import Project="$(ProjectDir)..\..\properties\Output.props" />
|
64
|
-
<Import Project="$(ProjectDir)$(ProjectName).props" />
|
65
|
-
</ImportGroup>
|
66
|
-
<ItemGroup>
|
67
|
-
<ClCompile Include="..\..\..\..\test\default\aead_aes256gcm.c">
|
68
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
69
|
-
</ClCompile>
|
70
|
-
<ClCompile Include="..\..\..\..\test\default\aead_chacha20poly1305.c">
|
71
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
72
|
-
</ClCompile>
|
73
|
-
<ClCompile Include="..\..\..\..\test\default\auth.c">
|
74
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
75
|
-
</ClCompile>
|
76
|
-
<ClCompile Include="..\..\..\..\test\default\auth2.c">
|
77
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
78
|
-
</ClCompile>
|
79
|
-
<ClCompile Include="..\..\..\..\test\default\auth3.c">
|
80
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
81
|
-
</ClCompile>
|
82
|
-
<ClCompile Include="..\..\..\..\test\default\auth5.c">
|
83
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
84
|
-
</ClCompile>
|
85
|
-
<ClCompile Include="..\..\..\..\test\default\auth6.c">
|
86
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
87
|
-
</ClCompile>
|
88
|
-
<ClCompile Include="..\..\..\..\test\default\auth7.c">
|
89
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
90
|
-
</ClCompile>
|
91
|
-
<ClCompile Include="..\..\..\..\test\default\box.c">
|
92
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
93
|
-
</ClCompile>
|
94
|
-
<ClCompile Include="..\..\..\..\test\default\box2.c">
|
95
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
96
|
-
</ClCompile>
|
97
|
-
<ClCompile Include="..\..\..\..\test\default\box7.c">
|
98
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
99
|
-
</ClCompile>
|
100
|
-
<ClCompile Include="..\..\..\..\test\default\box8.c">
|
101
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
102
|
-
</ClCompile>
|
103
|
-
<ClCompile Include="..\..\..\..\test\default\box_easy.c">
|
104
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
105
|
-
</ClCompile>
|
106
|
-
<ClCompile Include="..\..\..\..\test\default\box_easy2.c">
|
107
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
108
|
-
</ClCompile>
|
109
|
-
<ClCompile Include="..\..\..\..\test\default\box_seal.c">
|
110
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
111
|
-
</ClCompile>
|
112
|
-
<ClCompile Include="..\..\..\..\test\default\box_seed.c">
|
113
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
114
|
-
</ClCompile>
|
115
|
-
<ClCompile Include="..\..\..\..\test\default\core1.c">
|
116
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
117
|
-
</ClCompile>
|
118
|
-
<ClCompile Include="..\..\..\..\test\default\core2.c">
|
119
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
120
|
-
</ClCompile>
|
121
|
-
<ClCompile Include="..\..\..\..\test\default\core3.c">
|
122
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
123
|
-
</ClCompile>
|
124
|
-
<ClCompile Include="..\..\..\..\test\default\core4.c">
|
125
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
126
|
-
</ClCompile>
|
127
|
-
<ClCompile Include="..\..\..\..\test\default\core5.c">
|
128
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
129
|
-
</ClCompile>
|
130
|
-
<ClCompile Include="..\..\..\..\test\default\core6.c">
|
131
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
132
|
-
</ClCompile>
|
133
|
-
<ClCompile Include="..\..\..\..\test\default\ed25519_convert.c">
|
134
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
135
|
-
</ClCompile>
|
136
|
-
<ClCompile Include="..\..\..\..\test\default\generichash.c">
|
137
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
138
|
-
</ClCompile>
|
139
|
-
<ClCompile Include="..\..\..\..\test\default\generichash2.c">
|
140
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
141
|
-
</ClCompile>
|
142
|
-
<ClCompile Include="..\..\..\..\test\default\generichash3.c">
|
143
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
144
|
-
</ClCompile>
|
145
|
-
<ClCompile Include="..\..\..\..\test\default\hash.c">
|
146
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
147
|
-
</ClCompile>
|
148
|
-
<ClCompile Include="..\..\..\..\test\default\hash3.c">
|
149
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
150
|
-
</ClCompile>
|
151
|
-
<ClCompile Include="..\..\..\..\test\default\onetimeauth.c">
|
152
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
153
|
-
</ClCompile>
|
154
|
-
<ClCompile Include="..\..\..\..\test\default\onetimeauth2.c">
|
155
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
156
|
-
</ClCompile>
|
157
|
-
<ClCompile Include="..\..\..\..\test\default\onetimeauth7.c">
|
158
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
159
|
-
</ClCompile>
|
160
|
-
<ClCompile Include="..\..\..\..\test\default\pwhash.c">
|
161
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
162
|
-
</ClCompile>
|
163
|
-
<ClCompile Include="..\..\..\..\test\default\pwhash_scrypt_ll.c">
|
164
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
165
|
-
</ClCompile>
|
166
|
-
<ClCompile Include="..\..\..\..\test\default\randombytes.c">
|
167
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
168
|
-
</ClCompile>
|
169
|
-
<ClCompile Include="..\..\..\..\test\default\scalarmult.c">
|
170
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
171
|
-
</ClCompile>
|
172
|
-
<ClCompile Include="..\..\..\..\test\default\scalarmult2.c">
|
173
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
174
|
-
</ClCompile>
|
175
|
-
<ClCompile Include="..\..\..\..\test\default\scalarmult5.c">
|
176
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
177
|
-
</ClCompile>
|
178
|
-
<ClCompile Include="..\..\..\..\test\default\scalarmult6.c">
|
179
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
180
|
-
</ClCompile>
|
181
|
-
<ClCompile Include="..\..\..\..\test\default\scalarmult7.c">
|
182
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
183
|
-
</ClCompile>
|
184
|
-
<ClCompile Include="..\..\..\..\test\default\secretbox.c">
|
185
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
186
|
-
</ClCompile>
|
187
|
-
<ClCompile Include="..\..\..\..\test\default\secretbox2.c">
|
188
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
189
|
-
</ClCompile>
|
190
|
-
<ClCompile Include="..\..\..\..\test\default\secretbox7.c">
|
191
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
192
|
-
</ClCompile>
|
193
|
-
<ClCompile Include="..\..\..\..\test\default\secretbox8.c">
|
194
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
195
|
-
</ClCompile>
|
196
|
-
<ClCompile Include="..\..\..\..\test\default\secretbox_easy.c">
|
197
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
198
|
-
</ClCompile>
|
199
|
-
<ClCompile Include="..\..\..\..\test\default\secretbox_easy2.c">
|
200
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
201
|
-
</ClCompile>
|
202
|
-
<ClCompile Include="..\..\..\..\test\default\shorthash.c">
|
203
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
204
|
-
</ClCompile>
|
205
|
-
<ClCompile Include="..\..\..\..\test\default\sign.c">
|
206
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
207
|
-
</ClCompile>
|
208
|
-
<ClCompile Include="..\..\..\..\test\default\sodium_core.c">
|
209
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
210
|
-
</ClCompile>
|
211
|
-
<ClCompile Include="..\..\..\..\test\default\sodium_utils.c">
|
212
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
213
|
-
</ClCompile>
|
214
|
-
<ClCompile Include="..\..\..\..\test\default\sodium_utils2.c">
|
215
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
216
|
-
</ClCompile>
|
217
|
-
<ClCompile Include="..\..\..\..\test\default\sodium_utils3.c">
|
218
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
219
|
-
</ClCompile>
|
220
|
-
<ClCompile Include="..\..\..\..\test\default\sodium_version.c">
|
221
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
222
|
-
</ClCompile>
|
223
|
-
<ClCompile Include="..\..\..\..\test\default\stream.c">
|
224
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
225
|
-
</ClCompile>
|
226
|
-
<ClCompile Include="..\..\..\..\test\default\stream2.c">
|
227
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
228
|
-
</ClCompile>
|
229
|
-
<ClCompile Include="..\..\..\..\test\default\stream3.c">
|
230
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
231
|
-
</ClCompile>
|
232
|
-
<ClCompile Include="..\..\..\..\test\default\stream4.c">
|
233
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
234
|
-
</ClCompile>
|
235
|
-
<ClCompile Include="..\..\..\..\test\default\verify1.c">
|
236
|
-
<ExcludedFromBuild>true</ExcludedFromBuild>
|
237
|
-
</ClCompile>
|
238
|
-
</ItemGroup>
|
239
|
-
<ItemGroup>
|
240
|
-
<ClInclude Include="..\..\..\..\test\default\cmptest.h" />
|
241
|
-
<ClInclude Include="..\..\..\..\test\quirks\quirks.h" />
|
242
|
-
</ItemGroup>
|
243
|
-
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
244
|
-
</Project>
|