Home
last modified time | relevance | path

Searched refs:host_key_size (Results 1 – 1 of 1) sorted by relevance

/systemd-251/src/shared/
Dcreds-util.c447 size_t host_key_size, 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()
497 …size_t host_key_size = 0, tpm2_key_size = 0, tpm2_blob_size = 0, tpm2_policy_hash_size = 0, output… in encrypt_credential_and_warn() local
547 &host_key_size); 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()
776 size_t host_key_size = 0, tpm2_key_size = 0, plaintext_size, p, hs; in decrypt_credential_and_warn() local
896 &host_key_size); in decrypt_credential_and_warn()
904 sha256_hash_host_and_tpm2_key(host_key, host_key_size, tpm2_key, tpm2_key_size, md); in decrypt_credential_and_warn()