<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/dh/dh_pmeth.c, branch OPENBSD_7_9_BASE</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_9_BASE</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_9_BASE'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2025-05-10T05:54:39+00:00</updated>
<entry>
<title>Use err_local.h rather than err.h in most places</title>
<updated>2025-05-10T05:54:39+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-05-10T05:54:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=41e8f99dd1625a9f0c80ce9d4383e95b18e85709'/>
<id>urn:sha1:41e8f99dd1625a9f0c80ce9d4383e95b18e85709</id>
<content type='text'>
ok jsing
</content>
</entry>
<entry>
<title>replace strtol(3) usage with strtonum(3); idea/ok/tweaks tb@</title>
<updated>2024-08-26T22:00:47+00:00</updated>
<author>
<name>op</name>
<email></email>
</author>
<published>2024-08-26T22:00:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=74733354b5147290f7bc39826a56793e0c4bdcda'/>
<id>urn:sha1:74733354b5147290f7bc39826a56793e0c4bdcda</id>
<content type='text'>
</content>
</entry>
<entry>
<title>kill gross whitespace</title>
<updated>2024-01-01T16:01:48+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-01-01T16:01:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=e4fbd68db1b791490c43f96946a1bbfcdcacdc35'/>
<id>urn:sha1:e4fbd68db1b791490c43f96946a1bbfcdcacdc35</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rework pkey_dh_paramgen()</title>
<updated>2023-12-28T22:10:33+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-12-28T22:10:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=21e1a561a34dd3ca9187fdb5a57a025864d3a115'/>
<id>urn:sha1:21e1a561a34dd3ca9187fdb5a57a025864d3a115</id>
<content type='text'>
Similar to pkey_rsa_paramgen() this function does some strange dances
with the pkey_gencb and initialization plus missing error checks. Fix
all that and use the idiom established in previous commits.

ok jsing
</content>
</entry>
<entry>
<title>Rework pkey_dh_keygen()</title>
<updated>2023-12-28T22:06:41+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-12-28T22:06:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=f17548a214654a2b6d13345be9dd4218a9a20182'/>
<id>urn:sha1:f17548a214654a2b6d13345be9dd4218a9a20182</id>
<content type='text'>
Single exit, fix error checking and hold on to the DH by keeping a
reference. In other words, switch from EVP_PKEY_assign() to using
EVP_PKEY_set1_DH() and free unconditionally in the error path.

ok jsing
</content>
</entry>
<entry>
<title>Make internal header file names consistent</title>
<updated>2022-11-26T16:08:57+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-11-26T16:08:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=81d98bf600a381a625eb11b39a725b08c0ba547f'/>
<id>urn:sha1:81d98bf600a381a625eb11b39a725b08c0ba547f</id>
<content type='text'>
Libcrypto currently has a mess of *_lcl.h, *_locl.h, and *_local.h names
used for internal headers. Move all these headers we inherited from
OpenSSL to *_local.h, reserving the name *_internal.h for our own code.
Similarly, move dtls_locl.h and ssl_locl.h to dtls_local and ssl_local.h.
constant_time_locl.h is moved to constant_time.h since it's special.

Adjust all .c files in libcrypto, libssl and regress.

The diff is mechanical with the exception of tls13_quic.c, where
#include &lt;ssl_locl.h&gt; was fixed manually.

discussed with jsing,
no objection bcook
</content>
</entry>
<entry>
<title>Add an essentially empty dh_local.h and include it in the files where</title>
<updated>2022-01-07T09:27:13+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-01-07T09:27:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=01c3a3efcb3377bc530d4bf225668754e137d085'/>
<id>urn:sha1:01c3a3efcb3377bc530d4bf225668754e137d085</id>
<content type='text'>
it will be needed in the upcoming bump.

discussed with jsing
</content>
</entry>
<entry>
<title>Add #include "bn_lcl.h" to the files that will soon need it.</title>
<updated>2021-12-04T16:08:32+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2021-12-04T16:08:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=57082c28039cc632468182b73bebd65a224cbf9d'/>
<id>urn:sha1:57082c28039cc632468182b73bebd65a224cbf9d</id>
<content type='text'>
ok inoguchi jsing
</content>
</entry>
<entry>
<title>Send the function codes from the error functions to the bit bucket,</title>
<updated>2017-01-29T17:49:23+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2017-01-29T17:49:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=d1f47bd292f36094480caa49ada36b99a69c59b0'/>
<id>urn:sha1:d1f47bd292f36094480caa49ada36b99a69c59b0</id>
<content type='text'>
as was done earlier in libssl. Thanks inoguchi@ for noticing
libssl had more reacharounds into this.
ok jsing@ inoguchi@
</content>
</entry>
<entry>
<title>Only import cryptlib.h in the four source files that actually need it.</title>
<updated>2014-07-11T08:44:49+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2014-07-11T08:44:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=74e2c009c83ad374bd6acdcfc376a384e25ab007'/>
<id>urn:sha1:74e2c009c83ad374bd6acdcfc376a384e25ab007</id>
<content type='text'>
Remove the openssl public includes from cryptlib.h and add a small number
of includes into the source files that actually need them. While here,
also sort/group/tidy the includes.

ok beck@ miod@
</content>
</entry>
</feed>
