diff options
author | Andy Polyakov <appro@openssl.org> | 2006-05-01 13:35:03 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2006-05-01 13:35:03 +0000 |
commit | a9c32ace06f53df167e59d6d3e95e69d063bd608 (patch) | |
tree | 1da15fb19b0f7e21359652ac972a31c2fe19ece5 /crypto/sha/sha_locl.h | |
parent | 2c5d4daac5d23416ab619bfbcb0189227ffdf71f (diff) |
SHA1 for PowerPC.
Diffstat (limited to 'crypto/sha/sha_locl.h')
-rw-r--r-- | crypto/sha/sha_locl.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/crypto/sha/sha_locl.h b/crypto/sha/sha_locl.h index 28fd930032..2f5ab1f58e 100644 --- a/crypto/sha/sha_locl.h +++ b/crypto/sha/sha_locl.h @@ -127,6 +127,13 @@ # define DONT_IMPLEMENT_BLOCK_HOST_ORDER # define sha1_block_data_order sha1_block_asm_data_order # define DONT_IMPLEMENT_BLOCK_DATA_ORDER +# elif defined(_ARCH_PPC) || defined(_ARCH_PPC64) || \ + defined(__ppc) || defined(__ppc__) || defined(__powerpc) || \ + defined(__ppc64) || defined(__ppc64__) || defined(__powerpc64) +# define sha1_block_host_order sha1_block_asm_data_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); |