Fix aesni_cbc_sha256_enc_avx2 backtrace info
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Sat, 21 Dec 2019 21:09:45 +0000 (22:09 +0100)
committerBernd Edlinger <bernd.edlinger@hotmail.de>
Mon, 23 Dec 2019 16:00:15 +0000 (17:00 +0100)
commit1ef638982757ddc2536a70e6463cf4deca58640f
tree42fb555bf695715da50a9893c0a1fa82541f9bb7
parentb6d0a1c7f0d9ddba0598d40b615af21fe74217da
Fix aesni_cbc_sha256_enc_avx2 backtrace info

We store a secondary frame pointer info for the debugger
in the red zone.  This fixes a crash in the unwinder when
this function is interrupted.

Additionally the missing cfi function annotation is added
to aesni_cbc_sha256_enc_shaext.

[extended tests]

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10674)

(cherry picked from commit 665de4d48aef2507022a7d74f5c7f6e339d5e6bc)
crypto/aes/asm/aesni-sha256-x86_64.pl