<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/curve25519, branch OPENBSD_7_3_BASE</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_3_BASE</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_3_BASE'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2022-11-17T19:01:59+00:00</updated>
<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>
<entry>
<title>Remove pointless loops.</title>
<updated>2022-11-08T16:50:29+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2022-11-08T16:50:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=78d785ede479ef9c6ae93f2d6213603c789dde74'/>
<id>urn:sha1:78d785ede479ef9c6ae93f2d6213603c789dde74</id>
<content type='text'>
From BoringSSL 997c706d43504.
</content>
</entry>
<entry>
<title>Enable Ed25519 internal to libcrypto.</title>
<updated>2022-11-06T16:31:19+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2022-11-06T16:31:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=96acbf9c9b1c8bda6be204665c76a911a8541b3b'/>
<id>urn:sha1:96acbf9c9b1c8bda6be204665c76a911a8541b3b</id>
<content type='text'>
Based on a diff from tb@
</content>
</entry>
</feed>
