View Git repositories
You can browse the source code for the development focus branch or get a copy of the branch using the command:
bzr branch lp:ipxe

There are download files available for iPXE.

See all merge proposals.

iPXE has 1 active branch owned by 1 person. There were 13 commits by 2 people in the last month.

Bazaar branches

Name Status Last Modified Last Commit
lp:ipxe
Series: trunk, 1.0, 1.2x
1 Development 2025-02-14 13:03:20 UTC
6544. [crypto] Support direct reduction onl...

Author: Michael Brown
Revision Date: 2025-02-14 13:03:20 UTC

[crypto] Support direct reduction only for Montgomery constant R^2 mod N

The only remaining use case for direct reduction (outside of the unit
tests) is in calculating the constant R^2 mod N used during Montgomery
multiplication.

The current implementation of direct reduction requires a writable
copy of the modulus (to allow for shifting), and both the modulus and
the result buffer must be padded to be large enough to hold (R^2 - N),
which is twice the size of the actual values involved.

For the special case of reducing R^2 mod N (or any power of two mod
N), we can run the same algorithm without needing either a writable
copy of the modulus or a padded result buffer. The working state
required is only two bits larger than the result buffer, and these
additional bits may be held in local variables instead.

Rewrite bigint_reduce() to handle only this use case, and remove the
no longer necessary uses of double-sized big integers.

Signed-off-by: Michael Brown <mcb30@ipxe.org>

11 of 1 result
You can't create new branches for iPXE.