Home
last modified time | relevance | path

Searched refs:tpm2_hash_map (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/security/keys/trusted-keys/
H A Dtrusted_tpm2.c15 static struct tpm2_hash tpm2_hash_map[] = { variable
72 for (i = 0; i < ARRAY_SIZE(tpm2_hash_map); i++) { in tpm2_seal_trusted()
73 if (options->hash == tpm2_hash_map[i].crypto_id) { in tpm2_seal_trusted()
74 hash = tpm2_hash_map[i].tpm_id; in tpm2_seal_trusted()
79 if (i == ARRAY_SIZE(tpm2_hash_map)) in tpm2_seal_trusted()
/kernel/linux/linux-6.6/security/keys/trusted-keys/
H A Dtrusted_tpm2.c21 static struct tpm2_hash tpm2_hash_map[] = { variable
238 for (i = 0; i < ARRAY_SIZE(tpm2_hash_map); i++) { in tpm2_seal_trusted()
239 if (options->hash == tpm2_hash_map[i].crypto_id) { in tpm2_seal_trusted()
240 hash = tpm2_hash_map[i].tpm_id; in tpm2_seal_trusted()
245 if (i == ARRAY_SIZE(tpm2_hash_map)) in tpm2_seal_trusted()
/kernel/linux/linux-5.10/drivers/char/tpm/
H A Dtpm2-cmd.c17 static struct tpm2_hash tpm2_hash_map[] = { variable
526 for (i = 0; i < ARRAY_SIZE(tpm2_hash_map); i++) { in tpm2_init_bank_info()
527 enum hash_algo crypto_algo = tpm2_hash_map[i].crypto_id; in tpm2_init_bank_info()
529 if (bank->alg_id != tpm2_hash_map[i].tpm_id) in tpm2_init_bank_info()
/kernel/linux/linux-6.6/drivers/char/tpm/
H A Dtpm2-cmd.c17 static struct tpm2_hash tpm2_hash_map[] = { variable
526 for (i = 0; i < ARRAY_SIZE(tpm2_hash_map); i++) { in tpm2_init_bank_info()
527 enum hash_algo crypto_algo = tpm2_hash_map[i].crypto_id; in tpm2_init_bank_info()
529 if (bank->alg_id != tpm2_hash_map[i].tpm_id) in tpm2_init_bank_info()

Completed in 4 milliseconds