<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openslx-ng/ipxe.git/src/tests, branch openslx</title>
<subtitle>Fork of ipxe; additional commands and features</subtitle>
<id>https://git.openslx.org/openslx-ng/ipxe.git/atom/src/tests?h=openslx</id>
<link rel='self' href='https://git.openslx.org/openslx-ng/ipxe.git/atom/src/tests?h=openslx'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/'/>
<updated>2025-12-29T14:01:46+00:00</updated>
<entry>
<title>[crypto] Allow for zero-length big integer literals</title>
<updated>2025-12-29T14:01:46+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2025-12-29T14:01:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=7c39c04a537ce29dccc6f2bae9749d1d371429c1'/>
<id>urn:sha1:7c39c04a537ce29dccc6f2bae9749d1d371429c1</id>
<content type='text'>
Ensure that zero-length big integer literals are treated as containing
a zero value.  Avoid tests on every big integer arithmetic operation
by ensuring that bigint_required_size() always returns a non-zero
value: the zero-length tests can therefore be restricted to only
bigint_init() and bigint_done().

Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[test] Update big integer tests to use okx()</title>
<updated>2025-12-29T13:18:10+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2025-12-29T13:18:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=01038893a3b6e98cb41c4033dd2620eb810121e5'/>
<id>urn:sha1:01038893a3b6e98cb41c4033dd2620eb810121e5</id>
<content type='text'>
Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[test] Add test cases for X.509 certificates with ECDSA signatures</title>
<updated>2025-12-19T15:26:29+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2025-12-19T14:45:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=f1e23b53a788431190f984ee946a0333ade65596'/>
<id>urn:sha1:f1e23b53a788431190f984ee946a0333ade65596</id>
<content type='text'>
Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[test] Ensure OID-identified algorithms are present for X.509 tests</title>
<updated>2025-12-19T14:24:27+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2025-12-19T14:24:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=f3147b42a16a472886671ebae55f5436263244f8'/>
<id>urn:sha1:f3147b42a16a472886671ebae55f5436263244f8</id>
<content type='text'>
The algorithms required for the X.509 tests are accessed indirectly
via their OID-identified algorithms, rather than directly via symbols.
Ensure that the required OID-identified algorithm definitions are
included regardless of the configuration in config/crypto.h.

Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[crypto] Add support for ECDSA signatures</title>
<updated>2025-12-19T10:06:50+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2025-12-18T23:33:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=4e3cbeef83363425ddb9cc0d9691c8c1115a6929'/>
<id>urn:sha1:4e3cbeef83363425ddb9cc0d9691c8c1115a6929</id>
<content type='text'>
Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[test] Test verification of constructed signature</title>
<updated>2025-12-18T23:10:57+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2025-12-18T23:10:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=948677fe5e2a3d098b8099a0dff0bfbd22efc3a8'/>
<id>urn:sha1:948677fe5e2a3d098b8099a0dff0bfbd22efc3a8</id>
<content type='text'>
Some signature schemes (such as ECDSA) allow for non-deterministic
signatures.  Provide more information in test results by performing
verification of the constructed signature even when it does not match
the expected test case result: this allows us to distinguish between a
bug that is generating invalid signatures and a bug that is generating
valid but non-canonical signatures.

Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[crypto] Allow for an explicit representation of point at infinity</title>
<updated>2025-12-18T15:47:29+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2025-12-18T15:38:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=cfbf0da93c27a33c6e76c0caac65708160425500'/>
<id>urn:sha1:cfbf0da93c27a33c6e76c0caac65708160425500</id>
<content type='text'>
ECDSA requires the ability to add two arbitrary curve points, either
of which may legitimately be the point at infinity.

Update the API so that curves must choose an explicit affine
representation for the point at infinity, and provide a method to test
for this representation.  Multiplication and addition will now allow
this representation to be provided as an input, and will not fail if
the result is the point at infinity.  Callers must explicitly check
for the point at infinity where needed (e.g. after computing the ECDHE
shared secret curve point).

Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[test] Test signature verification independently of signing</title>
<updated>2025-12-17T20:38:21+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2025-12-17T20:35:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=af99310f55e496b587a711d2d2c218b0cfaef37a'/>
<id>urn:sha1:af99310f55e496b587a711d2d2c218b0cfaef37a</id>
<content type='text'>
Copy and modify the signature defined within the test case for
verification tests, rather than relying on the modifiable signature
constructed by the signing portion of the same test.

Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[crypto] Allow for addition of arbitrary Weierstrass curve points</title>
<updated>2025-12-08T14:24:24+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2025-12-06T16:59:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=c7f129fedef8c576c3399e20defcb32ad16fad36'/>
<id>urn:sha1:c7f129fedef8c576c3399e20defcb32ad16fad36</id>
<content type='text'>
ECDSA verification requires the ability to add two arbitrary curve
points (as well as the ability to multiply a curve point by a scalar).

Add an elliptic curve method to perform arbitrary point addition.
Pass in curve points as affine coordinates: this will require some
redundant conversions between affine coorfinates and the internal
representation as projective coordinates in Montgomery form, but keeps
the API as simple as possible.  Since we do not expect to perform a
high volume of ECDSA signature verifications, these redundant
calculations are an acceptable cost for keeping the code simple.

Signed-off-by: Michael Brown &lt;mcb30@ipxe.org&gt;
</content>
</entry>
<entry>
<title>[crypto] Expose the (prime) group order as an elliptic curve property</title>
<updated>2025-12-05T15:10:22+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2025-12-05T14:47:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=d3adea83809537d7476430233994723c690ebfce'/>
<id>urn:sha1:d3adea83809537d7476430233994723c690ebfce</id>
<content type='text'>
ECDSA requires knowledge of the group order of the base point, and is
defined only for curves with a prime group order (e.g. the NIST
curves).

Add the group order as an explicit property of an elliptic curve, and
add tests to verify that the order is correct.

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