openssl/crypto/ec/asm
David Benjamin c0e8e5007b 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
2019-02-17 23:39:51 +01:00
..
ecp_nistz256-armv4.pl ARM assembly pack: make it Windows-friendly. 2019-02-16 16:59:23 +01:00
ecp_nistz256-armv8.pl ARM64 assembly pack: make it Windows-friendly. 2019-02-16 17:01:15 +01:00
ecp_nistz256-avx2.pl Following the license change, modify the boilerplates in crypto/ec/ 2018-12-06 14:51:47 +01:00
ecp_nistz256-ppc64.pl Following the license change, modify the boilerplates in crypto/ec/ 2018-12-06 14:51:47 +01:00
ecp_nistz256-sparcv9.pl Following the license change, modify the boilerplates in crypto/ec/ 2018-12-06 14:51:47 +01:00
ecp_nistz256-x86.pl Following the license change, modify the boilerplates in crypto/ec/ 2018-12-06 14:51:47 +01:00
ecp_nistz256-x86_64.pl Fix some CFI issues in x86_64 assembly 2019-02-17 23:39:51 +01:00
x25519-ppc64.pl Following the license change, modify the boilerplates in crypto/ec/ 2018-12-06 14:51:47 +01:00
x25519-x86_64.pl Following the license change, modify the boilerplates in crypto/ec/ 2018-12-06 14:51:47 +01:00