include.am 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  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/tinytest.h \
  6. src/ext/tor_readpassphrase.h \
  7. src/ext/strlcat.c \
  8. src/ext/strlcpy.c \
  9. src/ext/tinytest_macros.h \
  10. src/ext/tor_queue.h \
  11. src/ext/siphash.h \
  12. src/ext/timeouts/timeout.h \
  13. src/ext/timeouts/timeout-debug.h \
  14. src/ext/timeouts/timeout-bitops.c \
  15. src/ext/timeouts/timeout.c
  16. noinst_HEADERS+= $(EXTHEADERS)
  17. src_ext_ed25519_ref10_libed25519_ref10_a_CFLAGS=\
  18. @CFLAGS_CONSTTIME@
  19. src_ext_ed25519_ref10_libed25519_ref10_a_SOURCES= \
  20. src/ext/ed25519/ref10/fe_0.c \
  21. src/ext/ed25519/ref10/fe_1.c \
  22. src/ext/ed25519/ref10/fe_add.c \
  23. src/ext/ed25519/ref10/fe_cmov.c \
  24. src/ext/ed25519/ref10/fe_copy.c \
  25. src/ext/ed25519/ref10/fe_frombytes.c \
  26. src/ext/ed25519/ref10/fe_invert.c \
  27. src/ext/ed25519/ref10/fe_isnegative.c \
  28. src/ext/ed25519/ref10/fe_isnonzero.c \
  29. src/ext/ed25519/ref10/fe_mul.c \
  30. src/ext/ed25519/ref10/fe_neg.c \
  31. src/ext/ed25519/ref10/fe_pow22523.c \
  32. src/ext/ed25519/ref10/fe_sq.c \
  33. src/ext/ed25519/ref10/fe_sq2.c \
  34. src/ext/ed25519/ref10/fe_sub.c \
  35. src/ext/ed25519/ref10/fe_tobytes.c \
  36. src/ext/ed25519/ref10/ge_add.c \
  37. src/ext/ed25519/ref10/ge_double_scalarmult.c \
  38. src/ext/ed25519/ref10/ge_frombytes.c \
  39. src/ext/ed25519/ref10/ge_madd.c \
  40. src/ext/ed25519/ref10/ge_msub.c \
  41. src/ext/ed25519/ref10/ge_p1p1_to_p2.c \
  42. src/ext/ed25519/ref10/ge_p1p1_to_p3.c \
  43. src/ext/ed25519/ref10/ge_p2_0.c \
  44. src/ext/ed25519/ref10/ge_p2_dbl.c \
  45. src/ext/ed25519/ref10/ge_p3_0.c \
  46. src/ext/ed25519/ref10/ge_p3_dbl.c \
  47. src/ext/ed25519/ref10/ge_p3_to_cached.c \
  48. src/ext/ed25519/ref10/ge_p3_to_p2.c \
  49. src/ext/ed25519/ref10/ge_p3_tobytes.c \
  50. src/ext/ed25519/ref10/ge_precomp_0.c \
  51. src/ext/ed25519/ref10/ge_scalarmult_base.c \
  52. src/ext/ed25519/ref10/ge_sub.c \
  53. src/ext/ed25519/ref10/ge_tobytes.c \
  54. src/ext/ed25519/ref10/keypair.c \
  55. src/ext/ed25519/ref10/open.c \
  56. src/ext/ed25519/ref10/sc_muladd.c \
  57. src/ext/ed25519/ref10/sc_reduce.c \
  58. src/ext/ed25519/ref10/sign.c \
  59. src/ext/ed25519/ref10/keyconv.c \
  60. src/ext/ed25519/ref10/blinding.c
  61. ED25519_REF10_HDRS = \
  62. src/ext/ed25519/ref10/api.h \
  63. src/ext/ed25519/ref10/base.h \
  64. src/ext/ed25519/ref10/base2.h \
  65. src/ext/ed25519/ref10/crypto_hash_sha512.h \
  66. src/ext/ed25519/ref10/crypto_int32.h \
  67. src/ext/ed25519/ref10/crypto_int64.h \
  68. src/ext/ed25519/ref10/crypto_sign.h \
  69. src/ext/ed25519/ref10/crypto_uint32.h \
  70. src/ext/ed25519/ref10/crypto_uint64.h \
  71. src/ext/ed25519/ref10/crypto_verify_32.h \
  72. src/ext/ed25519/ref10/d.h \
  73. src/ext/ed25519/ref10/d2.h \
  74. src/ext/ed25519/ref10/ed25519_ref10.h \
  75. src/ext/ed25519/ref10/fe.h \
  76. src/ext/ed25519/ref10/ge.h \
  77. src/ext/ed25519/ref10/ge_add.h \
  78. src/ext/ed25519/ref10/ge_madd.h \
  79. src/ext/ed25519/ref10/ge_msub.h \
  80. src/ext/ed25519/ref10/ge_p2_dbl.h \
  81. src/ext/ed25519/ref10/ge_sub.h \
  82. src/ext/ed25519/ref10/pow22523.h \
  83. src/ext/ed25519/ref10/pow225521.h \
  84. src/ext/ed25519/ref10/randombytes.h \
  85. src/ext/ed25519/ref10/sc.h \
  86. src/ext/ed25519/ref10/sqrtm1.h
  87. noinst_HEADERS += $(ED25519_REF10_HDRS)
  88. LIBED25519_REF10=src/ext/ed25519/ref10/libed25519_ref10.a
  89. noinst_LIBRARIES += $(LIBED25519_REF10)
  90. src_ext_ed25519_donna_libed25519_donna_a_CFLAGS=\
  91. @CFLAGS_CONSTTIME@ \
  92. -DED25519_CUSTOMRANDOM \
  93. -DED25519_SUFFIX=_donna
  94. src_ext_ed25519_donna_libed25519_donna_a_SOURCES= \
  95. src/ext/ed25519/donna/ed25519_tor.c
  96. ED25519_DONNA_HDRS = \
  97. src/ext/ed25519/donna/curve25519-donna-32bit.h \
  98. src/ext/ed25519/donna/curve25519-donna-64bit.h \
  99. src/ext/ed25519/donna/curve25519-donna-helpers.h \
  100. src/ext/ed25519/donna/curve25519-donna-sse2.h \
  101. src/ext/ed25519/donna/ed25519-donna-32bit-sse2.h \
  102. src/ext/ed25519/donna/ed25519-donna-32bit-tables.h \
  103. src/ext/ed25519/donna/ed25519-donna-64bit-sse2.h \
  104. src/ext/ed25519/donna/ed25519-donna-64bit-tables.h \
  105. src/ext/ed25519/donna/ed25519-donna-64bit-x86-32bit.h \
  106. src/ext/ed25519/donna/ed25519-donna-64bit-x86.h \
  107. src/ext/ed25519/donna/ed25519-donna-basepoint-table.h \
  108. src/ext/ed25519/donna/ed25519-donna-batchverify.h \
  109. src/ext/ed25519/donna/ed25519-donna.h \
  110. src/ext/ed25519/donna/ed25519-donna-impl-base.h \
  111. src/ext/ed25519/donna/ed25519-donna-impl-sse2.h \
  112. src/ext/ed25519/donna/ed25519-donna-portable.h \
  113. src/ext/ed25519/donna/ed25519-donna-portable-identify.h \
  114. src/ext/ed25519/donna/ed25519_donna_tor.h \
  115. src/ext/ed25519/donna/ed25519.h \
  116. src/ext/ed25519/donna/ed25519-hash-custom.h \
  117. src/ext/ed25519/donna/ed25519-hash.h \
  118. src/ext/ed25519/donna/ed25519-randombytes-custom.h \
  119. src/ext/ed25519/donna/ed25519-randombytes.h \
  120. src/ext/ed25519/donna/modm-donna-32bit.h \
  121. src/ext/ed25519/donna/modm-donna-64bit.h \
  122. src/ext/ed25519/donna/regression.h \
  123. src/ext/ed25519/donna/test-ticks.h \
  124. src/ext/ed25519/donna/test-internals.c
  125. noinst_HEADERS += $(ED25519_DONNA_HDRS)
  126. LIBED25519_DONNA=src/ext/ed25519/donna/libed25519_donna.a
  127. noinst_LIBRARIES += $(LIBED25519_DONNA)
  128. src_ext_keccak_tiny_libkeccak_tiny_a_CFLAGS=\
  129. @CFLAGS_CONSTTIME@
  130. src_ext_keccak_tiny_libkeccak_tiny_a_SOURCES= \
  131. src/ext/keccak-tiny/keccak-tiny-unrolled.c
  132. LIBKECCAK_TINY_HDRS = \
  133. src/ext/keccak-tiny/keccak-tiny.h
  134. noinst_HEADERS += $(LIBKECCAK_TINY_HDRS)
  135. LIBKECCAK_TINY=src/ext/keccak-tiny/libkeccak-tiny.a
  136. noinst_LIBRARIES += $(LIBKECCAK_TINY)
  137. EXTRA_DIST += \
  138. src/ext/timeouts/bench/bench-add.lua \
  139. src/ext/timeouts/bench/bench-aux.lua \
  140. src/ext/timeouts/bench/bench.c \
  141. src/ext/timeouts/bench/bench-del.lua \
  142. src/ext/timeouts/bench/bench-expire.lua \
  143. src/ext/timeouts/bench/bench.h \
  144. src/ext/timeouts/bench/bench-heap.c \
  145. src/ext/timeouts/bench/bench-llrb.c \
  146. src/ext/timeouts/bench/bench.plt \
  147. src/ext/timeouts/bench/bench-wheel.c \
  148. src/ext/timeouts/bench/Rules.mk \
  149. src/ext/timeouts/lua/Rules.mk \
  150. src/ext/timeouts/lua/timeout-lua.c \
  151. src/ext/timeouts/Makefile \
  152. src/ext/timeouts/Rules.shrc \
  153. src/ext/timeouts/test-timeout.c