openssl/crypto/modes
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
..
asm Fix some CFI issues in x86_64 assembly 2019-02-17 23:41:11 +01:00
build.info Harmonize the make variables across all known platforms families 2018-02-14 17:13:53 +01:00
cbc128.c Don't call memcpy if len is zero. 2017-02-20 19:17:53 -05:00
ccm128.c
cfb128.c
ctr128.c modes/ctr128.c: fix false carry in counter increment procedure. 2016-11-25 17:22:21 +01:00
cts128.c Convert modes selftests (cts128 and gcm128) to internal test 2016-11-03 13:13:31 +01:00
gcm128.c Update copyright year 2018-06-20 15:29:23 +01:00
modes_lcl.h modes/ocb128.c: Reset nonce-dependent variables on setiv 2018-06-08 15:54:40 +02:00
ocb128.c modes/ocb128.c: readability and formatting improvements. 2018-07-09 12:37:09 +02:00
ofb128.c
wrap128.c Update copyright year 2018-06-20 15:29:23 +01:00
xts128.c