Searched refs:host_key (Results 1 – 1 of 1) sorted by relevance
/systemd-251/src/shared/ |
D | creds-util.c | 446 const void *host_key, in sha256_hash_host_and_tpm2_key() argument 455 assert(host_key_size == 0 || host_key); in sha256_hash_host_and_tpm2_key() 468 if (host_key && EVP_DigestUpdate(md, host_key, host_key_size) != 1) in sha256_hash_host_and_tpm2_key() 496 _cleanup_(erase_and_freep) void *host_key = NULL, *tpm2_key = NULL; in encrypt_credential_and_warn() 546 &host_key, in encrypt_credential_and_warn() 606 if (host_key && tpm2_key) in encrypt_credential_and_warn() 610 else if (host_key) in encrypt_credential_and_warn() 624 r = sha256_hash_host_and_tpm2_key(host_key, host_key_size, tpm2_key, tpm2_key_size, md); in encrypt_credential_and_warn() 774 _cleanup_(erase_and_freep) void *host_key = NULL, *tpm2_key = NULL, *plaintext = NULL; in decrypt_credential_and_warn() 895 &host_key, in decrypt_credential_and_warn() [all …]
|