Searched refs:tpm2_key_size (Results 1 – 1 of 1) sorted by relevance
/systemd-251/src/shared/ |
D | creds-util.c | 449 size_t tpm2_key_size, in sha256_hash_host_and_tpm2_key() argument 456 assert(tpm2_key_size == 0 || tpm2_key); in sha256_hash_host_and_tpm2_key() 471 if (tpm2_key && EVP_DigestUpdate(md, tpm2_key, tpm2_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 582 &tpm2_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 880 &tpm2_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()
|