summaryrefslogtreecommitdiffstats
path: root/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
|
* Import OpenSSL 1.0.1gmiod2014-04-137-32/+36
|
* import OpenSSL-1.0.1cdjm2012-10-1316-248/+10473
|
* OpenSSL 1.0.0f: import upstream sourcedjm2012-01-052-2/+4
|
* import OpenSSL 1.0.0edjm2011-11-033-61/+65
|
* resolve conflicts, fix local changesdjm2010-10-0133-9894/+164
|
* import OpenSSL-1.0.0adjm2010-10-016-190/+220
|
* import of OpenSSL 0.9.8kdjm2009-04-0611-0/+5309
|
* resolve conflictsdjm2008-09-062-22/+99
|
* import of OpenSSL 0.9.8hdjm2008-09-063-0/+821
|
* import of openssl-0.9.7jdjm2006-06-272-15/+24
|
* resolve conflictsdjm2005-04-291-131/+86
|
* import of openssl-0.9.7g; tested on platforms from alpha to zaurus, ok deraadt@djm2005-04-292-18/+2117
|
* merge 0.9.7dmarkus2004-04-081-1/+1
|
* import openssl-0.9.7dmarkus2004-04-071-1/+1
|
* use bn_asm_vax.S (from netbsd); test + ok by miodmarkus2003-11-181-1/+1
| | | | | | | | use asm code for i386, except for the CBC code, because it is not clean PIC code. add <machime/asm.h> support to x86unix.pl tested by: nick (on 30386), henning, djm, tedu, jmc and more; no shlib minor crank necessary, only internal symbols changed.
* merge 0.9.7b with local changes; crank majors for libssl/libcryptomarkus2003-05-122-131/+159
|
* import 0.9.7b (without idea and rc5)markus2003-05-112-64/+746
|
* OpenSSL 0.9.7 stable 2002 05 08 mergebeck2002-05-154-492/+1920
|
* merge openssl 0.9.6b-enginebeck2001-08-011-185/+245
| | | | | Note that this is a maintenence release, API's appear *not* to have changed. As such, I have only increased the minor number on these libraries
* openssl-engine-0.9.6a mergebeck2001-06-223-6/+6
|
* openssl-engine0.9.6 mergebeck2000-12-153-0/+0
| | | | Again, be sure to whack an old /usr/obj/lib/libssl if you are doing builds
* openssl-engine-0.9.6 mergebeck2000-12-153-417/+3224
|
* OpenSSL 0.9.5a mergebeck2000-04-153-2779/+0
|
* OpenSSL 0.9.5 mergebeck2000-03-193-635/+1932
| | | | | | *warning* this bumps shared lib minors for libssl and libcrypto from 2.1 to 2.2 if you are using the ssl26 packages for ssh and other things to work you will need to get new ones (see ~beck/libsslsnap/<arch>) on cvs or ~beck/src-patent.tar.gz on cvs