mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-26 15:42:34 +01:00
For prop220, we have a new ed25519 certificate type. This patch implements the code to create, parse, and validate those, along with code for routers to maintain their own sets of certificates and keys. (Some parts of master identity key encryption are done, but the implementation of that isn't finished)
35 lines
959 B
Text
35 lines
959 B
Text
|
|
noinst_LIBRARIES += \
|
|
src/trunnel/libor-trunnel.a
|
|
|
|
if UNITTESTS_ENABLED
|
|
noinst_LIBRARIES += \
|
|
src/trunnel/libor-trunnel-testing.a
|
|
endif
|
|
|
|
AM_CPPFLAGS += -I$(srcdir)/src/ext/trunnel -I$(srcdir)/src/trunnel
|
|
|
|
TRUNNELINPUTS = \
|
|
src/trunnel/ed25519_cert.trunnel \
|
|
src/trunnel/pwbox.trunnel
|
|
|
|
TRUNNELSOURCES = \
|
|
src/ext/trunnel/trunnel.c \
|
|
src/trunnel/ed25519_cert.c \
|
|
src/trunnel/pwbox.c
|
|
|
|
TRUNNELHEADERS = \
|
|
src/ext/trunnel/trunnel.h \
|
|
src/ext/trunnel/trunnel-impl.h \
|
|
src/trunnel/trunnel-local.h \
|
|
src/trunnel/ed25519_cert.h \
|
|
src/trunnel/pwbox.h
|
|
|
|
src_trunnel_libor_trunnel_a_SOURCES = $(TRUNNELSOURCES)
|
|
src_trunnel_libor_trunnel_a_CPPFLAGS = -DTRUNNEL_LOCAL_H $(AM_CPPFLAGS)
|
|
|
|
src_trunnel_libor_trunnel_testing_a_SOURCES = $(TRUNNELSOURCES)
|
|
src_trunnel_libor_trunnel_testing_a_CPPFLAGS = -DTOR_UNIT_TESTS -DTRUNNEL_LOCAL_H $(AM_CPPFLAGS)
|
|
src_trunnel_libor_trunnel_testing_a_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS)
|
|
|
|
noinst_HEADERS+= $(TRUNNELHEADERS)
|