diff options
| author | Michael Brown | 2024-01-19 17:35:02 +0100 |
|---|---|---|
| committer | Michael Brown | 2024-01-19 17:40:11 +0100 |
| commit | 908174ec7e49d845c8b52a07a3db32534eade37d (patch) | |
| tree | 629f597d76156716b292a1b96c30672d999d260c /src/include | |
| parent | [crypto] Add bigint_swap() to conditionally swap big integers (diff) | |
| download | ipxe-908174ec7e49d845c8b52a07a3db32534eade37d.tar.gz ipxe-908174ec7e49d845c8b52a07a3db32534eade37d.tar.xz ipxe-908174ec7e49d845c8b52a07a3db32534eade37d.zip | |
[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/include')
0 files changed, 0 insertions, 0 deletions
