summaryrefslogtreecommitdiffstats
path: root/crypto/armcap.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* crypto/armcap.c, crypto/ppccap.c: stricter use of getauxval()Richard Levitte2019-01-161-36/+41
| | | | | | | | | | | | Having a weak getauxval() and only depending on GNU C without looking at the library we build against meant that it got picked up where not really expected. So we change this to check for the glibc version, and since we know it exists from that version, there's no real need to make it weak. Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de> (Merged from https://github.com/openssl/openssl/pull/8028)
* Following the license change, modify the boilerplates in crypto/Richard Levitte2018-12-061-1/+1
| | | | | | | [skip ci] Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/7827)
* crypto/armcap.c: mask SHA512 hardware detection on iOS.Andy Polyakov2018-03-061-1/+1
| | | | | | | | | | When running iOS application from command line it's impossible to get past the failing capability detection. This is because it's executed under debugger and iOS debugger is impossible to deal with. [If Apple implements SHA512 in silicon, it would have to be detected with sysctlbyname.] Reviewed-by: Rich Salz <rsalz@openssl.org>
* Update copyright yearMatt Caswell2018-02-131-1/+1
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* crypto/armcap.c: detect hardware-assisted SHA512 support.Andy Polyakov2018-02-121-0/+15
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* Create a prototype for OPENSSL_rdtscKurt Roeckx2017-11-251-3/+4
| | | | | | | | | | Switch to make it return an uint32_t instead of the various different types it returns now. Fixes: #3125 Reviewed-by: Andy Polyakov <appro@openssl.org> GH: #4757
* Fix typo in files in crypto folderXiaoyin Liu2017-08-051-2/+2
| | | | | | Reviewed-by: Kurt Roeckx <kurt@roeckx.be> Reviewed-by: Andy Polyakov <appro@openssl.org> GH: #4093
* Modify type of variable in OPENSSL_cpuid_setup functionkomainu82017-06-161-1/+1
| | | | | | | | CLA: trivial Reviewed-by: Kurt Roeckx <kurt@roeckx.be> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3651)
* crypto/armcap.c: short-circuit processor capability probe in iOS builds.Andy Polyakov2017-02-151-0/+18
| | | | | | | | | Capability probing by catching SIGILL appears to be problematic on iOS. But since Apple universe is "monocultural", it's actually possible to simply set pre-defined processor capability mask. Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2617)
* Copyright consolidation 07/10Rich Salz2016-05-171-0/+9
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* Add assembly support for 32-bit iOS.Andy Polyakov2015-04-201-1/+1
| | | | | Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org>
* Add assembly support to ios64-cross.Andy Polyakov2015-01-231-2/+4
| | | | | | Fix typos in ios64-cross config line. Reviewed-by: Tim Hudson <tjh@openssl.org>
* Run util/openssl-format-source -v -c .Matt Caswell2015-01-221-121/+123
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* Remove inconsistency in ARM support.Andy Polyakov2015-01-041-1/+6
| | | | | | | | | This facilitates "universal" builds, ones that target multiple architectures, e.g. ARMv5 through ARMv7. See commentary in Configure for details. Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Matt Caswell <matt@openssl.org>
* Add linux-aarch64 taget.Andy Polyakov2014-06-011-9/+62
| | | | | | | armcap.c is shared between 32- and 64-bit builds and features link-time detection of getauxval. Submitted by: Ard Biesheuvel.
* crypto/armcap.c: detect ARMv8 capabilities [in 32-bit build].Andy Polyakov2014-05-041-0/+24
|
* crypto/armcap.c: fix typo in rdtsc subroutine.Andy Polyakov2013-09-151-1/+1
| | | | | PR: 3125 Submitted by: Kyle McMartin
* typoDr. Stephen Henson2011-10-241-1/+1
|
* armcap.c: auto-setup processor capability vector.Andy Polyakov2011-10-201-0/+3
|
* ARM assembler pack: add platform run-time detection.Andy Polyakov2011-07-171-0/+77