commit | bac13ba1f658a1e742b9ceb958e670086affebe7 | [log] [tgz] |
---|---|---|
author | Michael Brown <mcb30@ipxe.org> | Fri Jan 19 12:34:02 2024 +0000 |
committer | Michael Brown <mcb30@ipxe.org> | Fri Jan 19 12:34:02 2024 +0000 |
tree | 912fd8cd64b62fc7b6eb2242b97a0f68dec0a0d5 | |
parent | 13e390d54edde17c8e22b0f6d8897c273a91c5d0 [diff] |
[crypto] Add bigint_swap() to conditionally swap big integers Add a helper function bigint_swap() that can be used to conditionally swap a pair of big integers in constant time. Signed-off-by: Michael Brown <mcb30@ipxe.org>