include.am 5.8 KB

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