mirror of
https://github.com/ipxe/ipxe
synced 2025-12-08 02:10:25 +03:00
Montgomery reduction is substantially faster than direct reduction, and is better suited for modular exponentiation operations. Add bigint_montgomery() to perform the Montgomery reduction operation (often referred to as "REDC"), along with some test vectors. Signed-off-by: Michael Brown <mcb30@ipxe.org>
113 KiB
113 KiB