<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/bn/bn_isqrt.c, branch OPENBSD_7_9</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_9</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_9'/>
<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>Reinstate bn_isqrt.c r1.8 and crypto_lock.c r1.3</title>
<updated>2023-06-04T17:28:35+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-06-04T17:28:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=383800ed25dd1967077f5e56673b8363dd647b9e'/>
<id>urn:sha1:383800ed25dd1967077f5e56673b8363dd647b9e</id>
<content type='text'>
This traded local copies of CTASSERT() to the one in crypto_internal.h.
This change was backed out due to SHA-512 breakage on STRICT_ALIGNMENT
architectures still using Fred Flintstone's gcc without asm sha512.

Original commit message:

Use crypto_internal.h's CTASSERT()

Now that this macro is available in a header, let's use that version
rather than copies in several .c files.

discussed with jsing
</content>
</entry>
<entry>
<title>backout alignment changes (breaking at least two architectures)</title>
<updated>2023-05-19T00:54:28+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2023-05-19T00:54:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=3dc51b1807e9a69624721300010e6e6ce16d5709'/>
<id>urn:sha1:3dc51b1807e9a69624721300010e6e6ce16d5709</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use crypto_internal.h's CTASSERT()</title>
<updated>2023-05-17T07:42:38+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-05-17T07:42:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=11b2caf2d2be047efd96d29f1a2278031692364a'/>
<id>urn:sha1:11b2caf2d2be047efd96d29f1a2278031692364a</id>
<content type='text'>
Now that this macro is available in a header, let's use that version
rather than copies in several .c files.

discussed with jsing
</content>
</entry>
<entry>
<title>Replace the remaining BN_copy() with bn_copy()</title>
<updated>2023-03-27T10:25:02+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-03-27T10:25:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=aeb32cad44c92f3786167b06a0f9c4310cbb713d'/>
<id>urn:sha1:aeb32cad44c92f3786167b06a0f9c4310cbb713d</id>
<content type='text'>
ok jsing
</content>
</entry>
<entry>
<title>Provide BN_zero()/BN_one() as functions and make BN_zero() always succeed.</title>
<updated>2022-12-17T15:56:25+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2022-12-17T15:56:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=8cb0d6719a25ad287afaef9db9c434e2ffbe86a7'/>
<id>urn:sha1:8cb0d6719a25ad287afaef9db9c434e2ffbe86a7</id>
<content type='text'>
BN_zero() is currently implemented using BN_set_word(), which means it can
fail, however almost nothing ever checks the return value. A long time
ago OpenSSL changed BN_zero() to always succeed and return void, however
kept BN_zero as a macro that calls a new BN_zero_ex() function, so that
it can be switched back to the "can fail" version.

Take a simpler approach - change BN_zero()/BN_one() to functions and make
BN_zero() always succeed. This will be exposed in the next bump, at which
point we can hopefully also remove the BN_zero_ex() function.

ok tb@
</content>
</entry>
<entry>
<title>Update reference to table generation</title>
<updated>2022-12-01T21:59:54+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-12-01T21:59:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=45aa98b071b22b4a4d3899a8a1af3109d41fa30b'/>
<id>urn:sha1:45aa98b071b22b4a4d3899a8a1af3109d41fa30b</id>
<content type='text'>
</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>Fix path of mentioned regress test</title>
<updated>2022-10-11T13:52:23+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-10-11T13:52:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=23148e14f19e3ce83c84737397284ffd4ea6b56d'/>
<id>urn:sha1:23148e14f19e3ce83c84737397284ffd4ea6b56d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Do not make tables static so we can access them from regress.</title>
<updated>2022-07-13T11:20:00+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-07-13T11:20:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=4f5bf66c016b9c324607078219f587e4b38a635e'/>
<id>urn:sha1:4f5bf66c016b9c324607078219f587e4b38a635e</id>
<content type='text'>
</content>
</entry>
</feed>
