boringssl/crypto/fipsmodule/bn/asm
David Benjamin 55b9acda99 Fix ABI error in bn_mul_mont on aarch64.
This was caught by an aarch64 ABI tester. aarch64 has the same
considerations around small arguments as x86_64 does. The aarch64
version of bn_mul_mont does not mask off the upper words of the
argument.

The x86_64 version does, so size_t is, strictly speaking, wrong for
aarch64, but bn_mul_mont already has an implicit size limit to support
its internal alloca, so this doesn't really make things worse than
before.

Change-Id: I39bffc8fdb2287e45a2d1f0d1b4bd5532bbf3868
Reviewed-on: https://boringssl-review.googlesource.com/c/34804
Commit-Queue: David Benjamin <davidben@google.com>
Reviewed-by: Adam Langley <agl@google.com>
2019-02-05 21:17:54 +00:00
..
armv4-mont.pl bn/asm/*-mont.pl: fix memory access pattern in final subtraction. 2018-05-03 23:21:22 +00:00
armv8-mont.pl Fix ABI error in bn_mul_mont on aarch64. 2019-02-05 21:17:54 +00:00
bn-586.pl Sync up some perlasm license headers and easy fixes. 2018-02-11 01:00:35 +00:00
co-586.pl Sync up some perlasm license headers and easy fixes. 2018-02-11 01:00:35 +00:00
rsaz-avx2.pl Add RSAZ ABI tests. 2019-01-28 21:00:49 +00:00
x86_64-gcc.c Enable __asm__ and uint128_t code in clang-cl. 2017-12-11 22:46:26 +00:00
x86_64-mont5.pl Add ABI tests for bn_mul_mont. 2019-01-04 19:21:31 +00:00
x86_64-mont.pl Fix ABI error in bn_mul_mont on aarch64. 2019-02-05 21:17:54 +00:00
x86-mont.pl bn/asm/*-mont.pl: fix memory access pattern in final subtraction. 2018-05-03 23:21:22 +00:00