Home
last modified time | relevance | path

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

/linux-6.15/security/integrity/ima/
H A Dima_queue.c261 u16 crypto_id; in ima_init_digests() local
275 crypto_id = ima_tpm_chip->allocated_banks[i].crypto_id; in ima_init_digests()
278 if (crypto_id == HASH_ALGO__LAST) in ima_init_digests()
H A Dima_crypto.c124 algo = ima_tpm_chip->allocated_banks[i].crypto_id; in ima_init_crypto()
149 algo = ima_tpm_chip->allocated_banks[i].crypto_id; in ima_init_crypto()
842 u16 crypto_id, alg_id; in ima_calc_boot_aggregate() local
846 crypto_id = ima_tpm_chip->allocated_banks[i].crypto_id; in ima_calc_boot_aggregate()
847 if (crypto_id == hash->algo) { in ima_calc_boot_aggregate()
852 if (crypto_id == HASH_ALGO_SHA256) in ima_calc_boot_aggregate()
855 if (bank_idx == -1 && crypto_id == HASH_ALGO_SHA1) in ima_calc_boot_aggregate()
864 hash->algo = ima_tpm_chip->allocated_banks[bank_idx].crypto_id; in ima_calc_boot_aggregate()
/linux-6.15/drivers/char/tpm/
H A Dtpm2-cmd.c554 enum hash_algo crypto_algo = tpm2_hash_map[i].crypto_id; in tpm2_init_bank_info()
560 bank->crypto_id = crypto_algo; in tpm2_init_bank_info()
564 bank->crypto_id = HASH_ALGO__LAST; in tpm2_init_bank_info()
H A Dtpm1-cmd.c809 chip->allocated_banks[0].crypto_id = HASH_ALGO_SHA1; in tpm1_get_pcr_allocation()
/linux-6.15/include/linux/
H A Dtpm.h77 u16 crypto_id; member
409 unsigned int crypto_id; member
/linux-6.15/security/keys/trusted-keys/
H A Dtrusted_tpm2.c253 if (options->hash == tpm2_hash_map[i].crypto_id) { in tpm2_seal_trusted()