summaryrefslogtreecommitdiffstats
path: root/crypto/ppccap.c
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2014-07-20 14:16:31 +0200
committerAndy Polyakov <appro@openssl.org>2014-07-20 14:16:31 +0200
commit0e716d9207e00c9d967492b3b8bb89efad16bd06 (patch)
tree90f31bde709857570c9f7c4203b816bd6ae870ff /crypto/ppccap.c
parentf5b798f50c83bed58d90f940e427552b97eddcb7 (diff)
Engage GHASH for PowerISA 2.0.7.
[and split ppccap.c to ppccap.c and ppc_arch.h] Reviewed-by: Kurt Roeckx <kurt@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'crypto/ppccap.c')
-rw-r--r--crypto/ppccap.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/crypto/ppccap.c b/crypto/ppccap.c
index cad14fd67b..13c2ca5162 100644
--- a/crypto/ppccap.c
+++ b/crypto/ppccap.c
@@ -10,9 +10,7 @@
#include <crypto.h>
#include <openssl/bn.h>
-#define PPC_FPU64 (1<<0)
-#define PPC_ALTIVEC (1<<1)
-#define PPC_CRYPTO207 (1<<2)
+#include "ppc_arch.h"
unsigned int OPENSSL_ppccap_P = 0;