diff options
author | Andy Polyakov <appro@openssl.org> | 2014-07-20 14:16:31 +0200 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2014-07-20 14:16:31 +0200 |
commit | 0e716d9207e00c9d967492b3b8bb89efad16bd06 (patch) | |
tree | 90f31bde709857570c9f7c4203b816bd6ae870ff /crypto/ppc_arch.h | |
parent | f5b798f50c83bed58d90f940e427552b97eddcb7 (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/ppc_arch.h')
-rw-r--r-- | crypto/ppc_arch.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/crypto/ppc_arch.h b/crypto/ppc_arch.h new file mode 100644 index 0000000000..1192edfa2d --- /dev/null +++ b/crypto/ppc_arch.h @@ -0,0 +1,10 @@ +#ifndef __PPC_ARCH_H__ +#define __PPC_ARCH_H__ + +extern unsigned int OPENSSL_ppccap_P; + +#define PPC_FPU64 (1<<0) +#define PPC_ALTIVEC (1<<1) +#define PPC_CRYPTO207 (1<<2) + +#endif |