rbnacl-libsodium 1.0.7 → 1.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (132) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.md +4 -0
  3. data/lib/rbnacl/libsodium/version.rb +1 -1
  4. data/vendor/libsodium/ChangeLog +5 -0
  5. data/vendor/libsodium/README.markdown +4 -1
  6. data/vendor/libsodium/autogen.sh +0 -5
  7. data/vendor/libsodium/autom4te.cache/output.1 +14 -14
  8. data/vendor/libsodium/autom4te.cache/output.5 +14 -14
  9. data/vendor/libsodium/autom4te.cache/requests +868 -868
  10. data/vendor/libsodium/autom4te.cache/traces.1 +1 -1
  11. data/vendor/libsodium/builds/msvc/version.h +2 -2
  12. data/vendor/libsodium/builds/msvc/vs2010/libsodium/libsodium.vcxproj +10 -72
  13. data/vendor/libsodium/builds/msvc/vs2010/libsodium/libsodium.vcxproj.filters +36 -216
  14. data/vendor/libsodium/builds/msvc/vs2012/libsodium/libsodium.vcxproj +10 -72
  15. data/vendor/libsodium/builds/msvc/vs2012/libsodium/libsodium.vcxproj.filters +34 -214
  16. data/vendor/libsodium/builds/msvc/vs2013/libsodium/libsodium.vcxproj +10 -72
  17. data/vendor/libsodium/builds/msvc/vs2013/libsodium/libsodium.vcxproj.filters +34 -214
  18. data/vendor/libsodium/builds/msvc/vs2015/libsodium/libsodium.vcxproj +10 -72
  19. data/vendor/libsodium/builds/msvc/vs2015/libsodium/libsodium.vcxproj.filters +25 -205
  20. data/vendor/libsodium/configure +14 -14
  21. data/vendor/libsodium/configure.ac +5 -5
  22. data/vendor/libsodium/dist-build/msys2-win32.sh +3 -2
  23. data/vendor/libsodium/dist-build/msys2-win64.sh +3 -2
  24. data/vendor/libsodium/examples/sign.c +2 -2
  25. data/vendor/libsodium/examples/utils.h +3 -1
  26. data/vendor/libsodium/libsodium.vcxproj +7 -53
  27. data/vendor/libsodium/libsodium.vcxproj.filters +18 -152
  28. data/vendor/libsodium/msvc-scripts/process.bat +2 -2
  29. data/vendor/libsodium/src/libsodium/Makefile.am +6 -68
  30. data/vendor/libsodium/src/libsodium/Makefile.in +49 -724
  31. data/vendor/libsodium/src/libsodium/crypto_aead/aes256gcm/aesni/aead_aes256gcm_aesni.c +2 -2
  32. data/vendor/libsodium/src/libsodium/{crypto_sign/ed25519 → crypto_core/curve25519}/ref10/base.h +0 -0
  33. data/vendor/libsodium/src/libsodium/{crypto_sign/ed25519 → crypto_core/curve25519}/ref10/base2.h +0 -0
  34. data/vendor/libsodium/src/libsodium/crypto_core/curve25519/ref10/curve25519_ref10.c +2233 -0
  35. data/vendor/libsodium/src/libsodium/crypto_core/curve25519/ref10/curve25519_ref10.h +160 -0
  36. data/vendor/libsodium/src/libsodium/crypto_generichash/blake2/ref/blake2b-ref.c +2 -2
  37. data/vendor/libsodium/src/libsodium/crypto_hash/sha256/cp/hash_sha256.c +1 -1
  38. data/vendor/libsodium/src/libsodium/crypto_hash/sha512/cp/hash_sha512.c +1 -1
  39. data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna32.h +1 -1
  40. data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/poly1305_donna64.h +2 -2
  41. data/vendor/libsodium/src/libsodium/crypto_onetimeauth/poly1305/sse2/poly1305_sse2.c +2 -2
  42. data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/donna_c64/curve25519_donna_c64.c +1 -1
  43. data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/x25519_ref10.c +255 -0
  44. data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/{curve25519_ref10.h → x25519_ref10.h} +0 -0
  45. data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/scalarmult_curve25519.c +1 -1
  46. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/keypair.c +1 -2
  47. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/obsolete.c +2 -4
  48. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/open.c +1 -2
  49. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/sign.c +1 -2
  50. data/vendor/libsodium/src/libsodium/crypto_stream/chacha20/ref/stream_chacha20_ref.c +1 -1
  51. data/vendor/libsodium/src/libsodium/crypto_stream/chacha20/vec/stream_chacha20_vec.c +16 -9
  52. data/vendor/libsodium/src/libsodium/include/sodium/export.h +2 -2
  53. data/vendor/libsodium/src/libsodium/include/sodium/utils.h +6 -4
  54. data/vendor/libsodium/src/libsodium/randombytes/salsa20/randombytes_salsa20_random.c +12 -8
  55. data/vendor/libsodium/src/libsodium/sodium/core.c +9 -0
  56. data/vendor/libsodium/src/libsodium/sodium/runtime.c +32 -10
  57. data/vendor/libsodium/src/libsodium/sodium/utils.c +8 -8
  58. data/vendor/libsodium/test/default/auth.c +1 -1
  59. data/vendor/libsodium/test/default/box.c +16 -4
  60. data/vendor/libsodium/test/default/box2.c +7 -0
  61. data/vendor/libsodium/test/default/box7.c +18 -10
  62. data/vendor/libsodium/test/default/box8.c +1 -1
  63. data/vendor/libsodium/test/default/box_easy2.c +13 -0
  64. data/vendor/libsodium/test/default/onetimeauth.c +1 -0
  65. data/vendor/libsodium/test/default/pwhash_scrypt_ll.c +2 -2
  66. data/vendor/libsodium/test/default/verify1.c +1 -1
  67. metadata +9 -71
  68. data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/curve25519_ref10.c +0 -73
  69. data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/fe.h +0 -44
  70. data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/fe_0_curve25519_ref10.c +0 -23
  71. data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/fe_1_curve25519_ref10.c +0 -23
  72. data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/fe_add_curve25519_ref10.c +0 -61
  73. data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/fe_copy_curve25519_ref10.c +0 -33
  74. data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/fe_cswap_curve25519_ref10.c +0 -77
  75. data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/fe_frombytes_curve25519_ref10.c +0 -74
  76. data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/fe_invert_curve25519_ref10.c +0 -18
  77. data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/fe_mul121666_curve25519_ref10.c +0 -74
  78. data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/fe_mul_curve25519_ref10.c +0 -257
  79. data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/fe_sq_curve25519_ref10.c +0 -153
  80. data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/fe_sub_curve25519_ref10.c +0 -61
  81. data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/fe_tobytes_curve25519_ref10.c +0 -123
  82. data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/montgomery.h +0 -140
  83. data/vendor/libsodium/src/libsodium/crypto_scalarmult/curve25519/ref10/pow225521.h +0 -160
  84. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/d.h +0 -1
  85. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/d2.h +0 -1
  86. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe.h +0 -56
  87. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe_0.c +0 -19
  88. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe_1.c +0 -19
  89. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe_add.c +0 -57
  90. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe_cmov.c +0 -63
  91. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe_copy.c +0 -29
  92. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe_frombytes.c +0 -73
  93. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe_invert.c +0 -14
  94. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe_isnegative.c +0 -16
  95. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe_isnonzero.c +0 -19
  96. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe_mul.c +0 -253
  97. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe_neg.c +0 -45
  98. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe_pow22523.c +0 -13
  99. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe_sq.c +0 -149
  100. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe_sq2.c +0 -160
  101. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe_sub.c +0 -57
  102. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/fe_tobytes.c +0 -119
  103. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge.h +0 -97
  104. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_add.c +0 -11
  105. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_add.h +0 -97
  106. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_double_scalarmult.c +0 -138
  107. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_frombytes.c +0 -50
  108. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_madd.c +0 -11
  109. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_madd.h +0 -88
  110. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_msub.c +0 -11
  111. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_msub.h +0 -88
  112. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_p1p1_to_p2.c +0 -12
  113. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_p1p1_to_p3.c +0 -13
  114. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_p2_0.c +0 -8
  115. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_p2_dbl.c +0 -11
  116. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_p2_dbl.h +0 -73
  117. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_p3_0.c +0 -9
  118. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_p3_dbl.c +0 -12
  119. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_p3_to_cached.c +0 -17
  120. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_p3_to_p2.c +0 -12
  121. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_p3_tobytes.c +0 -14
  122. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_precomp_0.c +0 -8
  123. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_scalarmult_base.c +0 -111
  124. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_sub.c +0 -11
  125. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_sub.h +0 -97
  126. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ge_tobytes.c +0 -14
  127. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/pow22523.h +0 -160
  128. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/pow225521.h +0 -160
  129. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/sc.h +0 -15
  130. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/sc_muladd.c +0 -368
  131. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/sc_reduce.c +0 -275
  132. data/vendor/libsodium/src/libsodium/crypto_sign/ed25519/ref10/sqrtm1.h +0 -1
