]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[crypto] Expose shifted out bit from big integer shifts
authorMichael Brown <mcb30@ipxe.org>
Thu, 13 Feb 2025 14:18:15 +0000 (14:18 +0000)
committerMichael Brown <mcb30@ipxe.org>
Thu, 13 Feb 2025 15:25:35 +0000 (15:25 +0000)
commit5056e8ad936742ba410031cff14c0f72d87805fc
tree843fe48d0e4eeea4d78e4c30e31c16268def5ff3
parentbd90abf487a6b0500f457193f86ff54fd2be3143
[crypto] Expose shifted out bit from big integer shifts

Expose the bit shifted out as a result of shifting a big integer left
or right.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/arm32/include/bits/bigint.h
src/arch/arm64/include/bits/bigint.h
src/arch/loong64/include/bits/bigint.h
src/arch/riscv/include/bits/bigint.h
src/arch/x86/include/bits/bigint.h
src/include/ipxe/bigint.h
src/tests/bigint_test.c