<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/ec, branch libressl-v3.8.0</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=libressl-v3.8.0</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=libressl-v3.8.0'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2023-05-04T13:51:59+00:00</updated>
<entry>
<title>Rewrite ECParameters_dup()</title>
<updated>2023-05-04T13:51:59+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-05-04T13:51:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=6e0b0c8ee4221fcbaf580309655c41d6166614fe'/>
<id>urn:sha1:6e0b0c8ee4221fcbaf580309655c41d6166614fe</id>
<content type='text'>
This should leak slightly less than the direct expansion of ASN1_dup_of().
Use freezero() since the DER could contain a private key.

ok jsing
</content>
</entry>
<entry>
<title>Use size_t instead of int in EC_POINT_point2oct()</title>
<updated>2023-05-04T06:45:51+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-05-04T06:45:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=8a02aac9575eea91563def962198bdc21f7540e5'/>
<id>urn:sha1:8a02aac9575eea91563def962198bdc21f7540e5</id>
<content type='text'>
An int would be perfectly sufficient for this, but then again there would
be fewer traps.

ok jsing
</content>
</entry>
<entry>
<title>Fix line wrapping</title>
<updated>2023-05-04T05:59:38+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-05-04T05:59:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=4ca7859ef012b92557c5138cdf4216bff1b0bff9'/>
<id>urn:sha1:4ca7859ef012b92557c5138cdf4216bff1b0bff9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix function name in doc comment</title>
<updated>2023-05-04T05:57:18+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-05-04T05:57:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=3b72d7ac5788a60f9c5ff85bca10269cfe7ae854'/>
<id>urn:sha1:3b72d7ac5788a60f9c5ff85bca10269cfe7ae854</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix a few KNF/whitespace issues</title>
<updated>2023-05-03T06:30:11+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-05-03T06:30:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=1a56c1c948cf165ef0ce5510c3bf7802747ad59b'/>
<id>urn:sha1:1a56c1c948cf165ef0ce5510c3bf7802747ad59b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename P into generator</title>
<updated>2023-05-02T13:01:57+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-05-02T13:01:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=081362c3437e625f4e0689d6c6f086e93ef39bf0'/>
<id>urn:sha1:081362c3437e625f4e0689d6c6f086e93ef39bf0</id>
<content type='text'>
ok jsing
</content>
</entry>
<entry>
<title>Simplify EC_GROUP_new_by_curve_name()</title>
<updated>2023-05-02T10:44:20+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-05-02T10:44:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0c2b5d8c7195556662911ad650610f9cf0164fa8'/>
<id>urn:sha1:0c2b5d8c7195556662911ad650610f9cf0164fa8</id>
<content type='text'>
Pull the setting of the name a.k.a. nid into ec_group_new_from_data().
This way, we can return early on finding the nid in the curve_list[].
This also avoids a silly bug where a bogus ERR_R_UNKNOWN_BUG is pushed
onto the error stack when ec_group_new_from_data() failed.

While there rework the exit path of ec_group_new_from_data() a bit.
Instead of an ok variable we can use an additional pointer to keep
track of the return value and free the EC_GROUP unconditionally.

ok jsing
</content>
</entry>
<entry>
<title>stray whitespace</title>
<updated>2023-05-01T21:15:26+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-05-01T21:15:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=128b7e5f0da8ee7fefcb9549dbaa3624cf6cfda0'/>
<id>urn:sha1:128b7e5f0da8ee7fefcb9549dbaa3624cf6cfda0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add a missing pair of braces.</title>
<updated>2023-05-01T17:53:01+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-05-01T17:53:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=a9037c4aa2018a1b473c1a6d63e5446f433b9c1a'/>
<id>urn:sha1:a9037c4aa2018a1b473c1a6d63e5446f433b9c1a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use uppercase for the CURVE_LIST_LENGTH macro</title>
<updated>2023-05-01T17:49:33+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-05-01T17:49:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=5ab8ac982341679de7a1c4fb55a211453dbbefbf'/>
<id>urn:sha1:5ab8ac982341679de7a1c4fb55a211453dbbefbf</id>
<content type='text'>
</content>
</entry>
</feed>
