projects
/
crypto.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Enabled AES assembler support on x86-64 in shared libraries.
[crypto.git]
/
lib
/
silccrypt
/
Makefile.ad
diff --git
a/lib/silccrypt/Makefile.ad
b/lib/silccrypt/Makefile.ad
index 56de2636d99fdac10e1d7a6e40cdf1e49b7bb9b0..a6204ef7f38725a63ea5fce4ebf185f4b3d15e45 100644
(file)
--- a/
lib/silccrypt/Makefile.ad
+++ b/
lib/silccrypt/Makefile.ad
@@
-3,7
+3,7
@@
#
# Author: Pekka Riikonen <priikone@silcnet.org>
#
#
# Author: Pekka Riikonen <priikone@silcnet.org>
#
-# Copyright (C) 2000 - 200
6
Pekka Riikonen
+# Copyright (C) 2000 - 200
8
Pekka Riikonen
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@
-24,7
+24,7
@@
if SILC_I486
SILC_AES_S = aes_x86.asm aes.c
endif
if SILC_X86_64
SILC_AES_S = aes_x86.asm aes.c
endif
if SILC_X86_64
-SILC_AES_S = aes_x86_
8
4.asm aes.c
+SILC_AES_S = aes_x86_
6
4.asm aes.c
endif
else
SILC_AES_S = aes.c
endif
else
SILC_AES_S = aes.c
@@
-32,15
+32,19
@@
endif
libsilccrypt_la_SOURCES = \
none.c \
libsilccrypt_la_SOURCES = \
none.c \
- rc5.c \
md5.c \
$(SILC_AES_S) \
rsa.c \
md5.c \
$(SILC_AES_S) \
rsa.c \
+ dsa.c \
sha1.c \
sha256.c \
sha1.c \
sha256.c \
+ sha256_x86.S \
+ sha512.c \
twofish.c \
blowfish.c \
twofish.c \
blowfish.c \
- cast.c \
+ cast5.c \
+ des.c \
+ silccrypto.c \
silccipher.c \
silchash.c \
silchmac.c \
silccipher.c \
silchash.c \
silchmac.c \
@@
-49,47
+53,26
@@
libsilccrypt_la_SOURCES = \
silcpkcs1.c \
silcpk.c
silcpkcs1.c \
silcpk.c
-if SILC_LIBTOOLFIX
-# Tell libtool to compile silccrypt as shared since silcsim will need it.
-LTFLAGS = --libtool-enable-shared
-else
-LTFLAGS =
-endif
-
-CFLAGS = $(LTFLAGS) @SILC_CRYPTO_CFLAGS@
+CFLAGS = @SILC_CRYPTO_CFLAGS@
-#ifdef SILC_DIST_TOOLKIT
include_HEADERS = \
include_HEADERS = \
- aes.h \
- blowfish.h \
- cast.h \
- ciphers_def.h \
- ciphers.h \
- md5.h \
- none.h \
- rc5.h \
- rsa.h \
- sha1.h \
- sha1_internal.h \
- sha256.h \
- sha256_internal.h \
+ silccrypto.h \
silccipher.h \
silccipher.h \
- silc
dh.h
\
+ silc
cipher_i.h
\
silchash.h \
silchmac.h \
silcpkcs.h \
silchash.h \
silchmac.h \
silcpkcs.h \
+ silcpkcs_i.h \
silcrng.h \
silcpkcs1.h \
silcrng.h \
silcpkcs1.h \
- twofish.h \
silcpk.h
SILC_EXTRA_DIST = tests
silcpk.h
SILC_EXTRA_DIST = tests
-#endif SILC_DIST_TOOLKIT
SUFFIXES = .asm
.asm.lo:
SUFFIXES = .asm
.asm.lo:
- $(LIBTOOL) --tag=CC --mode=compile @SILC_ASSEMBLER@ $<
+ $(LIBTOOL) --tag=CC --mode=compile @SILC_ASSEMBLER@ $<
@SILC_AES_ASM_FLAGS@
EXTRA_DIST = *.h *.asm $(SILC_EXTRA_DIST)
EXTRA_DIST = *.h *.asm $(SILC_EXTRA_DIST)