summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x86_64cpuid.pl (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove now unused x86_64cpuid.pl.jsing2024-10-181-147/+0
|
* Remove .init section that calls OPENSSL_cpuid_setup on amd64.jsing2024-03-281-10/+0
| | | | | | | OPENSSL_cpuid_setup() is already called from OPENSSL_crypto_init(), hence we do not need or want automatic initialisation on library load. ok tb@
* Replace uses of endbr64 with _CET_ENDBR from cet.htb2024-02-241-2/+2
| | | | | | | | | cet.h is needed for other platforms to emit the relevant .gnu.properties sections that are necessary for them to enable IBT. It also avoids issues with older toolchains on macOS that explode on encountering endbr64. based on a diff by kettenis ok beck kettenis
* Add endbr64 where needed by inspection. Passes regresson tests.deraadt2023-04-251-0/+2
| | | | ok jsing, and kind of tb an earlier version
* A refactoring back in 2016 in which magic numbers where extracted intoanton2023-04-041-0/+1
| | | | | | | named constants accidentally dropped an instruction causing detection of eXtended operations (XOP) on AMD hardware to break. ok miod@ tb@
* Remove non-visible and unused OPENSSL_wipe_cpu and OPENSSL_atomic_addmiod2023-01-171-48/+0
| | | | | | | interfaces, and remove empty assembly OPENSSL_cpuid_setup routines - the default empty C fallback will work as good. ok jsing@
* Replace all uses of magic numbers when operating on OPENSSL_ia32_P[] bymiod2016-11-041-16/+20
| | | | | | | | | | | | | | | meaningful constants in a private header file, so that reviewers can actually get a chance to figure out what the code is attempting to do without knowing all cpuid bits. While there, turn it from an array of two 32-bit ints into a properly aligned 64-bit int. Use of OPENSSL_ia32_P is now restricted to the assembler parts. C code will now always use OPENSSL_cpu_caps() and check for the proper bits in the whole 64-bit word it returns. i386 tests and ok jsing@
* A few months back there was a big community fuss regarding direct-usederaadt2014-06-021-17/+0
| | | | | | | | | | | | of the intel RDRAND instruction. Consensus was RDRAND should probably only be used as an additional source of entropy in a mixer. Guess which library bends over backwards to provide easy access to RDRAND? Yep. Guess which applications are using this support? Not even one... but still, this is being placed as a trap for someone. Send this support straight to the abyss. ok kettenis
* repair missing semicolon. from Ian Mcwilliamtedu2014-04-241-1/+1
|
* Don't bother generating win64 assembly prologue.miod2014-04-231-26/+2
|
* Remove oh-so-important-from-a-security-pov OpenSSL_rtdsc() function.miod2014-04-171-10/+0
|
* Ok, there was a need for OPENSSL_cleanse() instead of bzero() to preventmiod2014-04-171-35/+0
| | | | | | | | | | | supposedly smart compilers from optimizing memory cleanups away. Understood. Ok, in case of an hypothetically super smart compiler, OPENSSL_cleanse() had to be convoluted enough for the compiler not to recognize that this was actually bzero() in disguise. Understood. But then why there had been optimized assembler versions of OPENSSL_cleanse() is beyond me. Did someone not trust the C obfuscation?
* Merge conflicts; remove MacOS, Netware, OS/2, VMS and Windows build machinery.miod2014-04-131-1/+2
|
* On amd64 OPENSSL_cpuid_setup and OPENSSL_ia32cap_P are now hidden so we don'tkettenis2012-10-311-2/+1
| | | | | | | | | | have to go through the PLT/GOT to get at them anymore. In fact going through the GOT now fails since we no longer have a GOT entry for OPENSSL_ia32cap_P. Fixes the problem spotted by jasper@ and sthen@. Based on a diff from mikeb@ who did most of the actual work of tracking down the issue. ok millert@, mikeb@
* resolve conflictsdjm2012-10-131-18/+69
|
* resolve conflicts, fix local changesdjm2010-10-011-92/+164
|
* fix some cause of bad TEXTREL on i386 and amd64otto2008-09-191-1/+3
| | | | | | | - global function calls in .init sections (diff makes them via PLT) - calls to global functions in aes-586.S (made static or local) - global variable accesses in rc4-x86_64.S (now made via GOT) from djm@large; ok miod@
* import of OpenSSL 0.9.8hdjm2008-09-061-0/+159