@@ -1,6 +1,6 @@
1
1
  #! /bin/sh
2
2
  # Guess values for system-dependent variables and create Makefiles.
3
- # Generated by GNU Autoconf 2.69 for libsodium 1.0.7.
3
+ # Generated by GNU Autoconf 2.69 for libsodium 1.0.8.
4
4
  #
5
5
  # Report bugs to <https://github.com/jedisct1/libsodium/issues>.
6
6
  #
@@ -590,8 +590,8 @@ MAKEFLAGS=
590
590
  # Identity of this package.
591
591
  PACKAGE_NAME='libsodium'
592
592
  PACKAGE_TARNAME='libsodium'
593
- PACKAGE_VERSION='1.0.7'
594
- PACKAGE_STRING='libsodium 1.0.7'
593
+ PACKAGE_VERSION='1.0.8'
594
+ PACKAGE_STRING='libsodium 1.0.8'
595
595
  PACKAGE_BUGREPORT='https://github.com/jedisct1/libsodium/issues'
596
596
  PACKAGE_URL='https://github.com/jedisct1/libsodium'
597
597
 
@@ -1372,7 +1372,7 @@ if test "$ac_init_help" = "long"; then
1372
1372
  # Omit some internal or obsolete options to make the list less imposing.
1373
1373
  # This message is too long to be a string in the A/UX 3.1 sh.
