summaryrefslogtreecommitdiff
path: root/LICENSES
diff options
context:
space:
mode:
authorLuca Boccassi <luca.boccassi@microsoft.com>2021-09-30 11:01:45 +0100
committerLuca Boccassi <luca.boccassi@microsoft.com>2021-10-08 13:11:00 +0100
commitec4afb4606e2b1ea44b0f32778a51c2a8be7eadd (patch)
tree9f64833e32716672694fd2bc37f7b63ae41b1c89 /LICENSES
parent8d39bff4e36ee3996c5b087ee62ae0d33a82c837 (diff)
downloadsystemd-ec4afb4606e2b1ea44b0f32778a51c2a8be7eadd.tar.gz
libsystemd/sd-id128: use only internal hmac, remove khash/OpenSSL support
Using OpenSSL brings in an additional dependency for all users of libsystemd.so even though it's just one API that makes use of it. The khash implementation is awkward as it requires context switches and computation inside the kernel, thus leaving the process. Remove both from libsystemd.so, and use exclusively the internal hmac fallback. While this is not optimized, the sd-id128 API is not used in performance-critical contexts where hardware acceleration would make a noticeable difference.
Diffstat (limited to 'LICENSES')
-rw-r--r--LICENSES/README.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/LICENSES/README.md b/LICENSES/README.md
index f01049c13f..3c28de51b1 100644
--- a/LICENSES/README.md
+++ b/LICENSES/README.md
@@ -58,3 +58,8 @@ The following exceptions apply:
**BSD-3-Clause** license.
* any files under test/ without an explicit license we assume non-copyrightable
(eg: computer-generated fuzzer data)
+
+## OpenSSL Notes
+
+Note that building the systemd project with OpenSSL does not affect the libsystemd.so
+shared library, which is not linked with the OpenSSL library.