diff options
author | Michael Brown <mcb30@ipxe.org> | 2024-10-15 13:50:51 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2024-10-15 13:50:51 +0100 |
commit | 2bf16c6ffca1e294bb8233d19c9c36e43b31f041 (patch) | |
tree | d685c77f9e63e709ec80b84439e17f16ee5b5a40 /src/config/config.c | |
parent | f78c5a763cc7bb2e2b7b437e7cc74a3efb876960 (diff) | |
download | ipxe-2bf16c6ffca1e294bb8233d19c9c36e43b31f041.tar.gz |
[crypto] Separate out bigint_reduce() from bigint_mod_multiply()
Faster modular multiplication algorithms such as Montgomery
multiplication will still require the ability to perform a single
direct modular reduction.
Neaten up the implementation of direct reduction and split it out into
a separate bigint_reduce() function, complete with its own unit tests.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config/config.c')
0 files changed, 0 insertions, 0 deletions