Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We use `rbp` register in `mpi_mul_mont_mod_p256_x86_64` function to save result of `mulxq` operation. That breaks frame pointer convention and breaks stack traces. The same problem described here: https://lists.openwall.net/linux-kernel/2017/11/22/255 We can't use %rbp with CONFIG_FRAME_POINTER, so check if CONFIG_FRAME_POINTER is set and use %rdi register instead of %rbp.
- Loading branch information