]> git.ipfire.org Git - thirdparty/openssl.git/commit
Use the new hashtable for core_namemap
authorTomas Mraz <tomas@openssl.org>
Mon, 27 May 2024 14:50:05 +0000 (16:50 +0200)
committerTomas Mraz <tomas@openssl.org>
Wed, 21 Aug 2024 13:21:26 +0000 (15:21 +0200)
commit4cad608509855a7c181a856d64084c97aee80589
tree0b4eac3d75584d0f6b5b2c6efa07876c79c02b55
parent71fe7f09831682e0dafe49e927da195792cff385
Use the new hashtable for core_namemap

This replaces LHASH in core_namemap with the new hashtable and adds
a reverse mapping in form of stack of stacks instead of iterating
the existing hash table members.

The new hashtable is used in lockless-read mode.

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/24504)
crypto/core_namemap.c
crypto/cpt_err.c
crypto/err/openssl.txt
include/crypto/cryptoerr.h
include/internal/namemap.h
include/openssl/cryptoerr.h
test/namemap_internal_test.c