openssl/crypto/modes/asm
David Benjamin 2086edb799 Fix some CFI issues in x86_64 assembly
The add/double shortcut in ecp_nistz256-x86_64.pl left one instruction
point that did not unwind, and the "slow" path in AES_cbc_encrypt was
not annotated correctly. For the latter, add
.cfi_{remember,restore}_state support to perlasm.

Next, fill in a bunch of functions that are missing no-op .cfi_startproc
and .cfi_endproc blocks. libunwind cannot unwind those stack frames
otherwise.

Finally, work around a bug in libunwind by not encoding rflags. (rflags
isn't a callee-saved register, so there's not much need to annotate it
anyway.)

These were found as part of ABI testing work in BoringSSL.

Reviewed-by: Richard Levitte <levitte@openssl.org>
GH: #8109
(cherry picked from commit c0e8e5007b)
2019-02-17 23:41:11 +01:00
..
aesni-gcm-x86_64.pl
ghash-alpha.pl
ghash-armv4.pl Update copyright year 2018-09-11 13:45:17 +01:00
ghash-c64xplus.pl
ghash-ia64.pl
ghash-parisc.pl Update copyright year 2018-09-11 13:45:17 +01:00
ghash-s390x.pl
ghash-sparcv9.pl
ghash-x86.pl
ghash-x86_64.pl Fix some CFI issues in x86_64 assembly 2019-02-17 23:41:11 +01:00
ghashp8-ppc.pl PPC assembly pack: correct POWER9 results. 2018-06-03 21:20:06 +02:00
ghashv8-armx.pl Update copyright year 2018-05-01 13:34:30 +01:00