forked from lix-project/lix
d6f586d0ea
implementations of MD5, SHA-1 and SHA-256. The main benefit is that we get assembler-optimised implementations of MD5 and SHA-1 (though not SHA-256 (at least on x86), unfortunately). OpenSSL's SHA-1 implementation on Intel is twice as fast as ours.
12 lines
276 B
Makefile
12 lines
276 B
Makefile
lib_LTLIBRARIES = libutil.la
|
|
|
|
libutil_la_SOURCES = util.cc util.hh hash.cc hash.hh \
|
|
archive.cc archive.hh aterm.cc aterm.hh
|
|
|
|
if !HAVE_OPENSSL
|
|
libutil_la_SOURCES += \
|
|
md5.c md5.h sha1.c sha1.h sha256.c sha256.h md32_common.h
|
|
endif
|
|
|
|
AM_CXXFLAGS = -Wall -I.. ${aterm_include}
|