include.am 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. AM_CPPFLAGS += -I$(srcdir)/src/ext -Isrc/ext
  2. EXTRA_DIST += src/ext/README
  3. EXTHEADERS = \
  4. src/ext/ht.h \
  5. src/ext/eventdns.h \
  6. src/ext/tinytest.h \
  7. src/ext/tor_readpassphrase.h \
  8. src/ext/strlcat.c \
  9. src/ext/strlcpy.c \
  10. src/ext/tinytest_macros.h \
  11. src/ext/tor_queue.h \
  12. src/ext/siphash.h
  13. noinst_HEADERS+= $(EXTHEADERS)
  14. src_ext_ed25519_ref10_libed25519_ref10_a_CFLAGS=
  15. src_ext_ed25519_ref10_libed25519_ref10_a_SOURCES= \
  16. src/ext/ed25519/ref10/fe_0.c \
  17. src/ext/ed25519/ref10/fe_1.c \
  18. src/ext/ed25519/ref10/fe_add.c \
  19. src/ext/ed25519/ref10/fe_cmov.c \
  20. src/ext/ed25519/ref10/fe_copy.c \
  21. src/ext/ed25519/ref10/fe_frombytes.c \
  22. src/ext/ed25519/ref10/fe_invert.c \
  23. src/ext/ed25519/ref10/fe_isnegative.c \
  24. src/ext/ed25519/ref10/fe_isnonzero.c \
  25. src/ext/ed25519/ref10/fe_mul.c \
  26. src/ext/ed25519/ref10/fe_neg.c \
  27. src/ext/ed25519/ref10/fe_pow22523.c \
  28. src/ext/ed25519/ref10/fe_sq.c \
  29. src/ext/ed25519/ref10/fe_sq2.c \
  30. src/ext/ed25519/ref10/fe_sub.c \
  31. src/ext/ed25519/ref10/fe_tobytes.c \
  32. src/ext/ed25519/ref10/ge_add.c \
  33. src/ext/ed25519/ref10/ge_double_scalarmult.c \
  34. src/ext/ed25519/ref10/ge_frombytes.c \
  35. src/ext/ed25519/ref10/ge_madd.c \
  36. src/ext/ed25519/ref10/ge_msub.c \
  37. src/ext/ed25519/ref10/ge_p1p1_to_p2.c \
  38. src/ext/ed25519/ref10/ge_p1p1_to_p3.c \
  39. src/ext/ed25519/ref10/ge_p2_0.c \
  40. src/ext/ed25519/ref10/ge_p2_dbl.c \
  41. src/ext/ed25519/ref10/ge_p3_0.c \
  42. src/ext/ed25519/ref10/ge_p3_dbl.c \
  43. src/ext/ed25519/ref10/ge_p3_to_cached.c \
  44. src/ext/ed25519/ref10/ge_p3_to_p2.c \
  45. src/ext/ed25519/ref10/ge_p3_tobytes.c \
  46. src/ext/ed25519/ref10/ge_precomp_0.c \
  47. src/ext/ed25519/ref10/ge_scalarmult_base.c \
  48. src/ext/ed25519/ref10/ge_sub.c \
  49. src/ext/ed25519/ref10/ge_tobytes.c \
  50. src/ext/ed25519/ref10/keypair.c \
  51. src/ext/ed25519/ref10/open.c \
  52. src/ext/ed25519/ref10/sc_muladd.c \
  53. src/ext/ed25519/ref10/sc_reduce.c \
  54. src/ext/ed25519/ref10/sign.c \
  55. src/ext/ed25519/ref10/keyconv.c \
  56. src/ext/ed25519/ref10/blinding.c
  57. ED25519_REF10_HDRS = \
  58. src/ext/ed25519/ref10/api.h \
  59. src/ext/ed25519/ref10/base.h \
  60. src/ext/ed25519/ref10/base2.h \
  61. src/ext/ed25519/ref10/crypto_hash_sha512.h \
  62. src/ext/ed25519/ref10/crypto_int32.h \
  63. src/ext/ed25519/ref10/crypto_int64.h \
  64. src/ext/ed25519/ref10/crypto_sign.h \
  65. src/ext/ed25519/ref10/crypto_uint32.h \
  66. src/ext/ed25519/ref10/crypto_uint64.h \
  67. src/ext/ed25519/ref10/crypto_verify_32.h \
  68. src/ext/ed25519/ref10/d.h \
  69. src/ext/ed25519/ref10/d2.h \
  70. src/ext/ed25519/ref10/ed25519_ref10.h \
  71. src/ext/ed25519/ref10/fe.h \
  72. src/ext/ed25519/ref10/ge.h \
  73. src/ext/ed25519/ref10/ge_add.h \
  74. src/ext/ed25519/ref10/ge_madd.h \
  75. src/ext/ed25519/ref10/ge_msub.h \
  76. src/ext/ed25519/ref10/ge_p2_dbl.h \
  77. src/ext/ed25519/ref10/ge_sub.h \
  78. src/ext/ed25519/ref10/pow22523.h \
  79. src/ext/ed25519/ref10/pow225521.h \
  80. src/ext/ed25519/ref10/randombytes.h \
  81. src/ext/ed25519/ref10/sc.h \
  82. src/ext/ed25519/ref10/sqrtm1.h
  83. noinst_HEADERS += $(ED25519_REF10_HDRS)
  84. LIBED25519_REF10=src/ext/ed25519/ref10/libed25519_ref10.a
  85. noinst_LIBRARIES += $(LIBED25519_REF10)
  86. src_ext_ed25519_donna_libed25519_donna_a_CFLAGS= \
  87. -DED25519_CUSTOMRANDOM \
  88. -DED25519_SUFFIX=_donna
  89. src_ext_ed25519_donna_libed25519_donna_a_SOURCES= \
  90. src/ext/ed25519/donna/ed25519_tor.c
  91. ED25519_DONNA_HDRS = \
  92. src/ext/ed25519/donna/curve25519-donna-32bit.h \
  93. src/ext/ed25519/donna/curve25519-donna-64bit.h \
  94. src/ext/ed25519/donna/curve25519-donna-helpers.h \
  95. src/ext/ed25519/donna/curve25519-donna-sse2.h \
  96. src/ext/ed25519/donna/ed25519-donna-32bit-sse2.h \
  97. src/ext/ed25519/donna/ed25519-donna-32bit-tables.h \
  98. src/ext/ed25519/donna/ed25519-donna-64bit-sse2.h \
  99. src/ext/ed25519/donna/ed25519-donna-64bit-tables.h \
  100. src/ext/ed25519/donna/ed25519-donna-64bit-x86-32bit.h \
  101. src/ext/ed25519/donna/ed25519-donna-64bit-x86.h \
  102. src/ext/ed25519/donna/ed25519-donna-basepoint-table.h \
  103. src/ext/ed25519/donna/ed25519-donna-batchverify.h \
  104. src/ext/ed25519/donna/ed25519-donna.h \
  105. src/ext/ed25519/donna/ed25519-donna-impl-base.h \
  106. src/ext/ed25519/donna/ed25519-donna-impl-sse2.h \
  107. src/ext/ed25519/donna/ed25519-donna-portable.h \
  108. src/ext/ed25519/donna/ed25519-donna-portable-identify.h \
  109. src/ext/ed25519/donna/ed25519_donna_tor.h \
  110. src/ext/ed25519/donna/ed25519.h \
  111. src/ext/ed25519/donna/ed25519-hash-custom.h \
  112. src/ext/ed25519/donna/ed25519-hash.h \
  113. src/ext/ed25519/donna/ed25519-randombytes-custom.h \
  114. src/ext/ed25519/donna/ed25519-randombytes.h \
  115. src/ext/ed25519/donna/modm-donna-32bit.h \
  116. src/ext/ed25519/donna/modm-donna-64bit.h \
  117. src/ext/ed25519/donna/regression.h \
  118. src/ext/ed25519/donna/test-ticks.h \
  119. src/ext/ed25519/donna/test-internals.c
  120. noinst_HEADERS += $(ED25519_DONNA_HDRS)
  121. LIBED25519_DONNA=src/ext/ed25519/donna/libed25519_donna.a
  122. noinst_LIBRARIES += $(LIBED25519_DONNA)