rbnacl-libsodium 0.4.5 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rbnacl/libsodium/version.rb +1 -1
- data/vendor/libsodium/AUTHORS +14 -9
- data/vendor/libsodium/ChangeLog +26 -0
- data/vendor/libsodium/LICENSE +1 -1
- data/vendor/libsodium/Makefile.am +1 -0
- data/vendor/libsodium/README.markdown +185 -46
- data/vendor/libsodium/THANKS +10 -0
- data/vendor/libsodium/builds/msvc/properties/Common.props +21 -0
- data/vendor/libsodium/builds/msvc/properties/DLL.props +16 -0
- data/vendor/libsodium/builds/msvc/properties/Debug.props +29 -0
- data/vendor/libsodium/builds/msvc/properties/DebugDEXE.props +21 -0
- data/vendor/libsodium/builds/msvc/properties/DebugDLL.props +20 -0
- data/vendor/libsodium/builds/msvc/properties/DebugLEXE.props +20 -0
- data/vendor/libsodium/builds/msvc/properties/DebugLIB.props +20 -0
- data/vendor/libsodium/builds/msvc/properties/DebugLTCG.props +19 -0
- data/vendor/libsodium/builds/msvc/properties/DebugSEXE.props +21 -0
- data/vendor/libsodium/builds/msvc/properties/EXE.props +17 -0
- data/vendor/libsodium/builds/msvc/properties/LIB.props +16 -0
- data/vendor/libsodium/builds/msvc/properties/LTCG.props +13 -0
- data/vendor/libsodium/builds/msvc/properties/Link.props +21 -0
- data/vendor/libsodium/builds/msvc/properties/Messages.props +15 -0
- data/vendor/libsodium/builds/msvc/properties/Output.props +30 -0
- data/vendor/libsodium/builds/msvc/properties/Release.props +41 -0
- data/vendor/libsodium/builds/msvc/properties/ReleaseDEXE.props +20 -0
- data/vendor/libsodium/builds/msvc/properties/ReleaseDLL.props +19 -0
- data/vendor/libsodium/builds/msvc/properties/ReleaseLEXE.props +20 -0
- data/vendor/libsodium/builds/msvc/properties/ReleaseLIB.props +19 -0
- data/vendor/libsodium/builds/msvc/properties/ReleaseLTCG.props +19 -0
- data/vendor/libsodium/builds/msvc/properties/ReleaseSEXE.props +20 -0
- data/vendor/libsodium/builds/msvc/properties/Win32.props +20 -0
- data/vendor/libsodium/builds/msvc/properties/x64.props +23 -0
- data/vendor/libsodium/builds/msvc/resource.h +0 -0
- data/vendor/libsodium/builds/msvc/resource.rc +0 -0
- data/vendor/libsodium/builds/msvc/version.h +29 -0
- data/vendor/libsodium/builds/msvc/vs2010/libsodium.import.props +52 -0
- data/vendor/libsodium/builds/msvc/vs2010/libsodium.import.xml +17 -0
- data/vendor/libsodium/builds/msvc/vs2010/libsodium.sln +79 -0
- data/vendor/libsodium/builds/msvc/vs2010/libsodium/libsodium.props +43 -0
- data/vendor/libsodium/builds/msvc/vs2010/libsodium/libsodium.vcxproj +345 -0
- data/vendor/libsodium/builds/msvc/vs2010/libsodium/libsodium.vcxproj.filters +1037 -0
- data/vendor/libsodium/builds/msvc/vs2010/libsodium/libsodium.xml +15 -0
- data/vendor/libsodium/builds/msvc/vs2010/test/test.props +37 -0
- data/vendor/libsodium/builds/msvc/vs2010/test/test.runner.bat +78 -0
- data/vendor/libsodium/builds/msvc/vs2010/test/test.vcxproj +220 -0
- data/vendor/libsodium/builds/msvc/vs2010/test/test.vcxproj.filters +168 -0
- data/vendor/libsodium/builds/msvc/vs2012/libsodium.import.props +52 -0
- data/vendor/libsodium/builds/msvc/vs2012/libsodium.import.xml +17 -0
- data/vendor/libsodium/builds/msvc/vs2012/libsodium.sln +79 -0
- data/vendor/libsodium/builds/msvc/vs2012/libsodium/libsodium.props +43 -0
- data/vendor/libsodium/builds/msvc/vs2012/libsodium/libsodium.vcxproj +345 -0
- data/vendor/libsodium/builds/msvc/vs2012/libsodium/libsodium.vcxproj.filters +1037 -0
- data/vendor/libsodium/builds/msvc/vs2012/libsodium/libsodium.xml +15 -0
- data/vendor/libsodium/builds/msvc/vs2012/test/test.props +37 -0
- data/vendor/libsodium/builds/msvc/vs2012/test/test.runner.bat +78 -0
- data/vendor/libsodium/builds/msvc/vs2012/test/test.vcxproj +220 -0
- data/vendor/libsodium/builds/msvc/vs2012/test/test.vcxproj.filters +168 -0
- data/vendor/libsodium/builds/msvc/vs2013/libsodium.import.props +52 -0
- data/vendor/libsodium/builds/msvc/vs2013/libsodium.import.xml +17 -0
- data/vendor/libsodium/builds/msvc/vs2013/libsodium.sln +81 -0
- data/vendor/libsodium/builds/msvc/vs2013/libsodium/libsodium.props +43 -0
- data/vendor/libsodium/builds/msvc/vs2013/libsodium/libsodium.vcxproj +345 -0
- data/vendor/libsodium/builds/msvc/vs2013/libsodium/libsodium.vcxproj.filters +1037 -0
- data/vendor/libsodium/builds/msvc/vs2013/libsodium/libsodium.xml +15 -0
- data/vendor/libsodium/builds/msvc/vs2013/test/test.props +37 -0
- data/vendor/libsodium/builds/msvc/vs2013/test/test.runner.bat +78 -0
- data/vendor/libsodium/builds/msvc/vs2013/test/test.vcxproj +220 -0
- data/vendor/libsodium/builds/msvc/vs2013/test/test.vcxproj.filters +168 -0
- data/vendor/libsodium/configure.ac +87 -68
- data/vendor/libsodium/dist-build/Makefile.am +10 -0
- data/vendor/libsodium/dist-build/android-arm.sh +3 -0
- data/vendor/libsodium/dist-build/android-armv7.sh +3 -0
- data/vendor/libsodium/dist-build/android-build.sh +37 -0
- data/vendor/libsodium/dist-build/android-mips.sh +3 -0
- data/vendor/libsodium/dist-build/android-x86.sh +3 -0
- data/vendor/libsodium/dist-build/emscripten.sh +13 -0
- data/vendor/libsodium/dist-build/{iphone.sh → ios.sh} +2 -2
- data/vendor/libsodium/dist-build/msys2-win32.sh +10 -0
- data/vendor/libsodium/dist-build/msys2-win64.sh +10 -0
- data/vendor/libsodium/libsodium.vcxproj +25 -13
- data/vendor/libsodium/libsodium.vcxproj.filters +60 -24
- data/vendor/libsodium/msvc-scripts/process.bat +3 -7
- data/vendor/libsodium/packaging/nuget/package.bat +13 -0
- data/vendor/libsodium/packaging/nuget/package.config +4 -0
- data/vendor/libsodium/packaging/nuget/package.gsl +255 -0
- data/vendor/libsodium/packaging/nuget/package.nuspec +93 -0
- data/vendor/libsodium/packaging/nuget/package.targets +128 -0
- data/vendor/libsodium/packaging/nuget/package.xml +22 -0
- data/vendor/libsodium/src/libsodium/Makefile.am +32 -20
- data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha256/auth_hmacsha256_api.c +0 -5
- data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha256/{ref → cp}/api.h +0 -1
- data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha256/cp/hmac_hmacsha256.c +110 -0
- data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha256/{ref → cp}/verify_hmacsha256.c +0 -0
- data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha512/auth_hmacsha512_api.c +11 -0
- data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha512/cp/api.h +9 -0
- data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha512/cp/hmac_hmacsha512.c +110 -0
- data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha512/cp/verify_hmacsha512.c +10 -0
- data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha512256/auth_hmacsha512256_api.c +0 -5
- data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha512256/{ref → cp}/api.h +0 -1
- data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha512256/cp/hmac_hmacsha512256.c +54 -0
- data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha512256/{ref → cp}/verify_hmacsha512256.c +2 -1
- data/vendor/libsodium/src/libsodium/crypto_box/crypto_box_easy.c +94 -0
- data/vendor/libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/box_curve25519xsalsa20poly1305_api.c +0 -5
- data/vendor/libsodium/src/libsodium/crypto_box/curve25519xsalsa20poly1305/ref/api.h +0 -1
- data/vendor/libsodium/src/libsodium/crypto_core/hsalsa20/core_hsalsa20_api.c +0 -5
- data/vendor/libsodium/src/libsodium/crypto_core/hsalsa20/ref2/api.h +0 -1
- data/vendor/libsodium/src/libsodium/crypto_core/salsa20/core_salsa20_api.c +0 -5
- data/vendor/libsodium/src/libsodium/crypto_core/salsa20/ref/api.h +0 -1
- data/vendor/libsodium/src/libsodium/crypto_core/salsa2012/core_salsa2012_api.c +0 -5
- data/vendor/libsodium/src/libsodium/crypto_core/salsa2012/ref/api.h +0 -1
- data/vendor/libsodium/src/libsodium/crypto_core/salsa208/core_salsa208_api.c +0 -5
- data/vendor/libsodium/src/libsodium/crypto_core/salsa208/ref/api.h +0 -1
- data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/generichash_blake2_api.c +15 -5
- data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/api.h +0 -2
- data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2.h +14 -6
- data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-ref.c +95 -0
- data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/generichash_blake2b.c +50 -3
- data/vendor/libsodium/src/libsodium/crypto_generichash/crypto_generichash.c +4 -10
- data/vendor/libsodium/src/libsodium/crypto_hash/crypto_hash.c +11 -0
- data/vendor/libsodium/src/libsodium/crypto_hash/sha256/{ref → cp}/api.h +3 -1
- data/vendor/libsodium/src/libsodium/crypto_hash/sha256/cp/hash_sha256.c +294 -0
- data/vendor/libsodium/src/libsodium/crypto_hash/sha256/hash_sha256_api.c +0 -5
- data/vendor/libsodium/src/libsodium/crypto_hash/sha512/{ref → cp}/api.h +3 -1
- data/vendor/libsodium/src/libsodium/crypto_hash/sha512/cp/hash_sha512.c +321 -0
- data/vendor/libsodium/src/libsodium/crypto_hash/sha512/hash_sha512_api.c +0 -5
- data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/auth_poly1305_donna.c +51 -127
- data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna.h +12 -0
- data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna32.h +221 -0
- data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna64.h +209 -0
- data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/onetimeauth_poly1305_api.c +0 -5
- data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/onetimeauth_poly1305_try.c +1 -140
- data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptxsalsa208sha256/crypto_scrypt-common.c +250 -0
- data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptxsalsa208sha256/crypto_scrypt.h +100 -0
- data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptxsalsa208sha256/nosse/pwhash_scryptxsalsa208sha256_nosse.c +302 -0
- data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptxsalsa208sha256/pbkdf2-sha256.c +94 -0
- data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptxsalsa208sha256/pbkdf2-sha256.h +45 -0
- data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptxsalsa208sha256/pwhash_scryptxsalsa208sha256.c +172 -0
- data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptxsalsa208sha256/scrypt_platform.c +96 -0
- data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptxsalsa208sha256/sse/pwhash_scryptxsalsa208sha256_sse.c +391 -0
- data/vendor/libsodium/src/libsodium/crypto_pwhash/scryptxsalsa208sha256/sysendian.h +146 -0
- data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/donna_c64/api.h +2 -2
- data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/donna_c64/smult_curve25519_donna_c64.c +39 -9
- data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref/api.h +2 -2
- data/vendor/libsodium/src/libsodium/crypto_secretbox/crypto_secretbox.c +6 -0
- data/vendor/libsodium/src/libsodium/crypto_secretbox/crypto_secretbox_easy.c +94 -0
- data/vendor/libsodium/src/libsodium/crypto_secretbox/xsalsa20poly1305/ref/api.h +0 -1
- data/vendor/libsodium/src/libsodium/crypto_secretbox/xsalsa20poly1305/secretbox_xsalsa20poly1305_api.c +3 -3
- data/vendor/libsodium/src/libsodium/crypto_shorthash/siphash24/ref/api.h +0 -1
- data/vendor/libsodium/src/libsodium/crypto_shorthash/siphash24/shorthash_siphash24_api.c +3 -3
- data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/api.h +0 -1
- data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_scalarmult_base.c +6 -0
- data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/keypair.c +5 -3
- data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/open.c +28 -18
- data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/sign.c +14 -9
- data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/sign_ed25519_api.c +0 -5
- data/vendor/libsodium/src/libsodium/crypto_sign/edwards25519sha512batch/ref/api.h +0 -1
- data/vendor/libsodium/src/libsodium/crypto_sign/edwards25519sha512batch/sign_edwards25519sha512batch_api.c +0 -5
- data/vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/portable/afternm_aes128ctr.c +21 -21
- data/vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/portable/api.h +0 -1
- data/vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/portable/int128.h +6 -0
- data/vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/portable/xor_afternm_aes128ctr.c +42 -42
- data/vendor/libsodium/src/libsodium/crypto_stream/aes128ctr/stream_aes128ctr_api.c +0 -5
- data/vendor/libsodium/src/libsodium/crypto_stream/aes256estream/hongjun/aes-table-be.h +4 -4
- data/vendor/libsodium/src/libsodium/crypto_stream/aes256estream/hongjun/aes-table-le.h +4 -4
- data/vendor/libsodium/src/libsodium/crypto_stream/aes256estream/hongjun/aes256-ctr.c +15 -14
- data/vendor/libsodium/src/libsodium/crypto_stream/aes256estream/hongjun/api.h +0 -1
- data/vendor/libsodium/src/libsodium/crypto_stream/aes256estream/hongjun/ecrypt-sync.h +1 -1
- data/vendor/libsodium/src/libsodium/crypto_stream/aes256estream/stream_aes256estream_api.c +0 -5
- data/vendor/libsodium/src/libsodium/crypto_stream/salsa20/amd64_xmm6/stream_salsa20_amd64_xmm6.S +153 -160
- data/vendor/libsodium/src/libsodium/crypto_stream/salsa20/ref/api.h +2 -5
- data/vendor/libsodium/src/libsodium/crypto_stream/salsa20/ref/stream_salsa20_ref.c +9 -3
- data/vendor/libsodium/src/libsodium/crypto_stream/salsa20/ref/xor_salsa20_ref.c +9 -3
- data/vendor/libsodium/src/libsodium/crypto_stream/salsa20/stream_salsa20_api.c +0 -5
- data/vendor/libsodium/src/libsodium/crypto_stream/salsa2012/ref/api.h +0 -1
- data/vendor/libsodium/src/libsodium/crypto_stream/salsa2012/stream_salsa2012_api.c +0 -5
- data/vendor/libsodium/src/libsodium/crypto_stream/salsa208/ref/api.h +0 -1
- data/vendor/libsodium/src/libsodium/crypto_stream/salsa208/stream_salsa208_api.c +0 -5
- data/vendor/libsodium/src/libsodium/crypto_stream/xsalsa20/ref/api.h +0 -1
- data/vendor/libsodium/src/libsodium/crypto_stream/xsalsa20/stream_xsalsa20_api.c +0 -5
- data/vendor/libsodium/src/libsodium/crypto_verify/64/ref/api.h +2 -0
- data/vendor/libsodium/src/libsodium/crypto_verify/64/ref/verify_64.c +72 -0
- data/vendor/libsodium/src/libsodium/crypto_verify/64/verify_64_api.c +6 -0
- data/vendor/libsodium/src/libsodium/include/Makefile.am +6 -7
- data/vendor/libsodium/src/libsodium/include/sodium.h +4 -3
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_auth.h +3 -0
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_auth_hmacsha256.h +31 -9
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_auth_hmacsha512.h +58 -0
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_auth_hmacsha512256.h +26 -9
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_box.h +13 -0
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_box_curve25519xsalsa20poly1305.h +38 -24
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_core_hsalsa20.h +6 -11
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_core_salsa20.h +6 -11
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_core_salsa2012.h +6 -11
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_core_salsa208.h +6 -11
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_generichash.h +7 -8
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_generichash_blake2b.h +36 -16
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_hash.h +13 -4
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_hash_sha256.h +25 -7
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_hash_sha512.h +25 -7
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_onetimeauth.h +3 -0
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_onetimeauth_poly1305.h +5 -5
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_onetimeauth_poly1305_donna.h +3 -0
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_pwhash_scryptxsalsa208sha256.h +48 -0
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_scalarmult_curve25519.h +31 -0
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_secretbox.h +17 -0
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_secretbox_xsalsa20poly1305.h +21 -11
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_shorthash.h +3 -0
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_shorthash_siphash24.h +8 -7
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_sign.h +3 -0
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_sign_ed25519.h +16 -17
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_sign_edwards25519sha512batch.h +18 -14
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_stream.h +3 -0
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_stream_aes128ctr.h +18 -18
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_stream_aes256estream.h +19 -18
- data/vendor/libsodium/src/libsodium/include/sodium/{crypto_stream_salsa20.h.in → crypto_stream_salsa20.h} +8 -19
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_stream_salsa2012.h +8 -8
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_stream_salsa208.h +8 -8
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_stream_xsalsa20.h +10 -11
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_verify_16.h +1 -4
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_verify_32.h +1 -4
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_verify_64.h +22 -0
- data/vendor/libsodium/src/libsodium/include/sodium/randombytes.h +3 -0
- data/vendor/libsodium/src/libsodium/include/sodium/runtime.h +27 -0
- data/vendor/libsodium/src/libsodium/include/sodium/utils.h +15 -3
- data/vendor/libsodium/src/libsodium/randombytes/randombytes.c +3 -1
- data/vendor/libsodium/src/libsodium/randombytes/salsa20/randombytes_salsa20_random.c +18 -7
- data/vendor/libsodium/src/libsodium/randombytes/sysrandom/randombytes_sysrandom.c +57 -9
- data/vendor/libsodium/src/libsodium/sodium/compat.c +62 -0
- data/vendor/libsodium/src/libsodium/sodium/core.c +2 -0
- data/vendor/libsodium/src/libsodium/sodium/runtime.c +134 -0
- data/vendor/libsodium/src/libsodium/sodium/utils.c +100 -8
- data/vendor/libsodium/test/default/Makefile.am +63 -3
- data/vendor/libsodium/test/default/auth6.c +21 -0
- data/vendor/libsodium/test/default/auth6.exp +8 -0
- data/vendor/libsodium/test/default/auth7.c +37 -0
- data/vendor/libsodium/test/default/auth7.exp +0 -0
- data/vendor/libsodium/test/default/box_easy.c +59 -0
- data/vendor/libsodium/test/default/box_easy.exp +19 -0
- data/vendor/libsodium/test/default/box_easy2.c +31 -0
- data/vendor/libsodium/test/default/box_easy2.exp +1 -0
- data/vendor/libsodium/test/default/cmptest.h +7 -1
- data/vendor/libsodium/test/default/generichash3.c +36 -0
- data/vendor/libsodium/test/default/generichash3.exp +64 -0
- data/vendor/libsodium/test/default/pwhash.c +59 -0
- data/vendor/libsodium/test/default/pwhash.exp +2 -0
- data/vendor/libsodium/test/default/scalarmult7.c +0 -2
- data/vendor/libsodium/test/default/scalarmult8.c +0 -2
- data/vendor/libsodium/test/default/secretbox_easy.c +51 -0
- data/vendor/libsodium/test/default/secretbox_easy.exp +19 -0
- data/vendor/libsodium/test/default/secretbox_easy2.c +27 -0
- data/vendor/libsodium/test/default/secretbox_easy2.exp +1 -0
- data/vendor/libsodium/test/default/sign.c +1106 -0
- data/vendor/libsodium/test/default/sign.exp +3 -0
- data/vendor/libsodium/test/default/sodium_utils.c +8 -0
- data/vendor/libsodium/test/default/sodium_utils.exp +2 -1
- data/vendor/libsodium/test/default/sodium_version.c +1 -1
- data/vendor/libsodium/test/default/verify1.c +34 -0
- data/vendor/libsodium/test/default/verify1.exp +6 -0
- metadata +138 -33
- data/vendor/libsodium/dist-build/android.sh +0 -48
- data/vendor/libsodium/dist-build/msys.sh +0 -9
- data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha256/ref/hmac_hmacsha256.c +0 -83
- data/vendor/libsodium/src/libsodium/crypto_auth/hmacsha512256/ref/hmac_hmacsha512256.c +0 -86
- data/vendor/libsodium/src/libsodium/crypto_hash/sha256/ref/hash_sha256.c +0 -69
- data/vendor/libsodium/src/libsodium/crypto_hash/sha512/ref/hash_sha512.c +0 -71
- data/vendor/libsodium/src/libsodium/crypto_hashblocks/sha256/checksum +0 -1
- data/vendor/libsodium/src/libsodium/crypto_hashblocks/sha256/hashblocks_sha256_api.c +0 -16
- data/vendor/libsodium/src/libsodium/crypto_hashblocks/sha256/ref/api.h +0 -9
- data/vendor/libsodium/src/libsodium/crypto_hashblocks/sha256/ref/blocks_sha256.c +0 -212
- data/vendor/libsodium/src/libsodium/crypto_hashblocks/sha512/checksum +0 -1
- data/vendor/libsodium/src/libsodium/crypto_hashblocks/sha512/hashblocks_sha512_api.c +0 -16
- data/vendor/libsodium/src/libsodium/crypto_hashblocks/sha512/ref/api.h +0 -9
- data/vendor/libsodium/src/libsodium/crypto_hashblocks/sha512/ref/blocks_sha512.c +0 -239
- data/vendor/libsodium/src/libsodium/crypto_hashblocks/try.c +0 -78
- data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/53/api.h +0 -8
- data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/53/auth_poly1305_53.c +0 -1661
- data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/53/verify_poly1305_53.c +0 -10
- data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/portable-jane.h +0 -772
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_hashblocks_sha256.h +0 -32
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_hashblocks_sha512.h +0 -32
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_onetimeauth_poly1305_53.h +0 -34
- data/vendor/libsodium/src/libsodium/include/sodium/crypto_scalarmult_curve25519.h.in +0 -44
@@ -1,5 +1,5 @@
|
|
1
1
|
AC_PREREQ([2.65])
|
2
|
-
AC_INIT([libsodium],[0.
|
2
|
+
AC_INIT([libsodium],[0.5.0],
|
3
3
|
[https://github.com/jedisct1/libsodium/issues],
|
4
4
|
[libsodium],
|
5
5
|
[https://github.com/jedisct1/libsodium])
|
@@ -15,21 +15,21 @@ AC_SUBST(VERSION)
|
|
15
15
|
ISODATE=`date +%Y-%m-%d`
|
16
16
|
AC_SUBST(ISODATE)
|
17
17
|
|
18
|
-
SODIUM_LIBRARY_VERSION_MAJOR=
|
19
|
-
SODIUM_LIBRARY_VERSION_MINOR=
|
20
|
-
DLL_VERSION=
|
21
|
-
SODIUM_LIBRARY_VERSION=
|
22
|
-
#
|
23
|
-
#
|
24
|
-
#
|
25
|
-
#
|
26
|
-
#
|
27
|
-
#
|
28
|
-
#
|
29
|
-
#
|
30
|
-
#
|
31
|
-
#
|
32
|
-
#
|
18
|
+
SODIUM_LIBRARY_VERSION_MAJOR=5
|
19
|
+
SODIUM_LIBRARY_VERSION_MINOR=0
|
20
|
+
DLL_VERSION=5
|
21
|
+
SODIUM_LIBRARY_VERSION=10:0:0
|
22
|
+
# | | |
|
23
|
+
# +------+ | +---+
|
24
|
+
# | | |
|
25
|
+
# current:revision:age
|
26
|
+
# | | |
|
27
|
+
# | | +- increment if interfaces have been added
|
28
|
+
# | | set to zero if interfaces have been removed
|
29
|
+
# | | or changed
|
30
|
+
# | +- increment if source code has changed
|
31
|
+
# | set to zero if current is incremented
|
32
|
+
# +- increment if interfaces have been added, removed or changed
|
33
33
|
AC_SUBST(SODIUM_LIBRARY_VERSION_MAJOR)
|
34
34
|
AC_SUBST(SODIUM_LIBRARY_VERSION_MINOR)
|
35
35
|
AC_SUBST(SODIUM_LIBRARY_VERSION)
|
@@ -119,7 +119,7 @@ AC_SUBST([MAINT])
|
|
119
119
|
|
120
120
|
dnl Checks
|
121
121
|
|
122
|
-
PKG_PROG_PKG_CONFIG([0.
|
122
|
+
PKG_PROG_PKG_CONFIG([0.23])
|
123
123
|
AM_CONDITIONAL([HAVE_PKG_CONFIG], [test "x$PKG_CONFIG" != "x"])
|
124
124
|
AC_SUBST(HAVE_PKG_CONFIG)
|
125
125
|
|
@@ -151,7 +151,16 @@ AX_CHECK_COMPILE_FLAG([-fwrapv], [CFLAGS="$CFLAGS -fwrapv"])
|
|
151
151
|
AX_CHECK_COMPILE_FLAG([-fno-strict-aliasing], [CFLAGS="$CFLAGS -fno-strict-aliasing"])
|
152
152
|
AX_CHECK_COMPILE_FLAG([-fno-strict-overflow], [CFLAGS="$CFLAGS -fno-strict-overflow"])
|
153
153
|
|
154
|
-
|
154
|
+
LIBTOOL_OLD_FLAGS="$LIBTOOL_EXTRA_FLAGS"
|
155
|
+
LIBTOOL_EXTRA_FLAGS="$LIBTOOL_EXTRA_FLAGS -version-info $SODIUM_LIBRARY_VERSION"
|
156
|
+
AC_ARG_ENABLE(soname-versions,
|
157
|
+
[AC_HELP_STRING([--enable-soname-versions], [enable soname versions (must be disabled for android) (default: enabled)])],
|
158
|
+
[
|
159
|
+
AS_IF([test "x$enableval" = "xno"], [
|
160
|
+
LIBTOOL_EXTRA_FLAGS="$LIBTOOL_OLD_FLAGS -avoid-version"
|
161
|
+
])
|
162
|
+
]
|
163
|
+
)
|
155
164
|
|
156
165
|
AS_CASE([$host_os],
|
157
166
|
[cygwin* | mingw* | pw32* | cegcc*], [
|
@@ -232,47 +241,40 @@ AC_ARG_VAR([AR], [path to the ar utility])
|
|
232
241
|
AC_CHECK_TOOL([AR], [ar], [ar])
|
233
242
|
|
234
243
|
dnl Checks for headers
|
235
|
-
AC_CHECK_HEADERS([emmintrin.h], [], [], [
|
236
|
-
#pragma GCC target("sse2")
|
237
|
-
])
|
238
244
|
|
239
|
-
|
240
|
-
#pragma GCC target("ssse3")
|
241
|
-
])
|
245
|
+
AS_IF([test "x$EMSCRIPTEN" = "x"],[
|
242
246
|
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
])
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
247
|
+
AC_MSG_CHECKING(for MMX instructions set)
|
248
|
+
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
249
|
+
#pragma GCC target("mmx")
|
250
|
+
#include <mmintrin.h>
|
251
|
+
]], [[ __m64 x = _mm_setzero_si64(); ]])],
|
252
|
+
[AC_MSG_RESULT(yes)
|
253
|
+
AC_DEFINE([HAVE_MMINTRIN_H], [1], [mmx is available])],
|
254
|
+
[AC_MSG_RESULT(no)])
|
255
|
+
|
256
|
+
AC_MSG_CHECKING(for SSE2 instructions set)
|
257
|
+
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
258
|
+
#pragma GCC target("sse2")
|
259
|
+
#include <emmintrin.h>
|
260
|
+
]], [[ __m128d x = _mm_setzero_pd(); ]])],
|
261
|
+
[AC_MSG_RESULT(yes)
|
262
|
+
AC_DEFINE([HAVE_EMMINTRIN_H], [1], [sse2 is available])],
|
263
|
+
[AC_MSG_RESULT(no)])
|
254
264
|
|
255
|
-
|
256
|
-
|
257
|
-
|
265
|
+
AC_MSG_CHECKING(for SSE3 instructions set)
|
266
|
+
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
267
|
+
#pragma GCC target("sse3")
|
268
|
+
#include <pmmintrin.h>
|
269
|
+
]], [[ __m128 x = _mm_addsub_ps(_mm_cvtpd_ps(_mm_setzero_pd()),
|
270
|
+
_mm_cvtpd_ps(_mm_setzero_pd())); ]])],
|
271
|
+
[AC_MSG_RESULT(yes)
|
272
|
+
AC_DEFINE([HAVE_PMMINTRIN_H], [1], [sse3 is available])],
|
273
|
+
[AC_MSG_RESULT(no)])
|
258
274
|
|
259
|
-
AC_CHECK_HEADERS([wmmintrin.h], [], [], [
|
260
|
-
#pragma GCC target("aes")
|
261
275
|
])
|
262
276
|
|
263
|
-
|
264
|
-
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
265
|
-
#include <fenv.h>
|
266
|
-
#pragma STDC FENV_ACCESS ON
|
267
|
-
]], [[
|
268
|
-
const int previous_rounding_mode = fegetround();
|
269
|
-
fesetround(FE_TONEAREST);
|
270
|
-
fesetround(previous_rounding_mode);
|
271
|
-
]])],
|
272
|
-
[AC_MSG_RESULT(yes)
|
273
|
-
AC_DEFINE([HAVE_FENV_H], [1], [floating-point rounding mode is accessible])
|
274
|
-
],
|
275
|
-
[AC_MSG_RESULT(no)])
|
277
|
+
AC_CHECK_HEADERS([sys/mman.h])
|
276
278
|
|
277
279
|
dnl Checks for typedefs, structures, and compiler characteristics.
|
278
280
|
|
@@ -281,7 +283,7 @@ AC_C_BIGENDIAN(
|
|
281
283
|
AC_DEFINE(NATIVE_BIG_ENDIAN, 1, [machine is bigendian]),
|
282
284
|
AC_DEFINE(NATIVE_LITTLE_ENDIAN, 1, [machine is littleendian]),
|
283
285
|
AC_MSG_ERROR([unknown endianess]),
|
284
|
-
|
286
|
+
AC_MSG_ERROR([universal endianess is not supported - compile separately and use lipo(1)])
|
285
287
|
)
|
286
288
|
|
287
289
|
AC_MSG_CHECKING(whether __STDC_LIMIT_MACROS is required)
|
@@ -344,18 +346,21 @@ void fcontract(uint128_t *t) {
|
|
344
346
|
AM_CONDITIONAL([HAVE_TI_MODE], [test $HAVE_TI_MODE_V = 1])
|
345
347
|
AC_SUBST(HAVE_TI_MODE_V)
|
346
348
|
|
347
|
-
AC_MSG_CHECKING(for cpuid instruction)
|
348
349
|
HAVE_CPUID_V=0
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
[
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
350
|
+
AS_IF([test "$enable_asm" != "no"],[
|
351
|
+
AC_MSG_CHECKING(for cpuid instruction)
|
352
|
+
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ ]], [[
|
353
|
+
unsigned int cpu_info[4];
|
354
|
+
__asm__ __volatile__ ("xchgl %%ebx, %k1; cpuid; xchgl %%ebx, %k1" :
|
355
|
+
"=a" (cpu_info[0]), "=&r" (cpu_info[1]),
|
356
|
+
"=c" (cpu_info[2]), "=d" (cpu_info[3]) :
|
357
|
+
"0" (0U), "2" (0U));
|
358
|
+
]])],
|
359
|
+
[AC_MSG_RESULT(yes)
|
360
|
+
AC_DEFINE([HAVE_CPUID], [1], [cpuid instruction is available])
|
361
|
+
HAVE_CPUID_V=1],
|
362
|
+
[AC_MSG_RESULT(no)])
|
363
|
+
])
|
359
364
|
AC_SUBST(HAVE_CPUID_V)
|
360
365
|
|
361
366
|
AS_CASE([$host_cpu],
|
@@ -366,12 +371,27 @@ AS_CASE([$host_cpu],
|
|
366
371
|
AC_DEFINE([CPU_ALIGNED_ACCESS_REQUIRED], [1], [data alignment is required])]
|
367
372
|
)
|
368
373
|
|
374
|
+
AC_MSG_CHECKING(for memset_s)
|
375
|
+
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
376
|
+
#include <string.h>
|
377
|
+
]], [[
|
378
|
+
char dummy[42];
|
379
|
+
(void) memset_s(dummy, (rsize_t) sizeof dummy, 0, (rsize_t) sizeof dummy);
|
380
|
+
]])],
|
381
|
+
[AC_MSG_RESULT(yes)
|
382
|
+
AC_DEFINE([HAVE_MEMSET_S], [1], [memset_s is available])],
|
383
|
+
[AC_MSG_RESULT(no)])
|
384
|
+
|
369
385
|
dnl Checks for functions and headers
|
370
386
|
|
371
387
|
AC_CHECK_FUNC(clock_gettime, , [AC_CHECK_LIB(rt, clock_gettime)])
|
372
388
|
AC_CHECK_FUNC(fegetenv, , [AC_CHECK_LIB(m, fegetenv)])
|
373
389
|
|
374
|
-
|
390
|
+
AS_IF([test "x$EMSCRIPTEN" = "x"],[
|
391
|
+
AC_CHECK_FUNCS([arc4random arc4random_buf])
|
392
|
+
])
|
393
|
+
AC_CHECK_FUNCS([mlock VirtualLock])
|
394
|
+
AC_CHECK_FUNCS([SecureZeroMemory explicit_bzero posix_memalign])
|
375
395
|
|
376
396
|
AC_SUBST([LIBTOOL_EXTRA_FLAGS])
|
377
397
|
|
@@ -392,13 +412,12 @@ AS_IF([test "x$PKG_CONFIG" != "x"], [
|
|
392
412
|
AC_CONFIG_FILES([libsodium.pc])
|
393
413
|
])
|
394
414
|
AC_CONFIG_FILES([Makefile
|
415
|
+
dist-build/Makefile
|
395
416
|
msvc-scripts/Makefile
|
396
417
|
src/Makefile
|
397
418
|
src/libsodium/Makefile
|
398
419
|
src/libsodium/include/Makefile
|
399
420
|
src/libsodium/include/sodium/version.h
|
400
|
-
src/libsodium/include/sodium/crypto_scalarmult_curve25519.h
|
401
|
-
src/libsodium/include/sodium/crypto_stream_salsa20.h
|
402
421
|
test/default/Makefile
|
403
422
|
test/Makefile
|
404
423
|
])
|
@@ -0,0 +1,37 @@
|
|
1
|
+
#!/bin/sh
|
2
|
+
|
3
|
+
if [ -z "$ANDROID_NDK_HOME" ]; then
|
4
|
+
echo "You should probably set ANDROID_NDK_HOME to the directory containing"
|
5
|
+
echo "the Android NDK"
|
6
|
+
exit
|
7
|
+
fi
|
8
|
+
|
9
|
+
if [ ! -f ./configure ]; then
|
10
|
+
echo "Can't find ./configure. Wrong directory or haven't run autogen.sh?"
|
11
|
+
exit 1
|
12
|
+
fi
|
13
|
+
|
14
|
+
if [ "x$TARGET_ARCH" = 'x' ] || [ "x$HOST_COMPILER" = 'x' ]; then
|
15
|
+
echo "You shouldn't use android-build.sh directly, use android-[arch].sh instead"
|
16
|
+
exit 1
|
17
|
+
fi
|
18
|
+
|
19
|
+
export MAKE_TOOLCHAIN="${ANDROID_NDK_HOME}/build/tools/make-standalone-toolchain.sh"
|
20
|
+
|
21
|
+
export PREFIX="$(pwd)/libsodium-android-${TARGET_ARCH}"
|
22
|
+
export TOOLCHAIN_DIR="$(pwd)/android-toolchain-${TARGET_ARCH}"
|
23
|
+
export PATH="${PATH}:${TOOLCHAIN_DIR}/bin"
|
24
|
+
|
25
|
+
# Clean up before build
|
26
|
+
rm -rf "${TOOLCHAIN_DIR}" "${PREFIX}"
|
27
|
+
|
28
|
+
$MAKE_TOOLCHAIN --platform="${NDK_PLATFORM:-android-14}" \
|
29
|
+
--arch="$TARGET_ARCH" \
|
30
|
+
--install-dir="$TOOLCHAIN_DIR" && \
|
31
|
+
./configure --host="${HOST_COMPILER}" \
|
32
|
+
--with-sysroot="${TOOLCHAIN_DIR}/sysroot" \
|
33
|
+
--prefix="${PREFIX}" \
|
34
|
+
--disable-soname-versions && \
|
35
|
+
make clean && \
|
36
|
+
make -j3 install && \
|
37
|
+
echo "libsodium has been installed into $PREFIX"
|
@@ -0,0 +1,13 @@
|
|
1
|
+
#! /bin/sh
|
2
|
+
|
3
|
+
export PREFIX="$(pwd)/libsodium-js"
|
4
|
+
export EXPORTED_FUNCTIONS='["_sodium_version_string"]'
|
5
|
+
export OPTFLAGS="--llvm-lto 3 -Oz"
|
6
|
+
export CFLAGS="$OPTFLAGS --pre-js=test/default/pre.js "
|
7
|
+
export LDFLAGS="-s EXPORTED_FUNCTIONS=${EXPORTED_FUNCTIONS}"
|
8
|
+
|
9
|
+
emconfigure ./configure --disable-shared --prefix="$PREFIX" && \
|
10
|
+
emmake make clean &&
|
11
|
+
emmake make install &&
|
12
|
+
emcc --closure 1 $OPTFLAGS $LDFLAGS \
|
13
|
+
"${PREFIX}/lib/libsodium.a" -o "${PREFIX}/lib/libsodium.js"
|
@@ -1,9 +1,9 @@
|
|
1
1
|
#! /bin/sh
|
2
2
|
|
3
|
-
export XCODEDIR
|
3
|
+
export XCODEDIR=$(xcode-select -p)
|
4
4
|
export BASEDIR="${XCODEDIR}/Platforms/iPhoneOS.platform/Developer"
|
5
5
|
export PATH="${BASEDIR}/usr/bin:$BASEDIR/usr/sbin:$PATH"
|
6
|
-
export SDK="${BASEDIR}/SDKs/iPhoneOS7.
|
6
|
+
export SDK="${BASEDIR}/SDKs/iPhoneOS7.1.sdk"
|
7
7
|
export CFLAGS="-Oz -mthumb -arch armv7 -isysroot ${SDK}"
|
8
8
|
export LDFLAGS="-mthumb -arch armv7 -isysroot ${SDK}"
|
9
9
|
export PREFIX="$(pwd)/libsodium-ios"
|
@@ -0,0 +1,10 @@
|
|
1
|
+
#! /bin/sh
|
2
|
+
|
3
|
+
export CFLAGS="-O3 -fomit-frame-pointer -m32 -march=pentium2 -mtune=nocona"
|
4
|
+
export PREFIX="$(pwd)/libsodium-win32"
|
5
|
+
|
6
|
+
./configure --prefix="$PREFIX" --exec-prefix="$PREFIX" \
|
7
|
+
--host=i686-w64-mingw32 && \
|
8
|
+
make && \
|
9
|
+
make check && \
|
10
|
+
make install
|
@@ -0,0 +1,10 @@
|
|
1
|
+
#! /bin/sh
|
2
|
+
|
3
|
+
export CFLAGS="-O3 -fomit-frame-pointer -m64 -march=pentium2 -mtune=nocona"
|
4
|
+
export PREFIX="$(pwd)/libsodium-win64"
|
5
|
+
|
6
|
+
./configure --prefix="$PREFIX" --exec-prefix="$PREFIX" \
|
7
|
+
--host=x86_64-w64-mingw32 && \
|
8
|
+
make && \
|
9
|
+
make check && \
|
10
|
+
make install
|
@@ -318,6 +318,7 @@
|
|
318
318
|
<ClInclude Include="src\libsodium\include\sodium\core.h" />
|
319
319
|
<ClInclude Include="src\libsodium\include\sodium\crypto_auth.h" />
|
320
320
|
<ClInclude Include="src\libsodium\include\sodium\crypto_auth_hmacsha256.h" />
|
321
|
+
<ClInclude Include="src\libsodium\include\sodium\crypto_auth_hmacsha512.h" />
|
321
322
|
<ClInclude Include="src\libsodium\include\sodium\crypto_auth_hmacsha512256.h" />
|
322
323
|
<ClInclude Include="src\libsodium\include\sodium\crypto_box.h" />
|
323
324
|
<ClInclude Include="src\libsodium\include\sodium\crypto_box_curve25519xsalsa20poly1305.h" />
|
@@ -328,8 +329,6 @@
|
|
328
329
|
<ClInclude Include="src\libsodium\include\sodium\crypto_generichash.h" />
|
329
330
|
<ClInclude Include="src\libsodium\include\sodium\crypto_generichash_blake2b.h" />
|
330
331
|
<ClInclude Include="src\libsodium\include\sodium\crypto_hash.h" />
|
331
|
-
<ClInclude Include="src\libsodium\include\sodium\crypto_hashblocks_sha256.h" />
|
332
|
-
<ClInclude Include="src\libsodium\include\sodium\crypto_hashblocks_sha512.h" />
|
333
332
|
<ClInclude Include="src\libsodium\include\sodium\crypto_hash_sha256.h" />
|
334
333
|
<ClInclude Include="src\libsodium\include\sodium\crypto_hash_sha512.h" />
|
335
334
|
<ClInclude Include="src\libsodium\include\sodium\crypto_int32.h" />
|
@@ -337,6 +336,7 @@
|
|
337
336
|
<ClInclude Include="src\libsodium\include\sodium\crypto_onetimeauth.h" />
|
338
337
|
<ClInclude Include="src\libsodium\include\sodium\crypto_onetimeauth_poly1305.h" />
|
339
338
|
<ClInclude Include="src\libsodium\include\sodium\crypto_onetimeauth_poly1305_donna.h" />
|
339
|
+
<ClInclude Include="src\libsodium\include\sodium\crypto_pwhash_scryptxsalsa208sha256.h" />
|
340
340
|
<ClInclude Include="src\libsodium\include\sodium\crypto_scalarmult.h" />
|
341
341
|
<ClInclude Include="src\libsodium\include\sodium\crypto_scalarmult_curve25519.h" />
|
342
342
|
<ClInclude Include="src\libsodium\include\sodium\crypto_secretbox.h" />
|
@@ -359,10 +359,12 @@
|
|
359
359
|
<ClInclude Include="src\libsodium\include\sodium\crypto_uint8.h" />
|
360
360
|
<ClInclude Include="src\libsodium\include\sodium\crypto_verify_16.h" />
|
361
361
|
<ClInclude Include="src\libsodium\include\sodium\crypto_verify_32.h" />
|
362
|
+
<ClInclude Include="src\libsodium\include\sodium\crypto_verify_64.h" />
|
362
363
|
<ClInclude Include="src\libsodium\include\sodium\export.h" />
|
363
364
|
<ClInclude Include="src\libsodium\include\sodium\randombytes.h" />
|
364
365
|
<ClInclude Include="src\libsodium\include\sodium\randombytes_salsa20_random.h" />
|
365
366
|
<ClInclude Include="src\libsodium\include\sodium\randombytes_sysrandom.h" />
|
367
|
+
<ClInclude Include="src\libsodium\include\sodium\runtime.h" />
|
366
368
|
<ClInclude Include="src\libsodium\include\sodium\utils.h" />
|
367
369
|
<ClInclude Include="src\libsodium\include\sodium\version.h" />
|
368
370
|
</ItemGroup>
|
@@ -373,12 +375,16 @@
|
|
373
375
|
<ItemGroup>
|
374
376
|
<ClCompile Include="src\libsodium\crypto_auth\crypto_auth.c" />
|
375
377
|
<ClCompile Include="src\libsodium\crypto_auth\hmacsha256\auth_hmacsha256_api.c" />
|
376
|
-
<ClCompile Include="src\libsodium\crypto_auth\hmacsha256\
|
377
|
-
<ClCompile Include="src\libsodium\crypto_auth\hmacsha256\
|
378
|
+
<ClCompile Include="src\libsodium\crypto_auth\hmacsha256\cp\hmac_hmacsha256.c" />
|
379
|
+
<ClCompile Include="src\libsodium\crypto_auth\hmacsha256\cp\verify_hmacsha256.c" />
|
380
|
+
<ClCompile Include="src\libsodium\crypto_auth\hmacsha512\auth_hmacsha512_api.c" />
|
381
|
+
<ClCompile Include="src\libsodium\crypto_auth\hmacsha512\cp\hmac_hmacsha512.c" />
|
382
|
+
<ClCompile Include="src\libsodium\crypto_auth\hmacsha512\cp\verify_hmacsha512.c" />
|
378
383
|
<ClCompile Include="src\libsodium\crypto_auth\hmacsha512256\auth_hmacsha512256_api.c" />
|
379
|
-
<ClCompile Include="src\libsodium\crypto_auth\hmacsha512256\
|
380
|
-
<ClCompile Include="src\libsodium\crypto_auth\hmacsha512256\
|
384
|
+
<ClCompile Include="src\libsodium\crypto_auth\hmacsha512256\cp\hmac_hmacsha512256.c" />
|
385
|
+
<ClCompile Include="src\libsodium\crypto_auth\hmacsha512256\cp\verify_hmacsha512256.c" />
|
381
386
|
<ClCompile Include="src\libsodium\crypto_box\crypto_box.c" />
|
387
|
+
<ClCompile Include="src\libsodium\crypto_box\crypto_box_easy.c" />
|
382
388
|
<ClCompile Include="src\libsodium\crypto_box\curve25519xsalsa20poly1305\box_curve25519xsalsa20poly1305_api.c" />
|
383
389
|
<ClCompile Include="src\libsodium\crypto_box\curve25519xsalsa20poly1305\ref\after_curve25519xsalsa20poly1305.c" />
|
384
390
|
<ClCompile Include="src\libsodium\crypto_box\curve25519xsalsa20poly1305\ref\before_curve25519xsalsa20poly1305.c" />
|
@@ -396,26 +402,29 @@
|
|
396
402
|
<ClCompile Include="src\libsodium\crypto_generichash\blake2\ref\blake2b-ref.c" />
|
397
403
|
<ClCompile Include="src\libsodium\crypto_generichash\blake2\ref\generichash_blake2b.c" />
|
398
404
|
<ClCompile Include="src\libsodium\crypto_generichash\crypto_generichash.c" />
|
399
|
-
<ClCompile Include="src\libsodium\crypto_hashblocks\sha256\hashblocks_sha256_api.c" />
|
400
|
-
<ClCompile Include="src\libsodium\crypto_hashblocks\sha256\ref\blocks_sha256.c" />
|
401
|
-
<ClCompile Include="src\libsodium\crypto_hashblocks\sha512\hashblocks_sha512_api.c" />
|
402
|
-
<ClCompile Include="src\libsodium\crypto_hashblocks\sha512\ref\blocks_sha512.c" />
|
403
405
|
<ClCompile Include="src\libsodium\crypto_hash\crypto_hash.c" />
|
404
406
|
<ClCompile Include="src\libsodium\crypto_hash\sha256\hash_sha256_api.c" />
|
405
|
-
<ClCompile Include="src\libsodium\crypto_hash\sha256\
|
407
|
+
<ClCompile Include="src\libsodium\crypto_hash\sha256\cp\hash_sha256.c" />
|
406
408
|
<ClCompile Include="src\libsodium\crypto_hash\sha512\hash_sha512_api.c" />
|
407
|
-
<ClCompile Include="src\libsodium\crypto_hash\sha512\
|
409
|
+
<ClCompile Include="src\libsodium\crypto_hash\sha512\cp\hash_sha512.c" />
|
408
410
|
<ClCompile Include="src\libsodium\crypto_onetimeauth\crypto_onetimeauth.c" />
|
409
411
|
<ClCompile Include="src\libsodium\crypto_onetimeauth\poly1305\donna\auth_poly1305_donna.c" />
|
410
412
|
<ClCompile Include="src\libsodium\crypto_onetimeauth\poly1305\donna\verify_poly1305_donna.c" />
|
411
413
|
<ClCompile Include="src\libsodium\crypto_onetimeauth\poly1305\onetimeauth_poly1305.c" />
|
412
414
|
<ClCompile Include="src\libsodium\crypto_onetimeauth\poly1305\onetimeauth_poly1305_api.c" />
|
413
415
|
<ClCompile Include="src\libsodium\crypto_onetimeauth\poly1305\onetimeauth_poly1305_try.c" />
|
416
|
+
<ClCompile Include="src\libsodium\crypto_pwhash\scryptxsalsa208sha256\crypto_scrypt-common.c" />
|
417
|
+
<ClCompile Include="src\libsodium\crypto_pwhash\scryptxsalsa208sha256\nosse\pwhash_scryptxsalsa208sha256_nosse.c" />
|
418
|
+
<ClCompile Include="src\libsodium\crypto_pwhash\scryptxsalsa208sha256\pbkdf2-sha256.c" />
|
419
|
+
<ClCompile Include="src\libsodium\crypto_pwhash\scryptxsalsa208sha256\pwhash_scryptxsalsa208sha256.c" />
|
420
|
+
<ClCompile Include="src\libsodium\crypto_pwhash\scryptxsalsa208sha256\scrypt_platform.c" />
|
421
|
+
<ClCompile Include="src\libsodium\crypto_pwhash\scryptxsalsa208sha256\sse\pwhash_scryptxsalsa208sha256_sse.c" />
|
414
422
|
<ClCompile Include="src\libsodium\crypto_scalarmult\crypto_scalarmult.c" />
|
415
423
|
<ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\ref\base_curve25519_ref.c" />
|
416
424
|
<ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\ref\smult_curve25519_ref.c" />
|
417
425
|
<ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\scalarmult_curve25519_api.c" />
|
418
426
|
<ClCompile Include="src\libsodium\crypto_secretbox\crypto_secretbox.c" />
|
427
|
+
<ClCompile Include="src\libsodium\crypto_secretbox\crypto_secretbox_easy.c" />
|
419
428
|
<ClCompile Include="src\libsodium\crypto_secretbox\xsalsa20poly1305\ref\box_xsalsa20poly1305.c" />
|
420
429
|
<ClCompile Include="src\libsodium\crypto_secretbox\xsalsa20poly1305\secretbox_xsalsa20poly1305_api.c" />
|
421
430
|
<ClCompile Include="src\libsodium\crypto_shorthash\crypto_shorthash.c" />
|
@@ -494,15 +503,18 @@
|
|
494
503
|
<ClCompile Include="src\libsodium\crypto_verify\16\verify_16_api.c" />
|
495
504
|
<ClCompile Include="src\libsodium\crypto_verify\32\ref\verify_32.c" />
|
496
505
|
<ClCompile Include="src\libsodium\crypto_verify\32\verify_32_api.c" />
|
506
|
+
<ClCompile Include="src\libsodium\crypto_verify\64\ref\verify_64.c" />
|
507
|
+
<ClCompile Include="src\libsodium\crypto_verify\64\verify_64_api.c" />
|
497
508
|
<ClCompile Include="src\libsodium\randombytes\randombytes.c" />
|
498
509
|
<ClCompile Include="src\libsodium\randombytes\salsa20\randombytes_salsa20_random.c" />
|
499
510
|
<ClCompile Include="src\libsodium\randombytes\sysrandom\randombytes_sysrandom.c" />
|
500
511
|
<ClCompile Include="src\libsodium\sodium\compat.c" />
|
501
512
|
<ClCompile Include="src\libsodium\sodium\core.c" />
|
513
|
+
<ClCompile Include="src\libsodium\sodium\runtime.c" />
|
502
514
|
<ClCompile Include="src\libsodium\sodium\utils.c" />
|
503
515
|
<ClCompile Include="src\libsodium\sodium\version.c" />
|
504
516
|
</ItemGroup>
|
505
517
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
506
518
|
<ImportGroup Label="ExtensionTargets">
|
507
519
|
</ImportGroup>
|
508
|
-
</Project>
|
520
|
+
</Project>
|