summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto/arch
AgeCommit message (Collapse)AuthorFilesLines
2020-06-29Disable assembly code for powerpc64; more work is needed to make it work.kettenis1-8/+9
2020-06-28Switch back to bn_mul_mont_int since the bn_mul_mont_fpu64 code isn'tkettenis1-3/+3
hooked up and the lack of a bn_mul_mont_int implementation results in undefined references.
2020-06-26Accidentally doubled these files on first commit. Correcting.drahn2-194/+1
2020-06-25Intial attempt at powerpc64 libcrypto pieces.drahn2-0/+386
just commit this kettenis@
2019-07-02Add cpuid support for arm64 so that we can recognize whichpatrick1-1/+4
hardware crypto features are available. "no objections" kettenis@
2019-05-11Remove commented out rc5 bitstb7-17/+32
2017-08-20sprinkle a few missing dependencies on perl scripts internal bits.espie2-8/+14
'it works' deraadt@
2017-01-11Add support for AArch64.patrick2-0/+182
2016-11-11Disable ec assembly for amd64 pending fixes for ssh, and bumpbeck1-4/+4
majors appropriately
2016-11-04Ride the current major bump and enable assembler code for nist 256p curve,miod4-3/+19
on amd64 only for now. Stanzas to enable it on arm, i386 and sparc64 are provided but commented out for lack of testing due to the machine room being currently in storage. ok jsing@
2016-11-04Remove I386_ONLY define. It was only used to prefer amiod11-30/+154
faster-on-genuine-80386-but-slower-on-80486-onwards innstruction sequence in the SHA512 code, and had not been enabled in years, if at all. ok tom@ bcook@
2016-09-04Less vax.jsing3-614/+0
ok deraadt@
2016-09-01remove sparc supporttedu2-186/+0
2016-05-11remove hppa64 port, which we never got going beyond broken single users.deraadt1-157/+0
hppa reverse-stack gives us a valuable test case, but most developers don't have a 2nd one to proceed further with this. ok kettenis
2015-09-11Pass "openbsd" instead of "openbsd-elf" as the "flavour" to the perl assemblermiod1-2/+2
machinery. OpenBSD has never been not ELF on amd64, and changing this will actually make -portable life slightly easier in the near future.
2015-06-19Disable ENGINE_load_dynamic (dynamic engine support).bcook13-13/+0
We do not build, test or ship any dynamic engines, so we can remove the dynamic engine loader as well. This leaves a stub initialization function in its place. ok beck@, reyk@, miod@
2015-03-18In the neverending saga of enabling and disabling assembler code for shamiod1-5/+1
routines on hppa, the cause for sha512-parisc subtly misbehaving has been found: despite having fallback pa1.1 code when running on a 32-bit cpu, the shift constants used in the sigma computations in sha512 are >= 32 and are silently truncated to 5 bits by the assembler, so there is no chance of getting this code to work on a non-pa2.0 processor. However, the pa1.1 fallback code for sha256 is safe, as it never attempts to shift by more than 31, so reenable it again.
2015-03-05Do not use sha512-parisc for now, as it is subtly bugged - passes the shamiod1-1/+3
regress tests but causes tls ciphersuite using sha386 to fail; found the hard way by henning@. I can't see anything wrong in the generated assembly code yet, but building a libcrypto with no assembler code but sha512_block_data_order() is enough to trigger Henning's issue, so the bug lies there. No ABI change; ok deraadt@
2014-12-07Revert to the use of C code for the basic BN routines (bn_add_words,miod1-2/+7
bn_div_words, bn_mul_add_words, bn_mul_words, bn_sqr_words, bn_sub_words) on sgi, because the generated assembly code isn't R4000-safe.
2014-11-22mop up a barely started project... getting in the way of grepping the tree!deraadt1-4/+0
2014-11-17Add the Cammelia cipher to libcrypto.miod10-9/+30
There used to be a strong reluctance to provide this cipher in LibreSSL in the past, because the licence terms under which Cammelia was released by NTT were free-but-not-in-the-corners, by restricting the right to modify the source code, as well retaining the right to enforce their patents against anyone in the future. However, as stated in http://www.ntt.co.jp/news/news06e/0604/060413a.html , NTT changed its mind and made this code truly free. We only wish there had been more visibility of this, for we could have had enabled Cammelia earlier (-: Licence change noticed by deraadt@. General agreement from the usual LibreSSL suspects. Crank libcrypto.so minor version due to the added symbols.
2014-09-27Revert r1.5 and reenable assembler version of ghash now that it has beenmiod1-3/+3
fixed.
2014-09-27Disable assembler code for ghash on hppa, causes wrong computations in somemiod1-3/+3
cases and breaks TLS 1.2; crank libcrypto.so minor version out of safety and to be able to tell broken versions apart easily.
2014-08-11Guard RSA / RC4-5 ASM when NO_ASM is not definedbcook1-1/+3
Most assembly blocks remain inactive if OPENSSL_NO_ASM is not defined, only enabling inline assembly, but the RSA / RC4-5 blocks (used only in amd64 systems) turn on implicitly. Guard these two as well. This simplifies enabling just inline ASM in portable, no effective change in OpenBSD.
2014-07-11i'm a dumbdumb. fix build.tedu14-15/+15
2014-07-11move all the feature settings to a common header.tedu14-937/+15
probably ok beck jsing miod
2014-07-11Make sure we leave OPENSSL_NO_PSK in the conf files so thingsbeck13-0/+13
can know... ok jsing@
2014-05-27Fix ia64 cross-gcc target.tobiasu1-0/+3
opensslconf.h is just a dummy, we're lightyears away from working userspace. ok deraadt@
2014-05-07miod forgot about fcrypt_b.c being needed, before he went off to get hisderaadt1-1/+2
beauty sleep. He's probably having a nightmare about this right now.... ok tedu
2014-05-06Sort CFLAGS, SRC and SSLASM stanzas by the directories they apply to, to makemiod2-68/+83
these files similar in layout to the other md Makefile.inc; no functional change.
2014-05-05Enable assembler code for DES. Assembler code for BN is commented out as itmiod1-0/+27
uses the `umul' and `udiv' instructions directly, which are not supported on v7 processors.
2014-05-04Enable the assembler code for BN, which was lost quite some time ago.miod1-0/+19
2014-05-03Enable assembler code for AES, DES, GCM, SHA1, SHA256 and SHA512.miod1-0/+46
The sparcv9 BN code is not enabled, as it expects to run on a 32-bit userland and will need to be fixed for 64-bit userland first.
2014-05-03Enable assembler code for AES, BN (Montgomery), GCM128, SHA1, SHA256 and SHA512.miod1-0/+45
Note that GCM128 Neon code is currently not built (and thus not tested), as the current toolchain does not support Neon instructions.
2014-05-03Correctly enable Montgomery code.miod1-1/+2
2014-05-03Enable assembler bits for BN (Montgomery), SHA1 and SHA256.miod1-0/+44
Assembler bits for AES remain commented out as they run slower than the C code.
2014-05-02Correctly enable assembler Montgomery routine.miod1-1/+2
2014-05-02Correctly enable assembler Montgomery routine.miod1-1/+2
2014-05-02Reenable assembler code for SHA384 and SHA512 now that it no longer miscomputesmiod1-3/+3
things. Worth doing as it's twice faster than the C code.
2014-05-02Disable assembler version of SHA512 for now, it produces wrong results.miod1-3/+3
2014-05-01Enable use of assembly code for AES, BN (Montgomery), SHA1, SHA256 and SHA512.miod1-0/+50
RC4 assembler code is not used, as it runs about 35% slower than the C code.
2014-05-01Enable use of the assembly code for BN (Montgomery) and SHA1.miod1-0/+40
2014-05-01Enable use of the assembly code for AES, BN, SHA1, SHA256 and SHA512.miod1-0/+36
2014-04-18first round of static config. ok miodtedu13-559/+0
2014-04-17Move the machine-specific parts of the libcrypto Makefile to per-arch makefilemiod2-0/+118
fragments, to ease maintainance, and see through the fog of bugs. "looks good" deraadt@
2014-04-15The more you remove Chtulhu^WVMS tentacles, the more there aremiod13-26/+0
2014-04-14revert 1.2 and define OPENSSL_NO_EC_NISTP_64_GCC_128 again, it has a downsidesthen1-0/+3
(breaks ssh ecdsa keys)
2014-04-13No longer define OPENSSL_NO_EC_NISTP_64_GCC_128 on amd64; requested by djmmiod1-3/+0
2014-04-11Move build machinery for libcrypto from libssl/crypto to libcrypto, as wellmiod14-0/+3978
as configuration files; split manpages and .pc files between libcrypto and libssl. No functional change, only there to make engineering easier, and libcrypto sources are still found in libssl/src/crypto at the moment. ok reyk@, also discussed with deraadt@ beck@ and the usual crypto suspects.