diff options
author | Michael Brown <mcb30@ipxe.org> | 2024-01-19 16:35:02 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2024-01-19 16:40:11 +0000 |
commit | 908174ec7e49d845c8b52a07a3db32534eade37d (patch) | |
tree | 629f597d76156716b292a1b96c30672d999d260c /src/tests/x25519_test.c | |
parent | bac13ba1f658a1e742b9ceb958e670086affebe7 (diff) | |
download | ipxe-908174ec7e49d845c8b52a07a3db32534eade37d.tar.gz |
[loong64] Replace broken big integer arithmetic implementations
The slightly incomprehensible LoongArch64 implementation for
bigint_subtract() is observed to produce incorrect results for some
input values.
Replace the suspicious LoongArch64 implementations of bigint_add(),
bigint_subtract(), bigint_rol() and bigint_ror(), and add a test case
for a subtraction that was producing an incorrect result with the
previous implementation.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/tests/x25519_test.c')
0 files changed, 0 insertions, 0 deletions