<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openslx-ng/ipxe.git/src/crypto/mishmash, branch openslx</title>
<subtitle>Fork of ipxe; additional commands and features</subtitle>
<id>https://git.openslx.org/openslx-ng/ipxe.git/atom/src/crypto/mishmash?h=openslx</id>
<link rel='self' href='https://git.openslx.org/openslx-ng/ipxe.git/atom/src/crypto/mishmash?h=openslx'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/'/>
<updated>2026-01-14T16:10:29+00:00</updated>
<entry>
<title>[build] Mark MD4 and MD5 as forbidden for UEFI Secure Boot</title>
<updated>2026-01-14T16:10:29+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2026-01-14T15:51:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=46510f36ab721b501b2bc8fc3f1409d2dc091561'/>
<id>urn:sha1:46510f36ab721b501b2bc8fc3f1409d2dc091561</id>
<content type='text'>
A past security review identified MD4 and MD5 support as features that
ought to be disabled by default.  (There is zero impact on UEFI Secure
Boot itself from having these algorithms enabled: this was just a side
comment in the review.)

As noted in the resulting commit 7f2006a ("[crypto] Disable MD5 as an
OID-identifiable algorithm by default"), the actual MD5 code will
almost certainly still be present in the binary due to its implicit
use by various features.  Disabling MD5 support via config/crypto.h
simply removes the OID-identified algorithm, which prevents it from
being used as an explicitly identified algorithm (e.g. in an X.509
certificate digest).

Match the intent of this review comment by marking the OID-identified
algorithms for MD4 and MD5 as forbidden for UEFI Secure Boot.

Extend this to also disable the "md4sum" command and the use of the
md5WithRSAEncryption OID-identified algorithm.  (The "md5sum" command
is left enabled for historical reasons, and we have no definition for
md4WithRSAEncryption anyway.)

Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[build] Mark known reviewed files as permitted for UEFI Secure Boot</title>
<updated>2026-01-14T16:10:29+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2026-01-14T14:36:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=adcaaf9b93f9de14ba93bea54aecef103fe16b5f'/>
<id>urn:sha1:adcaaf9b93f9de14ba93bea54aecef103fe16b5f</id>
<content type='text'>
Some past security reviews carried out for UEFI Secure Boot signing
submissions have covered specific drivers or functional areas of iPXE.
Mark all of the files comprising these areas as permitted for UEFI
Secure Boot.

Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[crypto] Add ECDSA-based TLS cipher suites</title>
<updated>2025-12-19T18:18:45+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2025-12-19T18:18:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=5aab6b7a312b8497389f52ac4691d686763129d4'/>
<id>urn:sha1:5aab6b7a312b8497389f52ac4691d686763129d4</id>
<content type='text'>
Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[crypto] Add OID-identified algorithms for ECDSA with SHA2 hash family</title>
<updated>2025-12-19T15:26:29+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2025-12-19T14:43:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=d6eeb9039f64d03dc53638a974ca4a76350d5df9'/>
<id>urn:sha1:d6eeb9039f64d03dc53638a974ca4a76350d5df9</id>
<content type='text'>
Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[cmdline] Show commands in alphabetical order</title>
<updated>2025-08-06T15:34:45+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2025-08-06T15:29:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=9d4a2ee3538f28a21a77c55c272c84b4e346dd92'/>
<id>urn:sha1:9d4a2ee3538f28a21a77c55c272c84b4e346dd92</id>
<content type='text'>
Commands were originally ordered by functional group (e.g. keeping the
image management commands together), with arrays used to impose a
functionally meaningful order within the group.

As the number of commands and functional groups has expanded over the
years, this has become essentially useless as an organising principle.
Switch to sorting commands alphabetically (using the linker table
mechanism).

Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[digest] Add commands for all enabled digest algorithms</title>
<updated>2025-08-06T12:17:25+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2025-08-06T12:05:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=f45782f9f3d281b8ab7cd171929d7cfdf482de99'/>
<id>urn:sha1:f45782f9f3d281b8ab7cd171929d7cfdf482de99</id>
<content type='text'>
Add "sha256sum", "sha512sum", and similar commands.  Include these new
commands only when DIGEST_CMD is enabled in config/general.h and the
corresponding algorithm is enabled in config/crypto.h.

Leave "mdsum" and "sha1sum" included whenever only DIGEST_CMD is
enabled, to avoid potentially breaking backwards compatibility with
builds that disabled MD5 or SHA-1 as a TLS or X.509 digest algorithm,
but would still have expected those commands to be present.

Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[crypto] Add definitions and tests for the NIST P-384 elliptic curve</title>
<updated>2025-01-30T15:35:34+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2025-01-30T15:35:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=c85de315a601d95a6348c4caf5d3af6b146274b7'/>
<id>urn:sha1:c85de315a601d95a6348c4caf5d3af6b146274b7</id>
<content type='text'>
Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[crypto] Add definitions and tests for the NIST P-256 elliptic curve</title>
<updated>2025-01-28T16:57:40+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2025-01-22T13:07:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=bc5f3dbe3e03bc67a846981c1fb93206f5557283'/>
<id>urn:sha1:bc5f3dbe3e03bc67a846981c1fb93206f5557283</id>
<content type='text'>
Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[tls] Allow for NIST elliptic curve point formats</title>
<updated>2025-01-21T15:55:33+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2025-01-21T15:29:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=c9291bc5c7adfa9aa05e94aded90ba49d3dc8179'/>
<id>urn:sha1:c9291bc5c7adfa9aa05e94aded90ba49d3dc8179</id>
<content type='text'>
The elliptic curve point representation for the x25519 curve includes
only the X value, since the curve is designed such that the Montgomery
ladder does not need to ever know or calculate a Y value.  There is no
curve point format byte: the public key data is simply the X value.
The pre-master secret is also simply the X value of the shared secret
curve point.

The point representation for the NIST curves includes both X and Y
values, and a single curve point format byte that must indicate that
the format is uncompressed.  The pre-master secret for the NIST curves
does not include both X and Y values: only the X value is used.

Extend the definition of an elliptic curve to allow the point size to
be specified separately from the key size, and extend the definition
of a TLS named curve to include an optional curve point format byte
and a pre-master secret length.

Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[crypto] Allow for extraction of ASN.1 algorithm parameters</title>
<updated>2024-08-28T12:03:55+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2024-08-26T22:36:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=4b4a362f0713ffa08c9236d66a1881d6234d7717'/>
<id>urn:sha1:4b4a362f0713ffa08c9236d66a1881d6234d7717</id>
<content type='text'>
Some ASN.1 OID-identified algorithms require additional parameters,
such as an initialisation vector for a block cipher.  The structure of
the parameters is defined by the individual algorithm.

Extend asn1_algorithm() to allow these additional parameters to be
returned via a separate ASN.1 cursor.

Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
</feed>
