<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/curve25519, branch OPENBSD_7_7</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_7</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_7'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2023-07-08T15:12:49+00:00</updated>
<entry>
<title>Hide symbols in curve22519</title>
<updated>2023-07-08T15:12:49+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2023-07-08T15:12:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=46b46c2fb9731b7443e79217c78fb5ae2b1bd80e'/>
<id>urn:sha1:46b46c2fb9731b7443e79217c78fb5ae2b1bd80e</id>
<content type='text'>
ok tb@
</content>
</entry>
<entry>
<title>Revert r1.9 and reinstate r1.6</title>
<updated>2023-04-02T15:36:53+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-04-02T15:36:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c01f8faa3a8de1f114114281a879992d176be925'/>
<id>urn:sha1:c01f8faa3a8de1f114114281a879992d176be925</id>
<content type='text'>
The argument change to x5519_ge_scalarmult_base() was made to match the
prototype in the header. More recent compilers warn about such ptr vs
array mismatches.
</content>
</entry>
<entry>
<title>Prevent Ed25519 signature malleability</title>
<updated>2022-11-17T19:01:59+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-11-17T19:01:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=3df451964c26e01d8ff57468d02c495bfe18832d'/>
<id>urn:sha1:3df451964c26e01d8ff57468d02c495bfe18832d</id>
<content type='text'>
Add a check that ensures that the upper half s of an Ed25519 signature is
bounded by the group order, i.e, 0 &lt;= s &lt; order. This is required by the
Verify procedure in RFC 8032, section 5.1.7, step 1, and prevents simple
modifications of signatures such as adding (a multiple of) the group order
to the upper half of the signature.

Found with EdDSA testcase 63 of project Wycheproof.

ok beck jsing
</content>
</entry>
<entry>
<title>Expose direct access API for Ed25519.</title>
<updated>2022-11-13T14:05:04+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-11-13T14:05:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=7ca0eeb03bbc151b382c5dfcdf48f377be94bea7'/>
<id>urn:sha1:7ca0eeb03bbc151b382c5dfcdf48f377be94bea7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>zap stray space (CRITICAL!)</title>
<updated>2022-11-11T01:44:26+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-11-11T01:44:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=e917fd8e13a8b1acf3b53461d4ba34d7022a216e'/>
<id>urn:sha1:e917fd8e13a8b1acf3b53461d4ba34d7022a216e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make X25519_public_from_private() internally reachable.</title>
<updated>2022-11-09T17:45:55+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2022-11-09T17:45:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=ce63bfbe542f710d82181ab0975b822aaf517973'/>
<id>urn:sha1:ce63bfbe542f710d82181ab0975b822aaf517973</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename public_value to public_key for consistency.</title>
<updated>2022-11-09T17:40:51+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2022-11-09T17:40:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=ff5faa687445f18e922b9b5263b369e9e7f5a57c'/>
<id>urn:sha1:ff5faa687445f18e922b9b5263b369e9e7f5a57c</id>
<content type='text'>
ok tb@
</content>
</entry>
<entry>
<title>Rework ED25519 API.</title>
<updated>2022-11-09T17:39:29+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2022-11-09T17:39:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=a9fdcf2b38e7f119a0b1e428a0f9cae93f210ed4'/>
<id>urn:sha1:a9fdcf2b38e7f119a0b1e428a0f9cae93f210ed4</id>
<content type='text'>
BoringSSL implemented a compound private key, which includes a copy of the
public key as a performance optimisation for signing. However, this does
not readily match with how EVP works, makes the ED25519 API inconsistent
with the X25519 API, diverges from th RFC and does not align with the
OpenSSL API. Instead, the caller can readily compute the public key and
pass this in to the signing process.

ok tb@
</content>
</entry>
<entry>
<title>Refactor/split ED25519_keypair.</title>
<updated>2022-11-08T17:07:17+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2022-11-08T17:07:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=825db04c6828a0069e92e417fe752efcc8be7c74'/>
<id>urn:sha1:825db04c6828a0069e92e417fe752efcc8be7c74</id>
<content type='text'>
This brings in ED25519_keypair_from_seed() from BoringSSL commit
c034e2d3ce16, which ED25519_keypair then wraps. This reduces differences
between us and BoringSSL.
</content>
</entry>
<entry>
<title>Change function argument to reduce differences with BoringSSL.</title>
<updated>2022-11-08T17:01:57+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2022-11-08T17:01:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=f518a98c03d29e66d43b2787e571f85359f39671'/>
<id>urn:sha1:f518a98c03d29e66d43b2787e571f85359f39671</id>
<content type='text'>
</content>
</entry>
</feed>
