<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/crypto_init.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-06-11T07:41:12+00:00</updated>
<entry>
<title>Explain why we still need OPENSSL_init() (autoconf)</title>
<updated>2025-06-11T07:41:12+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-06-11T07:41:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=8017971f573e66eda3ad3955f7728d5adaf97258'/>
<id>urn:sha1:8017971f573e66eda3ad3955f7728d5adaf97258</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Provide openssl_init_crypto_constructor() and invoke via a constructor.</title>
<updated>2025-05-24T07:41:14+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2025-05-24T07:41:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=d75f6fd37c90033bcb088aa5518ce6263f10d56b'/>
<id>urn:sha1:d75f6fd37c90033bcb088aa5518ce6263f10d56b</id>
<content type='text'>
There are a very large number of entry points to libcrypto, which means it
is easy to run code prior to OPENSSL_init_crypto() being invoked. This
means that CPU capability detection will not have been run, leading to
poor choices with regards to the use of accelerated implementations.

Now that our CPU capability detection code has been cleaned up and is safe,
provide an openssl_init_crypto_constructor() that runs CPU capability
detection and invoke it as a library constructor. This should only be used
to invoke code that does not do memory allocation or trigger signals.

ok tb@
</content>
</entry>
<entry>
<title>Remove remnants of OPENSSL_cpuid_setup().</title>
<updated>2025-05-24T07:23:14+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2025-05-24T07:23:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=19481faae98e76fb30ab33568501e385e3bcd1a3'/>
<id>urn:sha1:19481faae98e76fb30ab33568501e385e3bcd1a3</id>
<content type='text'>
This is no longer used.
</content>
</entry>
<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>Provide crypto_cpu_caps_init() as a CPU capability detection entry point.</title>
<updated>2024-10-17T14:27:57+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2024-10-17T14:27:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=9b41a36f226fead819f4a72e5bf97ff0cd94daaf'/>
<id>urn:sha1:9b41a36f226fead819f4a72e5bf97ff0cd94daaf</id>
<content type='text'>
This can be overridden on a per-architecture basis. The default version
calls OPENSSL_cpuid_setup(), which will be eventually replaced/removed.

ok joshua@ tb@
</content>
</entry>
<entry>
<title>Finish Hiding symbols in crypto.h</title>
<updated>2024-04-10T14:51:02+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2024-04-10T14:51:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=8f5c098da9d2f4cfab60d5924c5dda86cf4709a2'/>
<id>urn:sha1:8f5c098da9d2f4cfab60d5924c5dda86cf4709a2</id>
<content type='text'>
crypto.h already had the symbols not hidden behind LIBRESSL_INTERNAL
hidden - This now picks up the reset of them marking them as
LCRYPTO_UNUSED, and removes the LIBRESSL_INTERNAL guard.

These symbols will now be hidden, but if we use them inside
the library in a namespaced build we will get a deprecation
warning. use outside the library will be as with any other hidden
symbol, so fine.

ok tb@
</content>
</entry>
<entry>
<title>Hide public symbols in evp.h</title>
<updated>2024-04-09T13:52:42+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2024-04-09T13:52:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=9835bb3c82adc630df1f3aaa7dfbf7f0506b0bc4'/>
<id>urn:sha1:9835bb3c82adc630df1f3aaa7dfbf7f0506b0bc4</id>
<content type='text'>
largely mechanically done by the guentherizer 9000

ok tb@
</content>
</entry>
<entry>
<title>Move the OPENSSL_init() stub from o_init.c to crypto_init.c</title>
<updated>2024-03-19T19:27:33+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-03-19T19:27:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=9a77df2dd8ab32511f481fa1e883757c51c47f6a'/>
<id>urn:sha1:9a77df2dd8ab32511f481fa1e883757c51c47f6a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Ditch another noop from OPENSSL_cleanup()</title>
<updated>2024-01-25T12:22:31+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-01-25T12:22:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=ecbca8a0b80d5a386a794f97a9e368c93e948dcd'/>
<id>urn:sha1:ecbca8a0b80d5a386a794f97a9e368c93e948dcd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove calls to OpenSSL_add_all_{ciphers,digests}()</title>
<updated>2024-01-13T17:04:29+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-01-13T17:04:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=560c6bc6f5d870bd0aa031f057679240a2f6c3f3'/>
<id>urn:sha1:560c6bc6f5d870bd0aa031f057679240a2f6c3f3</id>
<content type='text'>
</content>
</entry>
</feed>
