Makefile.crypto (d899be7d43d8df9cb485af5705e2724165a461c7) Makefile.crypto (cd4308d21f9801ad25ee39de4dd53e86102a33e3)
1# $FreeBSD$
2
3.if ${MK_OPENSSL} != "no" && !defined(RELEASE_CRUNCH)
4SRCS+= crypto_openssl.c random.c sha1-prf.c sha256-prf.c
5LIBADD+= ssl crypto
6CFLAGS+= -DCONFIG_SHA256
7.else
8CFLAGS+=-DCONFIG_CRYPTO_INTERNAL

--- 39 unchanged lines hidden (view full) ---

48NEED_RC4=y
49.else
50CFLAGS+=-DEAP_TLS_OPENSSL
51SRCS+= tls_openssl.c
52.endif
53.endif
54
55.if defined(CONFIG_INTERNAL_AES)
1# $FreeBSD$
2
3.if ${MK_OPENSSL} != "no" && !defined(RELEASE_CRUNCH)
4SRCS+= crypto_openssl.c random.c sha1-prf.c sha256-prf.c
5LIBADD+= ssl crypto
6CFLAGS+= -DCONFIG_SHA256
7.else
8CFLAGS+=-DCONFIG_CRYPTO_INTERNAL

--- 39 unchanged lines hidden (view full) ---

48NEED_RC4=y
49.else
50CFLAGS+=-DEAP_TLS_OPENSSL
51SRCS+= tls_openssl.c
52.endif
53.endif
54
55.if defined(CONFIG_INTERNAL_AES)
56SRCS+= aes-internal.c \
56SRCS+= aes-unwrap.c aes-wrap.c \
57 aes-internal.c \
57 aes-internal-dec.c \
58 aes-internal-enc.c
59.endif
60
61.if defined(NEED_AES_CBC)
62SRCS+= aes-cbc.c
63.endif
64

--- 22 unchanged lines hidden (view full) ---

87
88.if defined(NEED_MD4)
89.if defined(CONFIG_INTERNAL_MD4)
90SRCS+= md4-internal.c
91.endif
92.endif
93
94.if defined(CONFIG_INTERNAL_MD5)
58 aes-internal-dec.c \
59 aes-internal-enc.c
60.endif
61
62.if defined(NEED_AES_CBC)
63SRCS+= aes-cbc.c
64.endif
65

--- 22 unchanged lines hidden (view full) ---

88
89.if defined(NEED_MD4)
90.if defined(CONFIG_INTERNAL_MD4)
91SRCS+= md4-internal.c
92.endif
93.endif
94
95.if defined(CONFIG_INTERNAL_MD5)
95SRCS+= md5-internal.c
96SRCS+= md5.c md5-internal.c
96.endif
97
98.if defined(NEED_FIPS186_2_PRF)
99.if defined(CONFIG_INTERNAL_SHA1)
100SRCS+= fips_prf_internal.c
101.else
102SRCS+= fips_prf_openssl.c
103.endif

--- 29 unchanged lines hidden ---
97.endif
98
99.if defined(NEED_FIPS186_2_PRF)
100.if defined(CONFIG_INTERNAL_SHA1)
101SRCS+= fips_prf_internal.c
102.else
103SRCS+= fips_prf_openssl.c
104.endif

--- 29 unchanged lines hidden ---