diff options
author | Andy Polyakov <appro@openssl.org> | 2006-05-01 15:35:03 +0200 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2006-05-01 15:35:03 +0200 |
commit | a9c32ace06f53df167e59d6d3e95e69d063bd608 (patch) | |
tree | 1da15fb19b0f7e21359652ac972a31c2fe19ece5 /crypto/md32_common.h | |
parent | Yet another "teaser" Montgomery multiplication module, for PowerPC. (diff) | |
download | openssl-a9c32ace06f53df167e59d6d3e95e69d063bd608.tar.xz openssl-a9c32ace06f53df167e59d6d3e95e69d063bd608.zip |
SHA1 for PowerPC.
Diffstat (limited to 'crypto/md32_common.h')
-rw-r--r-- | crypto/md32_common.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/md32_common.h b/crypto/md32_common.h index 2afe045c5d..3ed16f380f 100644 --- a/crypto/md32_common.h +++ b/crypto/md32_common.h @@ -206,7 +206,8 @@ : "cc"); \ ret; \ }) -# elif defined(__powerpc) || defined(__ppc__) || defined(__powerpc64__) +# elif defined(_ARCH_PPC) || defined(_ARCH_PPC64) || \ + defined(__powerpc) || defined(__ppc__) || defined(__powerpc64__) # define ROTATE(a,n) ({ register unsigned int ret; \ asm ( \ "rlwinm %0,%1,%2,0,31" \ |