aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/perlasm
Commit message (Collapse)AuthorAgeFilesLines
* Remove/rename some old files.Rich Salz2016-06-011-0/+0
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* Copyright consolidation: perl filesRich Salz2016-04-209-13/+70
| | | | | | | | | Add copyright to most .pl files This does NOT cover any .pl file that has other copyright in it. Most of those are Andy's but some are public domain. Fix typo's in some existing files. Reviewed-by: Richard Levitte <levitte@openssl.org>
* perlasm/x86_64-xlate.pl: make latest ml64 work.Andy Polyakov2016-04-201-2/+5
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* PPC assebmly pack: initial POWER9 support tidbits.Andy Polyakov2016-04-131-0/+15
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* SPARCv9 assembly pack: unify build rules and argument handling.Andy Polyakov2016-03-081-0/+4
| | | | | | | | | | Make all scripts produce .S, make interpretation of $(CFLAGS) pre-processor's responsibility, start accepting $(PERLASM_SCHEME). [$(PERLASM_SCHEME) is redundant in this case, because there are no deviataions between Solaris and Linux assemblers. This is purely to unify .pl->.S handling across all targets.] Reviewed-by: Richard Levitte <levitte@openssl.org>
* perlasm/x86_64-xlate.pl: handle binary constants early.Andy Polyakov2016-03-071-1/+1
| | | | | | | | Not all assemblers of "gas" flavour handle binary constants, e.g. seasoned MacOS Xcode doesn't, so give them a hand. Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
* Fix some issues near recent chomp changes.Viktor Dukhovni2016-02-131-1/+1
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* Perl's chop / chomp considered bad, use a regexp insteadRichard Levitte2016-02-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Once upon a time, there was chop, which somply chopped off the last character of $_ or a given variable, and it was used to take off the EOL character (\n) of strings. ... but then, you had to check for the presence of such character. So came chomp, the better chop which checks for \n before chopping it off. And this worked well, as long as Perl made internally sure that all EOLs were converted to \n. These days, though, there seems to be a mixture of perls, so lines from files in the "wrong" environment might have \r\n as EOL, or just \r (Mac OS, unless I'm misinformed). So it's time we went for the more generic variant and use s|\R$||, the better chomp which recognises all kinds of known EOLs and chops them off. A few chops were left alone, as they are use as surgical tools to remove one last slash or one last comma. NOTE: \R came with perl 5.10.0. It means that from now on, our scripts will fail with any older version. Reviewed-by: Rich Salz <rsalz@openssl.org>
* perlasm/x86_64-xlate.pl: pass pure constants verbatim.Andy Polyakov2016-02-111-2/+5
| | | | | | RT#3885 Reviewed-by: Rich Salz <rsalz@openssl.org>
* x86[_64] assembly pack: add ChaCha20 and Poly1305 modules.Andy Polyakov2016-02-101-1/+1
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* GH601: Various spelling fixes.FdaSilvaYY2016-02-051-2/+2
| | | | | Signed-off-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org>
* ARMv4 assembly pack: allow Thumb2 even in iOS build,Andy Polyakov2015-12-071-0/+6
| | | | | | and engage it in most modules. Reviewed-by: Tim Hudson <tjh@openssl.org>
* perlasm/ppc-xlate.pl: comply with ABIs that specify vrsave as reserved.Andy Polyakov2015-12-031-0/+20
| | | | | | RT#4162 Reviewed-by: Richard Levitte <levitte@openssl.org>
* Add assembly support for 32-bit iOS.Andy Polyakov2015-04-201-1/+1
| | | | | Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org>
* perlasm/arm-xlate.pl update (fix end-less loop and prepare for 32-bit iOS).Andy Polyakov2015-04-021-24/+49
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* Fix crash in SPARC T4 XTS.Andy Polyakov2015-02-241-0/+1
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* perlasm/x86masm.pl: make it work.Andy Polyakov2015-02-221-6/+6
| | | | | | | | Though this doesn't mean that masm becomes supported, the script is still provided on don't-ask-in-case-of-doubt-use-nasm basis. See RT#3650 for background. Reviewed-by: Matt Caswell <matt@openssl.org>
* Add assembly support to ios64-cross.Andy Polyakov2015-01-231-0/+140
| | | | | | Fix typos in ios64-cross config line. Reviewed-by: Tim Hudson <tjh@openssl.org>
* perlasm/x86_64-xlate.pl: handle inter-bank movd.Andy Polyakov2014-09-121-1/+1
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* Undo a90081576c94f9f54de1755188a00ccc1760549aRich Salz2014-08-091-1/+1
| | | | Undo unapproved commit that removed DJGPP and WATT32
* Remove DJGPP (and therefore WATT32) #ifdef's.Rich Salz2014-08-081-1/+1
| | | | | | DJGPP is no longer a supported platform. Remove all #ifdef, etc., cases that refer to it. DJGPP also #define'd WATT32, so that is now removed as well.
* x86_64 assembly pack: improve masm support.Andy Polyakov2014-07-091-6/+14
|
* perlasm/ppc-xlate.pl update.Andy Polyakov2014-07-011-0/+3
|
* Add "teaser" AES module for PowerISA 2.07.Andy Polyakov2014-05-121-0/+33
| | | | | | | "Teaser" means that it's not integrated yet and purpose of this commit is primarily informational, to exhibit design choices, such as how to handle alignment and endianness. In other words it's proof-of-concept code that EVP module will build upon.
* SPARC T4 assembly pack: treat zero input length in CBC.Andy Polyakov2014-03-071-0/+6
| | | | | | | | | | | The problem is that OpenSSH calls EVP_Cipher, which is not as protective as EVP_CipherUpdate. Formally speaking we ought to do more checks in *_cipher methods, including rejecting lengths not divisible by block size (unless ciphertext stealing is in place). But for now I implement check for zero length in low-level based on precedent. PR: 3087, 2775
* perlasm/x86asm.pl: recognize elf-1 denoting old ELF platforms.Andy Polyakov2014-02-271-0/+2
|
* perlasm/x86gas.pl: limit special OPENSSL_ia32cap_P treatment to ELF.Andy Polyakov2014-02-271-3/+3
|
* x86[_64]cpuid.pl: add low-level RDSEED.Andy Polyakov2014-02-142-0/+21
|
* PPC assembly pack: improve AIX support (enable vpaes-ppc).Andy Polyakov2013-12-181-1/+1
|
* x86_64-xlate.pl: minor update.Andy Polyakov2013-12-091-0/+1
|
* perlasm/ppc-xlate.pl: add support for AltiVec/VMX and VSX.Andy Polyakov2013-12-041-1/+5
| | | | Suggested by: Marcello Cerri
* perlasm/ppc-xlate.pl: improve linux64le support.Andy Polyakov2013-12-041-5/+11
| | | | Suggested by: Marcello Cerri
* perlas/ppc-xlate.pl: fix typo.Andy Polyakov2013-10-311-1/+1
|
* perlasm/ppc-xlate.pl: add .quad directiveAndy Polyakov2013-10-311-0/+19
| | | | | | sha/asm/sha512-ppc.pl: add little-endian support. Submitted by: Marcelo Cerri
* PPC assembly pack: add .size directives.Andy Polyakov2013-10-151-3/+5
|
* perlasm/sparcv9_modes.pl: make it work even with seasoned perl.Andy Polyakov2013-10-031-2/+2
| | | | PR: 3130
* x86_64-xlate.pl: fix jrcxz in nasm case.Andy Polyakov2013-10-031-3/+3
|
* misspellings fixes by https://github.com/vlajos/misspell_fixerVeres Lajos2013-09-053-3/+3
|
* x86_64-xlate.pl: Windows fixes.Andy Polyakov2013-06-301-3/+5
|
* x86_64-xlate.pl: minor size/performance improvement.Andy Polyakov2013-05-131-0/+5
|
* Add support for SPARC T4 DES opcode.Andy Polyakov2013-03-311-0/+60
|
* AES for SPARC T4: add XTS, reorder subroutines to improve TLB locality.Andy Polyakov2012-11-241-29/+491
|
* Extend OPENSSL_ia32cap_P with extra word to accomodate AVX2 capability.Andy Polyakov2012-11-174-3/+35
|
* perlasm/sparcv9_modes.pl: addendum to commit#22966.Andy Polyakov2012-11-171-0/+26
|
* perlasm/sparcv9_modes.pl: fix typo in IV save code and switch to lessAndy Polyakov2012-10-251-17/+25
| | | | aggressive ASI.
* sparcv9_modes.pl: membars are reported as must-have.Andy Polyakov2012-10-151-15/+10
|
* perlasm/sparcv9_modes.pl: "cooperative" optimizations based on suggestionsAndy Polyakov2012-10-141-11/+309
| | | | from David Miller.
* aest4-sparcv9.pl: split it to AES-specific and reusable part.Andy Polyakov2012-10-111-0/+831
|
* x86cpuid.pl: hide symbols [backport from x86_64].Andy Polyakov2012-08-292-0/+4
|
* sha512-x86_64.pl: revert previous change and solve the problem throughAndy Polyakov2012-08-131-0/+39
| | | | perlasm/x86_64-xlate.pl instead.