diff options
author | Michael Brown <mcb30@ipxe.org> | 2024-11-27 12:51:04 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2024-11-27 13:05:18 +0000 |
commit | 7c2e68cc87a552c153e13517b0d0d6827f48e95b (patch) | |
tree | 234e3fee7656c0659207d84bb3eefc269551ddc6 /src/tests/mschapv2_test.c | |
parent | 9cbf5c4f86b45773badec2498fac22e8bc6d7dd1 (diff) | |
download | ipxe-7c2e68cc87a552c153e13517b0d0d6827f48e95b.tar.gz |
[crypto] Eliminate temporary working space for bigint_mod_invert()
With a slight modification to the algorithm to ignore bits of the
residue that can never contribute to the result, it is possible to
reuse the as-yet uncalculated portions of the inverse to hold the
residue. This removes the requirement for additional temporary
working space.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/tests/mschapv2_test.c')
0 files changed, 0 insertions, 0 deletions