summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/aes/asm (follow)
Commit message (Collapse)AuthorAgeFilesLines
* On OpenBSD/armv7 we deliberately trap unaligned access. Unfortunatelykettenis2018-01-071-7/+7
| | | | | | | | the assembly code in libcrypto assumes unaligned access is allowed for ARMv7. Make these paths conditional on __STRICT_ALIGNMENT not being defined and define __STRICT_ALIGNMENT in arm_arch.h for OpenBSD. ok tom@
* http://repzret.org/p/repzret/deraadt2017-12-111-5/+5
| | | | | | | | | | My read of this: Long time ago (Think Conan, not dinasaurs) during the race to make speedier processors, a cpu vendor built a pipeline with a bad stall, and proposed a tremendously hasky workaround. A wizard adopted this into his perl scroll, and failed to reflect later when no compiler adopted the practice. This relic remains at the tail end of some functions in OpenSSL as ".byte 0xf3,0xc3". Banish it straight to hell. ok mlarkin, others also stared blankly
* Replace all uses of magic numbers when operating on OPENSSL_ia32_P[] bymiod2016-11-043-10/+13
| | | | | | | | | | | | | | | 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@
* Less S390.jsing2016-09-041-2237/+0
| | | | ok deraadt@
* Less IA64.jsing2016-09-041-1123/+0
| | | | ok deraadt@
* Remove the logic responsible for outputting most AES-NI instructions asmiod2015-07-192-46/+0
| | | | | | | | | raw byte sequences. The toolchains have had some time to update and assemble the instructions correctly (except for p{ins,ext}rd which are not supported yet by as(1) under OpenBSD, but will be fixed shortly). Inspired by a discussion between tedu@ and John-Mark Gurney. Verified to still work on Mac OS X and average Linux distros by bcook@
* Replace `.byte 0x48,0x83,0xEC,0x08' with `sub \$8,%rsp' which is exactly themiod2015-07-191-2/+2
| | | | same four bytes, unobfuscated.
* extenstion -> extensionmiod2015-07-171-1/+1
|
* Make sure to load absolute symbol address with `dla' instead of `la' whenmiod2014-12-071-4/+10
| | | | generating code for 64-bit mips userland.
* Remove OPENSSL_FIPSCANISTER mentions.miod2014-12-071-4/+0
|
* Kill more FIPS tentacles by removing the private_AES_set_{enc,dec}rypt_key()miod2014-07-095-51/+51
| | | | | | | | internal interfaces, and promoting them to being the public AES_set_{enc,dec}rypt_key() interfaces. In non-FIPS mode, these public interfaces were directly calling the private ones. ok guenther@ jsing@
* Do not output SOM-specific directives.miod2014-05-011-0/+6
|
* Merge conflicts; remove MacOS, Netware, OS/2, VMS and Windows build machinery.miod2014-04-132-2/+4
|
* This commit was generated by cvs2git to track changes on a CVS vendormiod2014-04-136-76/+126
|\ | | | | branch.
| * Import OpenSSL 1.0.1gmiod2014-04-138-78/+130
| |
* | On amd64 OPENSSL_cpuid_setup and OPENSSL_ia32cap_P are now hidden so we don'tkettenis2012-10-311-1/+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-133-226/+2311
| |
* | This commit was generated by cvs2git to track changes on a CVS vendordjm2012-10-1311-252/+12671
|\| | | | | branch.
| * import OpenSSL-1.0.1cdjm2012-10-1314-478/+14982
| |
* | This commit was generated by cvs2git to track changes on a CVS vendordjm2011-11-031-199/+198
|\| | | | | branch.
| * import OpenSSL 1.0.0edjm2011-11-031-199/+198
| |
* | resolve conflicts, fix local changesdjm2010-10-012-479/+1926
| |
* | This commit was generated by cvs2git to track changes on a CVS vendordjm2010-10-014-519/+1769
|\| | | | | branch.
| * import OpenSSL-1.0.0adjm2010-10-015-996/+3693
| |
| * This commit was manufactured by cvs2git to create branch 'unlabeled-1.1.1'.cvs2svn2010-07-011-0/+992
| |
* | AES-NI engine support for OpenSSL.thib2010-07-011-0/+992
| | | | | | | | | | | | | | | | | | | | This is code mostly picked up from upstream OpenSSL, or to be more exact a diff from David Woodhouse <dwmw2 at infradead dot org>. Remember to make includes before doing a build! no objections from djm@ OK deraadt@, reyk@ (AES is about 4.25x faster on his x201 now)
* | This commit was generated by cvs2git to track changes on a CVS vendordjm2009-04-064-0/+4720
|\| | | | | branch.
| * import of OpenSSL 0.9.8kdjm2009-04-064-0/+4720
| |
* | resolve conflictsdjm2009-01-091-1/+2
| |
* | This commit was generated by cvs2git to track changes on a CVS vendordjm2009-01-091-3/+4
|\| | | | | branch.
| * import openssl-0.9.8jdjm2009-01-092-4/+6
| |
* | fix some cause of bad TEXTREL on i386 and amd64otto2008-09-191-4/+4
| | | | | | | | | | | | | | - 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@
* | resolve conflictsdjm2008-09-061-833/+824
| |
* | This commit was generated by cvs2git to track changes on a CVS vendordjm2008-09-062-0/+2701
|\| | | | | branch.
| * import of OpenSSL 0.9.8hdjm2008-09-063-833/+3525
| |
| * This commit was manufactured by cvs2git to create branch 'unlabeled-1.1.1'.cvs2svn2005-05-101-0/+1541
|
* import i386 AES asm code from openssl.org; ok and help with testing djm@markus2005-05-101-0/+1541