<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/objects/objects.h, 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>2024-03-02T09:51:36+00:00</updated>
<entry>
<title>Remove unused OBJ_create_and_add_object()</title>
<updated>2024-03-02T09:51:36+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-03-02T09:51:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=9c25037b962e7ec9fbd5b3f3abb73f588d8d3a30'/>
<id>urn:sha1:9c25037b962e7ec9fbd5b3f3abb73f588d8d3a30</id>
<content type='text'>
This is an alias for OBJ_create(). I haven't dug into its history.

ok jsing
</content>
</entry>
<entry>
<title>Remove no longer supported OBJ_NAME_TYPEs</title>
<updated>2024-03-02T09:50:47+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-03-02T09:50:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=328a8b94e02107beca6feae33daca3da2ecf6710'/>
<id>urn:sha1:328a8b94e02107beca6feae33daca3da2ecf6710</id>
<content type='text'>
OBJ_NAME_TYPE_PKEY_METH and OBJ_NAME_TYPE_COMP_METH were never used
as far as I can tell. Unfortunately, PHP and Python still use the
weirdly named OBJ_NAME_do_all*() API to list available ciphers and
digests, so the MD and CIPHER variants need to remain public.

ok jsing
</content>
</entry>
<entry>
<title>Make OBJ_add_object() static</title>
<updated>2024-03-02T09:49:45+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-03-02T09:49:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c2a8b27418d4c367c3ff2673c6d47caada8c4b1a'/>
<id>urn:sha1:c2a8b27418d4c367c3ff2673c6d47caada8c4b1a</id>
<content type='text'>
This is another implementation detail that should never have leaked out
of the library. Only OBJ_create() ever used this.

ok jsing
</content>
</entry>
<entry>
<title>Remove OBJ_bsearch_()</title>
<updated>2024-03-02T09:47:16+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-03-02T09:47:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=348fad0a9df90c576a11c7beeef17fa70cae611f'/>
<id>urn:sha1:348fad0a9df90c576a11c7beeef17fa70cae611f</id>
<content type='text'>
The only reason this has still been part of the public API was that libssl
used it for cipher lookup. This was fixed by replacing the lookup by proper
bsearch() -- why OpenSSL felt the need to reinvent ANSI C API badly will
forever remain a mystery.

The stack code in libcrypto still uses a version of this. This should
be rewritten. It will be a bit easier once sk_find_ex() is removed.

ok jsing
</content>
</entry>
<entry>
<title>Switch name member of OBJ_NAME to const void *</title>
<updated>2024-03-02T09:43:10+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-03-02T09:43:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=3f22814f63ba66035d2e72f3a89f12dab47db39b'/>
<id>urn:sha1:3f22814f63ba66035d2e72f3a89f12dab47db39b</id>
<content type='text'>
Because this is the type it should have had from the get go.

ok jsing
</content>
</entry>
<entry>
<title>Remove unused public OBJ_NAME_* API</title>
<updated>2024-03-02T09:41:02+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-03-02T09:41:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0afd4713583c48a961d60ae9f02ee1384b6989a1'/>
<id>urn:sha1:0afd4713583c48a961d60ae9f02ee1384b6989a1</id>
<content type='text'>
This functionality has been disabled for a few months. Now it is high time
to garbage collect it.

ok jsing
</content>
</entry>
<entry>
<title>Remove OBJ_add_sigid() and OBJ_sigid_free()</title>
<updated>2023-07-28T10:25:05+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-07-28T10:25:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=ff3b404e5cda0d0876bf6dccdcc293d75dd12c57'/>
<id>urn:sha1:ff3b404e5cda0d0876bf6dccdcc293d75dd12c57</id>
<content type='text'>
Another bit of unused extensibility that was responsible for a lot
of complexity until recently. This removes the remaining stubs from
the public API.

ok jsing
</content>
</entry>
<entry>
<title>Move check_defer() and obj_cleanup_defer to evp/names.c</title>
<updated>2023-06-29T06:11:33+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-06-29T06:11:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=a1bdd4c20c55e52ed63ea6391d4e33da0b8a8684'/>
<id>urn:sha1:a1bdd4c20c55e52ed63ea6391d4e33da0b8a8684</id>
<content type='text'>
These formerly public symbols are the last things hidden by
LIBRESSL_CRYPTO_INTERNAL. Most of their use is in evp/names.c
Unfortunately, check_defer() needs to know about NUM_NIDS, so
its implementation needs to remain in obj_dat.c, the only file
that can include obj_dat.h due to NID tables.

ok miod
</content>
</entry>
<entry>
<title>Add ED25519 aliases for NID, SN and OBJ</title>
<updated>2022-11-13T14:03:13+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-11-13T14:03:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=d8bfcdb1812e07af680a4667d084849f2181657a'/>
<id>urn:sha1:d8bfcdb1812e07af680a4667d084849f2181657a</id>
<content type='text'>
The Ed25519 versions already existed, but OpenSSL chose to uppercase the D.
</content>
</entry>
<entry>
<title>Stop pretending that obj_mac.h is optional.</title>
<updated>2022-11-11T11:53:24+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2022-11-11T11:53:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=fd62f2b8865d2908f2ef9a53dcd73faa76f153c3'/>
<id>urn:sha1:fd62f2b8865d2908f2ef9a53dcd73faa76f153c3</id>
<content type='text'>
This is effectively:

  unifdef -m -DUSE_OBJ_MAC objects/objects.h

ok beck@, with extreme prejudice.
</content>
</entry>
</feed>
