Home
last modified time | relevance | path

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

/linux-6.12.1/security/keys/trusted-keys/
Dtrusted_tpm2.c21 static struct tpm2_hash tpm2_hash_map[] = { variable
252 for (i = 0; i < ARRAY_SIZE(tpm2_hash_map); i++) { in tpm2_seal_trusted()
253 if (options->hash == tpm2_hash_map[i].crypto_id) { in tpm2_seal_trusted()
254 hash = tpm2_hash_map[i].tpm_id; in tpm2_seal_trusted()
259 if (i == ARRAY_SIZE(tpm2_hash_map)) in tpm2_seal_trusted()
/linux-6.12.1/drivers/char/tpm/
Dtpm2-cmd.c21 static struct tpm2_hash tpm2_hash_map[] = { variable
554 for (i = 0; i < ARRAY_SIZE(tpm2_hash_map); i++) { in tpm2_init_bank_info()
555 enum hash_algo crypto_algo = tpm2_hash_map[i].crypto_id; in tpm2_init_bank_info()
557 if (bank->alg_id != tpm2_hash_map[i].tpm_id) in tpm2_init_bank_info()