Home
last modified time | relevance | path

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

/Linux-v5.10/security/integrity/ima/
Dima_queue.c216 u16 crypto_id; in ima_init_digests() local
230 crypto_id = ima_tpm_chip->allocated_banks[i].crypto_id; in ima_init_digests()
233 if (crypto_id == HASH_ALGO__LAST) in ima_init_digests()
Dima_crypto.c129 algo = ima_tpm_chip->allocated_banks[i].crypto_id; in ima_init_crypto()
154 algo = ima_tpm_chip->allocated_banks[i].crypto_id; in ima_init_crypto()
856 u16 crypto_id, alg_id; in ima_calc_boot_aggregate() local
860 crypto_id = ima_tpm_chip->allocated_banks[i].crypto_id; in ima_calc_boot_aggregate()
861 if (crypto_id == hash->algo) { in ima_calc_boot_aggregate()
866 if (crypto_id == HASH_ALGO_SHA256) in ima_calc_boot_aggregate()
869 if (bank_idx == -1 && crypto_id == HASH_ALGO_SHA1) in ima_calc_boot_aggregate()
878 hash->algo = ima_tpm_chip->allocated_banks[bank_idx].crypto_id; in ima_calc_boot_aggregate()
/Linux-v5.10/include/linux/
Dtpm.h53 u16 crypto_id; member
309 unsigned int crypto_id; member
/Linux-v5.10/drivers/char/tpm/
Dtpm2-cmd.c518 enum hash_algo crypto_algo = tpm2_hash_map[i].crypto_id; in tpm2_init_bank_info()
524 bank->crypto_id = crypto_algo; in tpm2_init_bank_info()
528 bank->crypto_id = HASH_ALGO__LAST; in tpm2_init_bank_info()
Dtpm1-cmd.c804 chip->allocated_banks[0].crypto_id = HASH_ALGO_SHA1; in tpm1_get_pcr_allocation()
/Linux-v5.10/security/keys/trusted-keys/
Dtrusted_tpm2.c73 if (options->hash == tpm2_hash_map[i].crypto_id) { in tpm2_seal_trusted()