diff options
author | Andy Polyakov <appro@openssl.org> | 2004-12-09 15:39:55 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2004-12-09 15:39:55 +0000 |
commit | 905fd45b3627553543c3b953f28de2198241edb7 (patch) | |
tree | 5c61fb1087dcf811f584643791aaca8c348355c1 /crypto/sha | |
parent | c162b132eb38e6a14938e23bc4bea207702c39c0 (diff) |
Engage SHA1 IA64 assembler on IA64 platforms.
Diffstat (limited to 'crypto/sha')
-rw-r--r-- | crypto/sha/Makefile.ssl | 2 | ||||
-rw-r--r-- | crypto/sha/sha_locl.h | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/crypto/sha/Makefile.ssl b/crypto/sha/Makefile.ssl index 8d85dd442c..16a4351b01 100644 --- a/crypto/sha/Makefile.ssl +++ b/crypto/sha/Makefile.ssl @@ -64,6 +64,8 @@ sx86-out.s: asm/sha1-586.pl ../perlasm/x86asm.pl s512sse2-out.s: asm/sha512-sse2.pl ../perlasm/x86asm.pl (cd asm; $(PERL) sha512-sse2.pl a.out $(CFLAGS) $(PROCESSOR) > ../$@) +asm/sha1-ia64.s: asm/sha1-ia64.pl + (cd asm; $(PERL) sha1-ia64.pl $(CFLAGS) ) > $@ asm/sha256-ia64.s: asm/sha512-ia64.pl (cd asm; $(PERL) sha512-ia64.pl ../$@ $(CFLAGS)) asm/sha512-ia64.s: asm/sha512-ia64.pl diff --git a/crypto/sha/sha_locl.h b/crypto/sha/sha_locl.h index 210f22f7a6..d1f64c5fd0 100644 --- a/crypto/sha/sha_locl.h +++ b/crypto/sha/sha_locl.h @@ -121,6 +121,11 @@ # define sha1_block_data_order sha1_block_asm_data_order # define DONT_IMPLEMENT_BLOCK_DATA_ORDER # define HASH_BLOCK_DATA_ORDER_ALIGNED sha1_block_asm_data_order +# elif defined(__ia64) || defined(__ia64__) || defined(_M_IA64) +# define sha1_block_host_order sha1_block_asm_host_order +# define DONT_IMPLEMENT_BLOCK_HOST_ORDER +# define sha1_block_data_order sha1_block_asm_data_order +# define DONT_IMPLEMENT_BLOCK_DATA_ORDER # endif # endif void sha1_block_host_order (SHA_CTX *c, const void *p,size_t num); |