<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/regress/lib/libcrypto/ecdh, branch OPENBSD_7_8_BASE</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_8_BASE</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_8_BASE'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2024-12-24T18:32:31+00:00</updated>
<entry>
<title>Remove already disabled tests for elliptic curves of small order</title>
<updated>2024-12-24T18:32:31+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-12-24T18:32:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=d82e77492d95564b49c48dc7df8606bdf2040b94'/>
<id>urn:sha1:d82e77492d95564b49c48dc7df8606bdf2040b94</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Disable regression tests for small builtin curves</title>
<updated>2024-11-24T10:13:16+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-11-24T10:13:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=5c1c113662ae24e84d65063d12d7144a738ebf30'/>
<id>urn:sha1:5c1c113662ae24e84d65063d12d7144a738ebf30</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ecc_cdh: plug leak of peer public key</title>
<updated>2023-07-16T08:25:41+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-07-16T08:25:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=5ddc63c91eb42090c45a1ee989fb4f8012cb1dab'/>
<id>urn:sha1:5ddc63c91eb42090c45a1ee989fb4f8012cb1dab</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ecdhtest: Drop unnecessary constant and unneeded includes</title>
<updated>2023-07-16T07:34:07+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-07-16T07:34:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=e4abc1bb5bbe077e4772d4a29b22e2dce70bbdc5'/>
<id>urn:sha1:e4abc1bb5bbe077e4772d4a29b22e2dce70bbdc5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ecdhtest: fix a couple bugs plus some cosmetic tweaks</title>
<updated>2023-07-16T00:16:42+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-07-16T00:16:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=f6ddbdf16aa2bb8dd188a3e99691cb94716e4dfb'/>
<id>urn:sha1:f6ddbdf16aa2bb8dd188a3e99691cb94716e4dfb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rework the ecdhtest</title>
<updated>2023-07-15T23:35:02+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-07-15T23:35:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=470e1ffbee92d8a8ae0f0c06d4f9884e96a1e80b'/>
<id>urn:sha1:470e1ffbee92d8a8ae0f0c06d4f9884e96a1e80b</id>
<content type='text'>
Test keyshare for all built-in curves and simplify, especially printing
on failure. Incorporate known answer tests from RFC 5114 and RFC 5903.
All in all, this is a lot less code and a lot more test coverage and
hopefully a little less eyebleed.

Very loosely based on OpenSSL b438f0ed by Billy Brumley
</content>
</entry>
<entry>
<title>Fix return value check for ECDH_compute_key()</title>
<updated>2023-07-15T20:11:37+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-07-15T20:11:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=f776c13432420069da814fac24a1301abceefb46'/>
<id>urn:sha1:f776c13432420069da814fac24a1301abceefb46</id>
<content type='text'>
ECDH_compute_key() usually returns -1 on error (but sometimes 0). This
was also the case in OpenSSL when these tests were written. This will
soon change. The check for &lt;= 0 will still be correct.
</content>
</entry>
<entry>
<title>Add test coverage for cofactor ECDH using NIST test vectors</title>
<updated>2023-07-15T19:51:13+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-07-15T19:51:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=f8c751987fd26f1b8ed8b362819631044f6b1b3a'/>
<id>urn:sha1:f8c751987fd26f1b8ed8b362819631044f6b1b3a</id>
<content type='text'>
Since all non-binary NIST curves have cofactor 1, this is in effect plain
ECDH. Current regress coverage of ECDH is quite lacking on architectures
where Go isn't available. This fixes that.

Actual cofactor ECDH support may be added soon to libcrypto, at which
point I will also add testcases with cofactor &gt; 1.
</content>
</entry>
<entry>
<title>ecdhtest: Fix indent</title>
<updated>2023-05-20T16:00:22+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-05-20T16:00:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=4ab3a31b044d49f88bc748d2d50b0234b05104e7'/>
<id>urn:sha1:4ab3a31b044d49f88bc748d2d50b0234b05104e7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ecdhtest: check malloc() return values</title>
<updated>2023-05-16T18:41:18+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-05-16T18:41:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=a79b4e1a2cccf54e1d2f364852261b2fce8bdd5f'/>
<id>urn:sha1:a79b4e1a2cccf54e1d2f364852261b2fce8bdd5f</id>
<content type='text'>
From Ilya Chipitsine
</content>
</entry>
</feed>
