diff options
author | Bernd Edlinger <bernd.edlinger@hotmail.de> | 2019-01-17 15:15:57 +0100 |
---|---|---|
committer | Bernd Edlinger <bernd.edlinger@hotmail.de> | 2019-01-21 15:42:04 +0100 |
commit | c8f370485c43729db44b680e41e875ddd7f3108c (patch) | |
tree | 9ebee84bc6e1cb074273a68000f41f6ee100f887 /crypto/cryptlib.c | |
parent | 11642f35531e6afc5d6c4135c5e2ea6057e0e39a (diff) | |
download | openssl-c8f370485c43729db44b680e41e875ddd7f3108c.zip openssl-c8f370485c43729db44b680e41e875ddd7f3108c.tar.gz openssl-c8f370485c43729db44b680e41e875ddd7f3108c.tar.bz2 |
PPC: Try out if mftb works before using it
If this fails try out if mfspr268 works.
Use OPENSSL_ppccap=0x20 for enabling mftb,
OPENSSL_ppccap=0x40 for enabling mfspr268,
and OPENSSL_ppccap=0 for enabling neither.
Fixes #8012
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/8043)
Diffstat (limited to 'crypto/cryptlib.c')
-rw-r--r-- | crypto/cryptlib.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/crypto/cryptlib.c b/crypto/cryptlib.c index 9cf264b..9018358 100644 --- a/crypto/cryptlib.c +++ b/crypto/cryptlib.c @@ -460,4 +460,14 @@ uint32_t OPENSSL_rdtsc(void) { return 0; } + +size_t OPENSSL_instrument_bus(unsigned int *out, size_t cnt) +{ + return 0; +} + +size_t OPENSSL_instrument_bus2(unsigned int *out, size_t cnt, size_t max) +{ + return 0; +} #endif |