boringssl/crypto/fipsmodule/ec
David Benjamin c2e8d016f5 Fix beeu_mod_inverse_vartime CFI annotations and preamble.
This was also caught by the in-progress unwind tester. There are two
issues here.  First, .cfi_endproc must come after ret to fully cover the
function.  More importantly, this function is confused about whether it
has a frame pointer or not.

It looks like it does (movq %rsp, %rbp), and annotates accordingly, but
it does not actually use the frame pointer. It cannot. $y4 is rbp and
gets clobbered immediately after the preamble!

Remove this instruction and align the CFI annotations with a
frame-pointer-less function.

Bug: 181
Change-Id: I47b5f9798b3bcee1748e537b21c173d312a14b42
Reviewed-on: https://boringssl-review.googlesource.com/c/33947
Reviewed-by: Adam Langley <agl@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
2019-01-02 23:47:34 +00:00
..
asm Fix beeu_mod_inverse_vartime CFI annotations and preamble. 2019-01-02 23:47:34 +00:00
ec_key.c Use EC_RAW_POINT in ECDSA. 2018-11-13 02:06:46 +00:00
ec_montgomery.c Optimize EC_GFp_mont_method's cmp_x_coordinate. 2018-11-13 01:48:21 +00:00
ec_scalar_base_mult_tests.txt
ec_test.cc Contract P-224 elements before returning them. 2018-11-14 22:38:12 +00:00
ec.c Clean up EC_POINT to byte conversions. 2018-11-13 17:27:59 +00:00
felem.c
internal.h Modernize OPENSSL_COMPILE_ASSERT, part 2. 2018-11-14 16:06:37 +00:00
make_ec_scalar_base_mult_tests.go
make_p256-x86_64-table.go
make_p256-x86_64-tests.go Refresh p256-x86_64_tests.txt. 2019-01-02 23:29:31 +00:00
oct.c Clean up EC_POINT to byte conversions. 2018-11-13 17:27:59 +00:00
p224-64.c Merge P-224 contract into serialisation. 2018-11-14 23:47:13 +00:00
p256-x86_64_test.cc Add an ABI testing framework. 2018-12-21 16:09:32 +00:00
p256-x86_64_tests.txt Refresh p256-x86_64_tests.txt. 2019-01-02 23:29:31 +00:00
p256-x86_64-table.h
p256-x86_64.c Add a comment about ecp_nistz256_point_add_affine's limitations. 2019-01-02 23:33:31 +00:00
p256-x86_64.h Add an ABI testing framework. 2018-12-21 16:09:32 +00:00
scalar.c Rename EC_MAX_SCALAR_*. 2018-11-13 03:22:04 +00:00
simple_mul.c Devirtualize ec_simple_{add,dbl}. 2018-11-06 18:32:11 +00:00
simple.c Push BIGNUM out of the cmp_x_coordinate interface. 2018-11-12 21:46:36 +00:00
util.c
wnaf.c Rename EC_MAX_SCALAR_*. 2018-11-13 03:22:04 +00:00