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
co-586.pl
rsaz-avx2.pl Add RSAZ ABI tests. 2019-01-28 21:00:49 +00:00
x86_64-gcc.c
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