include_directories(. .. ../../include)

add_library(
	dh

	OBJECT

	dh.c
	dh_impl.c
	params.c
	check.c
	dh_asn1.c
	dh_error.c
)

add_executable(
	dh_test

	dh_test.c
)

target_link_libraries(dh_test crypto)
