diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-11-17 17:03:21 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-11-29 15:13:00 +0100 |
commit | 0fe5f3c5d743a7e4c63580a67066935f9e23a2f4 (patch) | |
tree | fb908cf2bdab00d3ad17bde1924e1eed8dd6e0ac /.gitignore | |
parent | Merge pull request #4763 from keszybz/offline-update-loop (diff) | |
download | systemd-0fe5f3c5d743a7e4c63580a67066935f9e23a2f4.tar.xz systemd-0fe5f3c5d743a7e4c63580a67066935f9e23a2f4.zip |
core: add "khash" API to src/basic/ (as wrapper around kernel AF_ALG)
Let's take inspiration from bluez's ELL library, and let's move our
cryptographic primitives away from libgcrypt and towards the kernel's AF_ALG
cryptographic userspace API.
In the long run we should try to remove the dependency on libgcrypt, in favour
of using only the kernel's own primitives, however this is unlikely to happen
anytime soon, as the kernel does not provide Elliptic Curve APIs to userspace
at this time, and we need them for the DNSSEC cryptographic.
This commit only covers hashing for now, symmetric encryption/decryption or
even asymetric encryption/decryption is not available for now.
"khash" is little more than a lightweight wrapper around the kernel's AF_ALG
socket API.
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore index 21fcf9841c..2e39f65e43 100644 --- a/.gitignore +++ b/.gitignore @@ -198,6 +198,7 @@ /test-fs-util /test-fstab-util /test-glob-util +/test-hash /test-hashmap /test-hexdecoct /test-hostname |