summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bn/asm (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove superfluous datatype that is 32 by default. Clang complainspatrick2017-01-041-1/+1
| | | | | | | about it and it's ok to remove it. This only came up as our clang is targeted at armv7 which enables the NEON instructions. ok kettenis@
* Replace all uses of magic numbers when operating on OPENSSL_ia32_P[] bymiod2016-11-044-12/+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-043-1176/+0
| | | | ok deraadt@
* Less IA64.jsing2016-09-042-2406/+0
| | | | ok deraadt@
* switch to a constant-time gather procedure for amd64 mont5 asmbcook2016-09-031-199/+314
| | | | | | | from OpenSSL commit 7f98aa7403a1244cf17d1aa489f5bb0f39bae431 CVE-2016-0702 ok beck@
* More adress -> addressmmcc2015-12-241-1/+1
|
* Remove workaround for old SIMICS toolchain.miod2015-09-121-45/+1
|
* Remove horribly old and outdated `documentation' for the assembly code.miod2015-09-121-27/+0
|
* Fixup inter-bank movq/movd operations, emit bytes for pclmulqdq again.bcook2015-09-112-12/+12
| | | | | | | | | | Fixes builds gcc + Apple's assembler, working on reenabling builds with older OpenBSD releases. based on OpenSSL commit: https://git.openssl.org/?p=openssl.git;a=commitdiff;h=902b30df193afc3417a96ba72a81ed390bd50de3 ok miod@
* typosmiod2015-08-181-1/+1
|
* Fix CVE-2014-3570: properly calculate the square of a BIGNUM value.bcook2015-02-252-534/+180
| | | | | | | | | | | See https://www.openssl.org/news/secadv_20150108.txt for a more detailed discussion. Original OpenSSL patch here: https://github.com/openssl/openssl/commit/a7a44ba55cb4f884c6bc9ceac90072dea38e66d0 The regression test is modified a little for KNF. ok miod@
* deregister; no binary changejsg2014-10-281-3/+3
| | | | ok jsing@ miod@
* typosmiod2014-07-121-1/+1
|
* Fix incorrect bounds check in amd64 assembly version of bn_mul_mont();miod2014-06-202-4/+4
| | | | | noticed and fix by Fedor Indutny of Joyent ( https://github.com/joyent/node/issues/7704 )
* tags as requested by miod and teduderaadt2014-06-121-0/+1
|
* s/assember/assembler/ before someone gets offended. At the lastderaadt2014-06-068-13/+13
| | | | | hackathon, just saying 'ass ember' was enough to start giggles. Unfortunately far more offensive stuff remains in here...
* typosmiod2014-05-031-2/+2
|
* More use of 64-bit registers which needs to be disabled under OpenBSD.miod2014-05-021-0/+2
|
* Do not output SOM-specific directives.miod2014-05-011-0/+6
|
* Fix include filename to get register name aliases under BSDmiod2014-05-011-6/+1
|
* dead meatmiod2014-05-012-2528/+0
|
* First pass at removing win64 support from the assembly generating Perljsing2014-04-302-286/+0
| | | | | | | scripts. We certainly do not need an identical copy of the win64 exception handler in each script (surely one copy would be sufficient). ok miod@
* Remove WIN32, WIN64 and MINGW32 tentacles.miod2014-04-281-4/+0
| | | | | | | | Also check for _LP64 rather than __arch64__ (the former being more reliable than __LP64__ or __arch64__) to tell 64-bit int platforms apart from 32-bit int platforms. Loosely based upon a diff from Martijn van Duren on tech@
* Try to clean the maze of <openssl/bn.h> defines regarding the BN internals.miod2014-04-241-10/+0
| | | | | | | | | | | | | | | | | | | | | | | The intent of this change is to only keep support for two kind of architectures: - those with 32-bit int and long, and 64-bit long long, where ``long * long -> long long'' multiplication routines are available. - those with 64-bit int and long, and no 128-bit long long type. This gets rid of the SIXTY_FOUR_BIT_LONG, SIXTY_FOUR_BIT (not the same!), THIRTY_TWO_BIT, SIXTEEN_BIT and EIGHT_BIT defines. After this change, the types and defines are as follows: arch: 64bit 32bit rationale BN_LLONG undefined defined defined if l * l -> ll BN_ULLONG undefined u long long result of BN_LONG * BN_LONG BN_ULONG u long u int native register size BN_LONG long int the same, signed BN_BITS 128 64 size of 2*BN_ULONG in bits BN_BYTES 8 4 size of 2*BN_ULONG in bytes BN_BITS2 64 32 BN_BITS / 2 Tested on various 32-bit and 64-bit OpenBSD systems of various endianness.
* theo found a file we don't seem to need, but just in case, i will pastetedu2014-04-201-3/+0
| | | | | | the contents below: #!/usr/local/bin/perl # x86 assember
* Go home, VMS, you're drunkmiod2014-04-151-6440/+0
|
* This commit was generated by cvs2git to track changes on a CVS vendormiod2014-04-137-32/+36
|\ | | | | branch.
| * Import OpenSSL 1.0.1gmiod2014-04-137-32/+36
| |
* | This commit was generated by cvs2git to track changes on a CVS vendordjm2012-10-1316-248/+10473
|\| | | | | branch.
| * import OpenSSL-1.0.1cdjm2012-10-1316-248/+10473
| |
* | This commit was generated by cvs2git to track changes on a CVS vendordjm2012-01-052-2/+4
|\| | | | | branch.
| * OpenSSL 1.0.0f: import upstream sourcedjm2012-01-052-2/+4
| |
* | This commit was generated by cvs2git to track changes on a CVS vendordjm2011-11-033-61/+65
|\| | | | | branch.
| * import OpenSSL 1.0.0edjm2011-11-033-61/+65
| |
* | resolve conflicts, fix local changesdjm2010-10-0134-9895/+166
| |
* | This commit was generated by cvs2git to track changes on a CVS vendordjm2010-10-015-189/+218
|\| | | | | branch.
| * import OpenSSL-1.0.0adjm2010-10-018-244/+384
| |
* | This commit was generated by cvs2git to track changes on a CVS vendordjm2009-04-0610-0/+4982
|\| | | | | branch.
| * import of OpenSSL 0.9.8kdjm2009-04-0610-0/+4982
| |
* | This commit was generated by cvs2git to track changes on a CVS vendordjm2009-04-061-0/+327
|\ \ | | | | | | branch.
| * | import of OpenSSL 0.9.8kdjm2009-04-061-0/+327
| /
* | resolve conflictsdjm2008-09-062-22/+99
| |
* | This commit was generated by cvs2git to track changes on a CVS vendordjm2008-09-062-0/+218
|\| | | | | branch.
| * import of OpenSSL 0.9.8hdjm2008-09-064-22/+317
| |
* | This commit was generated by cvs2git to track changes on a CVS vendordjm2008-09-061-0/+603
|\ \ | | | | | | branch.
| * | import of OpenSSL 0.9.8hdjm2008-09-061-0/+603
| | |
| * | import 0.9.7b (without idea and rc5)markus2003-05-111-113/+141
| | |
| * | import openssl-0.9.7-beta1markus2002-09-054-910/+3542
| | |
| * | This commit was manufactured by cvs2git to create branch 'openssl'.cvs2svn2002-05-1530-0/+13518
| | |
* | | resolve conflictsdjm2006-06-271-2/+14
| | |