7 -LIB=-lpcap -lssl -lcrypto
8 -PROGRAM=parasite6 dos-new-ip6 detect-new-ip6 fake_router6 fake_advertise6 fake_mld6 fake_mipv6 redir6 smurf6 alive6 toobig6 rsmurf6 test_implementation6 sendpees6
9 +OPT=-O2 $(if $(USE_SSL),-DUSE_SSL,)
10 +LIB=-lpcap $(if $(USE_SSL),-lssl -lcrypto,)
11 +PROGRAM=parasite6 dos-new-ip6 detect-new-ip6 fake_router6 fake_advertise6 fake_mld6 fake_mipv6 redir6 smurf6 alive6 toobig6 rsmurf6 test_implementation6 $(if $(USE_SSL),sendpees6,)
13 all: thc-ipv6-lib.o $(PROGRAM)
22 #include <openssl/evp.h>
23 #include <openssl/sha.h>
34 thc_key_t *thc_generate_key(int key_len)
43 thc_timestamp_hdr *generate_timestamp(void)
50 thc_rsa_hdr *thc_generate_rsa(char *data2sign, int data2sign_len, thc_cga_hdr *cga_hdr, thc_key_t *key)
65 #include <openssl/rsa.h>
68 #define VERSION "v0.7"
69 #define AUTHOR "van Hauser / THC <vh@thc.org>"
88 extern thc_key_t *thc_generate_key(int key_len);
89 extern thc_cga_hdr *thc_generate_cga(unsigned char *prefix, thc_key_t *key, unsigned char **cga);