summaryrefslogtreecommitdiff
path: root/crypto/cipher/CMakeLists.txt
blob: 40e239ca55b631c9f3f3634ef1242cdc051a2fb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
include_directories(. .. ../../include)

add_library(
	cipher

	OBJECT

	cipher.c
	cipher_error.c
	derive_key.c
	aead.c

	e_null.c
	e_rc2.c
	e_rc4.c
	e_des.c
	e_aes.c
	e_chacha20poly1305.c
)

add_executable(
	cipher_test

	cipher_test.c
)

add_executable(
	aead_test

	aead_test.c
)

target_link_libraries(cipher_test crypto)
target_link_libraries(aead_test crypto)