1374
1374
  cat <<_ACEOF
1375
- \`configure' configures libsodium 1.0.7 to adapt to many kinds of systems.
1375
+ \`configure' configures libsodium 1.0.8 to adapt to many kinds of systems.
1376
1376
 
1377
1377
  Usage: $0 [OPTION]... [VAR=VALUE]...
1378
1378
 
@@ -1442,7 +1442,7 @@ fi
1442
1442
 
1443
1443
  if test -n "$ac_init_help"; then
1444
1444
  case $ac_init_help in
1445
- short | recursive ) echo "Configuration of libsodium 1.0.7:";;
1445
+ short | recursive ) echo "Configuration of libsodium 1.0.8:";;
1446
1446
  esac
1447
1447
  cat <<\_ACEOF
1448
1448
 
@@ -1577,7 +1577,7 @@ fi
1577
1577
  test -n "$ac_init_help" && exit $ac_status
1578
1578
  if $ac_init_version; then
1579
1579
  cat <<\_ACEOF
1580
- libsodium configure 1.0.7
1580
+ libsodium configure 1.0.8
1581
1581
  generated by GNU Autoconf 2.69
1582
1582
 
1583
1583
  Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1946,7 +1946,7 @@ cat >config.log <<_ACEOF
1946
1946
  This file contains any messages produced by compilers while
1947
1947
  running configure, to aid debugging if configure makes a mistake.
1948
1948
 
1949
- It was created by libsodium $as_me 1.0.7, which was
1949
+ It was created by libsodium $as_me 1.0.8, which was
1950
1950
  generated by GNU Autoconf 2.69. Invocation command line was
1951
1951
 
1952
1952
  $ $0 $@
@@ -2882,7 +2882,7 @@ fi
2882
2882
 
2883
2883
  # Define the identity of the package.
2884
2884
  PACKAGE='libsodium'
2885
- VERSION='1.0.7'
2885
+ VERSION='1.0.8'
2886
2886
 
2887
2887
 
2888
2888
  cat >>confdefs.h <<_ACEOF
@@ -3178,9 +3178,9 @@ ISODATE=`date +%Y-%m-%d`
3178
3178
 
3179
3179
 
3180
3180
  SODIUM_LIBRARY_VERSION_MAJOR=9
3181
- SODIUM_LIBRARY_VERSION_MINOR=0
3181
+ SODIUM_LIBRARY_VERSION_MINOR=1
3182
3182
  DLL_VERSION=8
3183
- SODIUM_LIBRARY_VERSION=18:0:0
3183
+ SODIUM_LIBRARY_VERSION=18:1:0
3184
3184
  # | | |
3185
3185
  # +------+ | +---+
3186
3186
  # | | |
@@ -3363,8 +3363,8 @@ if test "${enable_opt+set}" = set; then :
3363
3363
  enableval=$enable_opt;
3364
3364
  if test "x$enableval" = "xyes"; then :
3365
3365
 
3366
- CFLAGS="$CFLAGS -flto -march=native"
3367
- LDFLAGS="$LDFLAGS -flto -march=native"
3366
+ CFLAGS="$CFLAGS -march=native -save-temps"
3367
+ LDFLAGS="$LDFLAGS -march=native"
3368
3368
  fi
3369
3369
 
3370
3370
  fi
@@ -16953,7 +16953,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16953
16953
  # report actual input values of CONFIG_FILES etc. instead of their
16954
16954
  # values after options handling.
16955
16955
  ac_log="
16956
- This file was extended by libsodium $as_me 1.0.7, which was
16956
+ This file was extended by libsodium $as_me 1.0.8, which was
16957
16957
  generated by GNU Autoconf 2.69. Invocation command line was
16958
16958
 
16959
16959
  CONFIG_FILES = $CONFIG_FILES
@@ -17011,7 +17011,7 @@ _ACEOF
17011
17011
  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17012
17012
  ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17013
17013
  ac_cs_version="\\
17014
- libsodium config.status 1.0.7
17014
+ libsodium config.status 1.0.8
17015
17015
  configured by $0, generated by GNU Autoconf 2.69,
17016
17016
  with options \\"\$ac_cs_config\\"
17017
17017
 
@@ -1,5 +1,5 @@
1
1
  AC_PREREQ([2.65])
2
- AC_INIT([libsodium],[1.0.7],
2
+ AC_INIT([libsodium],[1.0.8],
3
3
  [https://github.com/jedisct1/libsodium/issues],
4
4
  [libsodium],
5
5
  [https://github.com/jedisct1/libsodium])
@@ -17,9 +17,9 @@ ISODATE=`date +%Y-%m-%d`
17
17
  AC_SUBST(ISODATE)
18
18
 
19
19
  SODIUM_LIBRARY_VERSION_MAJOR=9
20
- SODIUM_LIBRARY_VERSION_MINOR=0
20
+ SODIUM_LIBRARY_VERSION_MINOR=1
21
21
  DLL_VERSION=8
22
- SODIUM_LIBRARY_VERSION=18:0:0
22
+ SODIUM_LIBRARY_VERSION=18:1:0
23
23
  # | | |
24
24
  # +------+ | +---+
25
25
  # | | |
@@ -139,8 +139,8 @@ AC_ARG_ENABLE(opt,
139
139
  [AS_HELP_STRING(--enable-opt,Optimize for the native CPU - The resulting library will be faster but not portable)],
140
140
  [
141
141
  AS_IF([test "x$enableval" = "xyes"], [
142
- CFLAGS="$CFLAGS -flto -march=native"
143
- LDFLAGS="$LDFLAGS -flto -march=native"])
142
+ CFLAGS="$CFLAGS -march=native -save-temps"
143
+ LDFLAGS="$LDFLAGS -march=native"])
144
144
  ])
145
145
 
146
146
  AC_SUBST([MAINT])
@@ -3,8 +3,9 @@
3
3
  export CFLAGS="-O3 -fomit-frame-pointer -m32 -march=pentium2 -mtune=nocona"
4
4
  export PREFIX="$(pwd)/libsodium-win32"
5
5
 
6
- ./configure --enable-minimal \
7
- --prefix="$PREFIX" --exec-prefix="$PREFIX" \
6
+ make distclean > /dev/null
7
+
8
+ ./configure --prefix="$PREFIX" --exec-prefix="$PREFIX" \
8
9
  --host=i686-w64-mingw32 && \
9
10
  make && \
10
11
  make check && \
@@ -3,8 +3,9 @@
3
3
  export CFLAGS="-O3 -fomit-frame-pointer -m64 -mtune=nocona"
4
4
  export PREFIX="$(pwd)/libsodium-win64"
5
5
 
6
- ./configure --enable-minimal \
7
- --prefix="$PREFIX" --exec-prefix="$PREFIX" \
6
+ make distclean > /dev/null
7
+
8
+ ./configure --prefix="$PREFIX" --exec-prefix="$PREFIX" \
8
9
  --host=x86_64-w64-mingw32 && \
9
10
  make && \
10
11
  make check && \
@@ -45,6 +45,8 @@ sign(void)
45
45
  printf("Signing message with %s...\n", crypto_sign_primitive());
46
46
  crypto_sign(message_signed, &message_signed_len, message, message_len, sk);
47
47
 
48
+ sodium_memzero(sk, sizeof sk); /* wipe sensitive data */
49
+
48
50
  printf("Signed message:");
49
51
  print_hex(message_signed, message_signed_len);
50
52
  printf("A %u bytes signature was prepended to the message\n",
@@ -64,8 +66,6 @@ sign(void)
64
66
  if (ret == 0)
65
67
  printf("Message: %s\n", message);
66
68
 
67
- sodium_memzero(sk, sizeof sk); /* wipe sensitive data */
68
-
69
69
  return ret;
70
70
  }
71
71
 
@@ -56,7 +56,9 @@ prompt_input(const char *prompt, char *input, const size_t max_input_len,
56
56
  printf("\nEnter %s (%zu bytes) > ", prompt, max_input_len);
57
57
  }
58
58
  fflush(stdout);
59
- fgets(input_tmp, sizeof input_tmp, stdin);
59
+ if (fgets(input_tmp, sizeof input_tmp, stdin) == NULL) {
60
+ input_tmp[0] = '\0';
61
+ }
60
62
  actual_input_len = strlen(input_tmp);
61
63
 
62
64
  /* trim \n */
@@ -315,10 +315,14 @@
315
315
  </Link>
316
316
  </ItemDefinitionGroup>
317
317
  <ItemGroup>
318
+ <ClInclude Include="src\libsodium\crypto_core\curve25519\ref10\base.h" />
319
+ <ClInclude Include="src\libsodium\crypto_core\curve25519\ref10\base2.h" />
320
+ <ClInclude Include="src\libsodium\crypto_core\curve25519\ref10\curve25519_ref10.h" />
318
321
  <ClInclude Include="src\libsodium\crypto_generichash\blake2\ref\blake2b-load-sse2.h" />
319
322
  <ClInclude Include="src\libsodium\crypto_generichash\blake2\ref\blake2b-load-sse41.h" />
320
323
  <ClInclude Include="src\libsodium\crypto_generichash\blake2\ref\blake2b-round.h" />
321
324
  <ClInclude Include="src\libsodium\crypto_onetimeauth\poly1305\onetimeauth_poly1305.h" />
325
+ <ClInclude Include="src\libsodium\crypto_scalarmult\curve25519\ref10\x25519_ref10.h" />
322
326
  <ClInclude Include="src\libsodium\include\sodium.h" />
323
327
  <ClInclude Include="src\libsodium\include\sodium\core.h" />
324
328
  <ClInclude Include="src\libsodium\include\sodium\crypto_aead_aes256gcm.h" />
@@ -395,6 +399,7 @@
395
399
  <ClCompile Include="src\libsodium\crypto_box\curve25519xsalsa20poly1305\ref\before_curve25519xsalsa20poly1305.c" />
396
400
  <ClCompile Include="src\libsodium\crypto_box\curve25519xsalsa20poly1305\ref\box_curve25519xsalsa20poly1305.c" />
397
401
  <ClCompile Include="src\libsodium\crypto_box\curve25519xsalsa20poly1305\ref\keypair_curve25519xsalsa20poly1305.c" />
402
+ <ClCompile Include="src\libsodium\crypto_core\curve25519\ref10\curve25519_ref10.c" />
398
403
  <ClCompile Include="src\libsodium\crypto_core\hsalsa20\core_hsalsa20_api.c" />
399
404
  <ClCompile Include="src\libsodium\crypto_core\hsalsa20\ref2\core_hsalsa20.c" />
400
405
  <ClCompile Include="src\libsodium\crypto_core\salsa2012\core_salsa2012_api.c" />
@@ -426,19 +431,7 @@
426
431
  <ClCompile Include="src\libsodium\crypto_pwhash\scryptsalsa208sha256\sse\pwhash_scryptsalsa208sha256_sse.c" />
427
432
  <ClCompile Include="src\libsodium\crypto_scalarmult\crypto_scalarmult.c" />
428
433
  <ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\donna_c64\curve25519_donna_c64.c" />
429
- <ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\ref10\curve25519_ref10.c" />
430
- <ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\ref10\fe_0_curve25519_ref10.c" />
431
- <ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\ref10\fe_1_curve25519_ref10.c" />
432
- <ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\ref10\fe_add_curve25519_ref10.c" />
433
- <ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\ref10\fe_copy_curve25519_ref10.c" />
434
- <ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\ref10\fe_cswap_curve25519_ref10.c" />
435
- <ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\ref10\fe_frombytes_curve25519_ref10.c" />
436
- <ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\ref10\fe_invert_curve25519_ref10.c" />
437
- <ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\ref10\fe_mul121666_curve25519_ref10.c" />
438
- <ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\ref10\fe_mul_curve25519_ref10.c" />
439
- <ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\ref10\fe_sq_curve25519_ref10.c" />
440
- <ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\ref10\fe_sub_curve25519_ref10.c" />
441
- <ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\ref10\fe_tobytes_curve25519_ref10.c" />
434
+ <ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\ref10\x25519_ref10.c" />
442
435
  <ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\sandy2x\curve25519_sandy2x.c" />
443
436
  <ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\sandy2x\fe51_invert.c" />
444
437
  <ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\sandy2x\fe_frombytes_sandy2x.c" />
@@ -451,45 +444,9 @@
451
444
  <ClCompile Include="src\libsodium\crypto_shorthash\siphash24\ref\shorthash_siphash24.c" />
452
445
  <ClCompile Include="src\libsodium\crypto_shorthash\siphash24\shorthash_siphash24_api.c" />
453
446
  <ClCompile Include="src\libsodium\crypto_sign\crypto_sign.c" />
454
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\fe_0.c" />
455
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\fe_1.c" />
456
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\fe_add.c" />
457
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\fe_cmov.c" />
458
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\fe_copy.c" />
459
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\fe_frombytes.c" />
460
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\fe_invert.c" />
461
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\fe_isnegative.c" />
462
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\fe_isnonzero.c" />
463
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\fe_mul.c" />
464
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\fe_neg.c" />
465
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\fe_pow22523.c" />
466
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\fe_sq.c" />
467
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\fe_sq2.c" />
468
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\fe_sub.c" />
469
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\fe_tobytes.c" />
470
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\ge_add.c" />
471
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\ge_double_scalarmult.c" />
472
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\ge_frombytes.c" />
473
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\ge_madd.c" />
474
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\ge_msub.c" />
475
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\ge_p1p1_to_p2.c" />
476
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\ge_p1p1_to_p3.c" />
477
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\ge_p2_0.c" />
478
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\ge_p2_dbl.c" />
479
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\ge_p3_0.c" />
480
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\ge_p3_dbl.c" />
481
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\ge_p3_tobytes.c" />
482
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\ge_p3_to_cached.c" />
483
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\ge_p3_to_p2.c" />
484
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\ge_precomp_0.c" />
485
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\ge_scalarmult_base.c" />
486
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\ge_sub.c" />
487
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\ge_tobytes.c" />
488
447
  <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\keypair.c" />
489
448
  <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\obsolete.c" />
490
449
  <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\open.c" />
491
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\sc_muladd.c" />
492
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\sc_reduce.c" />
493
450
  <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\sign.c" />
494
451
  <ClCompile Include="src\libsodium\crypto_sign\ed25519\sign_ed25519_api.c" />
495
452
  <ClCompile Include="src\libsodium\crypto_stream\aes128ctr\portable\afternm_aes128ctr.c" />
@@ -529,10 +486,7 @@
529
486
  <ClCompile Include="src\libsodium\sodium\utils.c" />
530
487
  <ClCompile Include="src\libsodium\sodium\version.c" />
531
488
  </ItemGroup>
532
- <ItemGroup>
533
- <None Include="src\libsodium\crypto_scalarmult\curve25519\sandy2x\sandy2x.S" />
534
- </ItemGroup>
535
489
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
536
490
  <ImportGroup Label="ExtensionTargets">
537
491
  </ImportGroup>
538
- </Project>
492
+ </Project>
@@ -189,6 +189,18 @@
189
189
  <ClInclude Include="src\libsodium\crypto_onetimeauth\poly1305\onetimeauth_poly1305.h">
190
190
  <Filter>Header Files</Filter>
191
191
  </ClInclude>
192
+ <ClInclude Include="src\libsodium\crypto_core\curve25519\ref10\base.h">
193
+ <Filter>Header Files</Filter>
194
+ </ClInclude>
195
+ <ClInclude Include="src\libsodium\crypto_core\curve25519\ref10\base2.h">
196
+ <Filter>Header Files</Filter>
197
+ </ClInclude>
198
+ <ClInclude Include="src\libsodium\crypto_core\curve25519\ref10\curve25519_ref10.h">
199
+ <Filter>Header Files</Filter>
200
+ </ClInclude>
201
+ <ClInclude Include="src\libsodium\crypto_scalarmult\curve25519\ref10\x25519_ref10.h">
202
+ <Filter>Header Files</Filter>
203
+ </ClInclude>
192
204
  </ItemGroup>
193
205
  <ItemGroup>
194
206
  <ClCompile Include="src\libsodium\crypto_core\hsalsa20\ref2\core_hsalsa20.c">
@@ -314,120 +326,12 @@
314
326
  <ClCompile Include="src\libsodium\crypto_sign\crypto_sign.c">
315
327
  <Filter>Source Files</Filter>
316
328
  </ClCompile>
317
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\fe_0.c">
318
- <Filter>Source Files</Filter>
319
- </ClCompile>
320
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\fe_1.c">
321
- <Filter>Source Files</Filter>
322
- </ClCompile>
323
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\fe_add.c">
324
- <Filter>Source Files</Filter>
325
- </ClCompile>
326
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\fe_cmov.c">
327
- <Filter>Source Files</Filter>
328
- </ClCompile>
329
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\fe_copy.c">
330
- <Filter>Source Files</Filter>
331
- </ClCompile>
332
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\fe_frombytes.c">
333
- <Filter>Source Files</Filter>
334
- </ClCompile>
335
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\fe_invert.c">
336
- <Filter>Source Files</Filter>
337
- </ClCompile>
338
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\fe_isnegative.c">
339
- <Filter>Source Files</Filter>
340
- </ClCompile>
341
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\fe_isnonzero.c">
342
- <Filter>Source Files</Filter>
343
- </ClCompile>
344
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\fe_mul.c">
345
- <Filter>Source Files</Filter>
346
- </ClCompile>
347
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\fe_neg.c">
348
- <Filter>Source Files</Filter>
349
- </ClCompile>
350
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\fe_pow22523.c">
351
- <Filter>Source Files</Filter>
352
- </ClCompile>
353
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\fe_sq.c">
354
- <Filter>Source Files</Filter>
355
- </ClCompile>
356
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\fe_sq2.c">
357
- <Filter>Source Files</Filter>
358
- </ClCompile>
359
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\fe_sub.c">
360
- <Filter>Source Files</Filter>
361
- </ClCompile>
362
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\fe_tobytes.c">
363
- <Filter>Source Files</Filter>
364
- </ClCompile>
365
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\ge_add.c">
366
- <Filter>Source Files</Filter>
367
- </ClCompile>
368
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\ge_double_scalarmult.c">
369
- <Filter>Source Files</Filter>
370
- </ClCompile>
371
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\ge_frombytes.c">
372
- <Filter>Source Files</Filter>
373
- </ClCompile>
374
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\ge_madd.c">
375
- <Filter>Source Files</Filter>
376
- </ClCompile>
377
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\ge_msub.c">
378
- <Filter>Source Files</Filter>
379
- </ClCompile>
380
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\ge_p1p1_to_p2.c">
381
- <Filter>Source Files</Filter>
382
- </ClCompile>
383
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\ge_p1p1_to_p3.c">
384
- <Filter>Source Files</Filter>
385
- </ClCompile>
386
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\ge_p2_0.c">
387
- <Filter>Source Files</Filter>
388
- </ClCompile>
389
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\ge_p2_dbl.c">
390
- <Filter>Source Files</Filter>
391
- </ClCompile>
392
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\ge_p3_0.c">
393
- <Filter>Source Files</Filter>
394
- </ClCompile>
395
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\ge_p3_dbl.c">
396
- <Filter>Source Files</Filter>
397
- </ClCompile>
398
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\ge_p3_to_cached.c">
399
- <Filter>Source Files</Filter>
400
- </ClCompile>
401
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\ge_p3_to_p2.c">
402
- <Filter>Source Files</Filter>
403
- </ClCompile>
404
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\ge_p3_tobytes.c">
405
- <Filter>Source Files</Filter>
406
- </ClCompile>
407
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\ge_precomp_0.c">
408
- <Filter>Source Files</Filter>
409
- </ClCompile>
410
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\ge_scalarmult_base.c">
411
- <Filter>Source Files</Filter>
412
- </ClCompile>
413
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\ge_sub.c">
414
- <Filter>Source Files</Filter>
415
- </ClCompile>
416
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\ge_tobytes.c">
417
- <Filter>Source Files</Filter>
418
- </ClCompile>
419
329
  <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\keypair.c">
420
330
  <Filter>Source Files</Filter>
421
331
  </ClCompile>
422
332
  <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\open.c">
423
333
  <Filter>Source Files</Filter>
424
334
  </ClCompile>
425
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\sc_muladd.c">
426
- <Filter>Source Files</Filter>
427
- </ClCompile>
428
- <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\sc_reduce.c">
429
- <Filter>Source Files</Filter>
430
- </ClCompile>
431
335
  <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\sign.c">
432
336
  <Filter>Source Files</Filter>
433
337
  </ClCompile>
@@ -572,42 +476,6 @@
572
476
  <ClCompile Include="src\libsodium\crypto_stream\chacha20\ref\stream_chacha20_ref.c">
573
477
  <Filter>Source Files</Filter>
574
478
  </ClCompile>
575
- <ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\ref10\fe_0_curve25519_ref10.c">
576
- <Filter>Source Files</Filter>
577
- </ClCompile>
578
- <ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\ref10\fe_1_curve25519_ref10.c">
579
- <Filter>Source Files</Filter>
580
- </ClCompile>
581
- <ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\ref10\fe_add_curve25519_ref10.c">
582
- <Filter>Source Files</Filter>
583
- </ClCompile>
584
- <ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\ref10\fe_copy_curve25519_ref10.c">
585
- <Filter>Source Files</Filter>
586
- </ClCompile>
587
- <ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\ref10\fe_cswap_curve25519_ref10.c">
588
- <Filter>Source Files</Filter>
589
- </ClCompile>
590
- <ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\ref10\fe_frombytes_curve25519_ref10.c">
591
- <Filter>Source Files</Filter>
592
- </ClCompile>
593
- <ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\ref10\fe_invert_curve25519_ref10.c">
594
- <Filter>Source Files</Filter>
595
- </ClCompile>
596
- <ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\ref10\fe_mul_curve25519_ref10.c">
597
- <Filter>Source Files</Filter>
598
- </ClCompile>
599
- <ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\ref10\fe_mul121666_curve25519_ref10.c">
600
- <Filter>Source Files</Filter>
601
- </ClCompile>
602
- <ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\ref10\fe_sq_curve25519_ref10.c">
603
- <Filter>Source Files</Filter>
604
- </ClCompile>
605
- <ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\ref10\fe_sub_curve25519_ref10.c">
606
- <Filter>Source Files</Filter>
607
- </ClCompile>
608
- <ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\ref10\fe_tobytes_curve25519_ref10.c">
609
- <Filter>Source Files</Filter>
610
- </ClCompile>
611
479
  <ClCompile Include="src\libsodium\crypto_box\curve25519xsalsa20poly1305\ref\before_curve25519xsalsa20poly1305.c">
612
480
  <Filter>Source Files</Filter>
613
481
  </ClCompile>
@@ -632,9 +500,6 @@
632
500
  <ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\donna_c64\curve25519_donna_c64.c">
633
501
  <Filter>Source Files</Filter>
634
502
  </ClCompile>
635
- <ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\ref10\curve25519_ref10.c">
636
- <Filter>Source Files</Filter>
637
- </ClCompile>
638
503
  <ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\sandy2x\curve25519_sandy2x.c">
639
504
  <Filter>Source Files</Filter>
640
505
  </ClCompile>
@@ -650,10 +515,11 @@
650
515
  <ClCompile Include="src\libsodium\crypto_sign\ed25519\ref10\obsolete.c">
651
516
  <Filter>Source Files</Filter>
652
517
  </ClCompile>
653
- </ItemGroup>
654
- <ItemGroup>
655
- <None Include="src\libsodium\crypto_scalarmult\curve25519\sandy2x\sandy2x.S">
518
+ <ClCompile Include="src\libsodium\crypto_core\curve25519\ref10\curve25519_ref10.c">
656
519
  <Filter>Source Files</Filter>
657
- </None>
520
+ </ClCompile>
521
+ <ClCompile Include="src\libsodium\crypto_scalarmult\curve25519\ref10\x25519_ref10.c">
522
+ <Filter>Source Files</Filter>
523
+ </ClCompile>
658
524
  </ItemGroup>
659
- </Project>
525
+ </Project>