]> git.ipfire.org Git - thirdparty/systemd.git/commit
tpm2-util: rename tpm2_get_pin_auth() → tpm2_auth_value_from_pin()
authorLennart Poettering <lennart@poettering.net>
Tue, 16 Apr 2024 11:52:30 +0000 (13:52 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 18 Apr 2024 16:12:23 +0000 (18:12 +0200)
commitd0f8da9815744a0a7e1a79a5134b56334e12a197
tree0ffe6a05cce3ef4aa3047a6da0e3fab2f4baed9b
parent98ef5f8419ade95b7df0022ced6559cf47b80b83
tpm2-util: rename tpm2_get_pin_auth() → tpm2_auth_value_from_pin()

Just some renaming. I found the old name a bit confusing since it sounds
as if this would get the pin from somewhere, but it really doesn't. It
just converts a PIN into an auth_value, and I think saying so explicitly
makes things easier to grok.
src/pcrlock/pcrlock.c
src/shared/tpm2-util.c
src/shared/tpm2-util.h