You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.5 KiB

  1. --- a/src/libsodium/Makefile.am
  2. +++ b/src/libsodium/Makefile.am
  3. @@ -12,6 +12,7 @@ libsodium_la_SOURCES = \
  4. crypto_box/crypto_box_easy.c \
  5. crypto_box/crypto_box_seal.c \
  6. crypto_box/curve25519xsalsa20poly1305/box_curve25519xsalsa20poly1305.c \
  7. + crypto_core/ed25519/core_ed25519.c \
  8. crypto_core/ed25519/ref10/ed25519_ref10.c \
  9. crypto_core/hchacha20/core_hchacha20.c \
  10. crypto_core/hsalsa20/ref2/core_hsalsa20_ref2.c \
  11. @@ -152,7 +153,6 @@ if !MINIMAL
  12. libsodium_la_SOURCES += \
  13. crypto_box/curve25519xchacha20poly1305/box_curve25519xchacha20poly1305.c \
  14. crypto_box/curve25519xchacha20poly1305/box_seal_curve25519xchacha20poly1305.c \
  15. - crypto_core/ed25519/core_ed25519.c \
  16. crypto_core/ed25519/core_ristretto255.c \
  17. crypto_pwhash/scryptsalsa208sha256/crypto_scrypt-common.c \
  18. crypto_pwhash/scryptsalsa208sha256/crypto_scrypt.h \
  19. --- a/src/libsodium/include/sodium.h
  20. +++ b/src/libsodium/include/sodium.h
  21. @@ -14,6 +14,7 @@
  22. #include "sodium/crypto_auth_hmacsha512256.h"
  23. #include "sodium/crypto_box.h"
  24. #include "sodium/crypto_box_curve25519xsalsa20poly1305.h"
  25. +#include "sodium/crypto_core_ed25519.h"
  26. #include "sodium/crypto_core_hsalsa20.h"
  27. #include "sodium/crypto_core_hchacha20.h"
  28. #include "sodium/crypto_core_salsa20.h"
  29. @@ -56,7 +57,6 @@
  30. #ifndef SODIUM_LIBRARY_MINIMAL
  31. # include "sodium/crypto_box_curve25519xchacha20poly1305.h"
  32. -# include "sodium/crypto_core_ed25519.h"
  33. # include "sodium/crypto_core_ristretto255.h"
  34. # include "sodium/crypto_scalarmult_ristretto255.h"
  35. # include "sodium/crypto_secretbox_xchacha20poly1305.h"