diff options
author | Michael Brown <mcb30@ipxe.org> | 2024-11-27 13:25:18 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2024-11-27 13:25:18 +0000 |
commit | 4f7dd7fbba205d413cf9b989f7cdc928fa02caf2 (patch) | |
tree | ab8254a6e9acf2324523b6ae1f66beb967f92886 /src/crypto/rsa.c | |
parent | 96f385d7a48ffe259295991043a86b2cefce1891 (diff) | |
download | ipxe-4f7dd7fbba205d413cf9b989f7cdc928fa02caf2.tar.gz |
[crypto] Add bigint_montgomery() to perform Montgomery reduction
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>
Diffstat (limited to 'src/crypto/rsa.c')
0 files changed, 0 insertions, 0 deletions