]> git.ipfire.org Git - thirdparty/systemd.git/commit
shared: split out crypt() specific helpers into its own .c/.h in src/shared/
authorLennart Poettering <lennart@poettering.net>
Wed, 13 Nov 2019 22:13:42 +0000 (23:13 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 15 Jan 2020 14:26:27 +0000 (15:26 +0100)
commit42f3b2f97510ab364717154c01a03f5ddd9541a1
tree06849d5179287878f3e53890573fbec197cedd0b
parent2ee4b118fa72d1dd119dc7b8915307ed86df5b14
shared: split out crypt() specific helpers into its own .c/.h in src/shared/

This way we can use libxcrypt specific functionality such as
crypt_gensalt() and thus take benefit of the newer algorithms libxcrypt
implements. (Also adds support for a new env var $SYSTEMD_CRYPT_PREFIX
which may be used to select the hash algorithm to use for libxcrypt.)

Also, let's move the weird crypt.h inclusion into libcrypt.h so that
there's a single place for it.
docs/ENVIRONMENT.md
src/basic/user-util.c
src/basic/user-util.h
src/firstboot/firstboot.c
src/shared/libcrypt-util.c [new file with mode: 0644]
src/shared/libcrypt-util.h [new file with mode: 0644]
src/shared/meson.build
src/test/test-user-util.c