Home
last modified time | relevance | path

Searched refs:ima_tpm_chip (Results 1 – 7 of 7) sorted by relevance

/linux/security/integrity/ima/
A Dima_crypto.c128 for (i = 0; i < NR_BANKS(ima_tpm_chip); i++) { in ima_init_crypto()
129 algo = ima_tpm_chip->allocated_banks[i].crypto_id; in ima_init_crypto()
138 ima_sha1_idx = NR_BANKS(ima_tpm_chip) + ima_extra_slots++; in ima_init_crypto()
153 for (i = 0; i < NR_BANKS(ima_tpm_chip); i++) { in ima_init_crypto()
154 algo = ima_tpm_chip->allocated_banks[i].crypto_id; in ima_init_crypto()
178 if (ima_sha1_idx >= NR_BANKS(ima_tpm_chip)) { in ima_init_crypto()
193 if (ima_hash_algo_idx >= NR_BANKS(ima_tpm_chip) && in ima_init_crypto()
642 if (i < NR_BANKS(ima_tpm_chip)) { in ima_calc_field_array_hash()
643 alg_id = ima_tpm_chip->allocated_banks[i].alg_id; in ima_calc_field_array_hash()
781 if (!ima_tpm_chip) in ima_pcrread()
[all …]
A Dima_queue.c142 if (!ima_tpm_chip) in ima_pcr_extend()
145 result = tpm_pcr_extend(ima_tpm_chip, pcr, digests_arg); in ima_pcr_extend()
220 if (!ima_tpm_chip) in ima_init_digests()
223 digests = kcalloc(ima_tpm_chip->nr_allocated_banks, sizeof(*digests), in ima_init_digests()
228 for (i = 0; i < ima_tpm_chip->nr_allocated_banks; i++) { in ima_init_digests()
229 digests[i].alg_id = ima_tpm_chip->allocated_banks[i].alg_id; in ima_init_digests()
230 digest_size = ima_tpm_chip->allocated_banks[i].digest_size; in ima_init_digests()
231 crypto_id = ima_tpm_chip->allocated_banks[i].crypto_id; in ima_init_digests()
A Dima_init.c25 struct tpm_chip *ima_tpm_chip; variable
75 if (ima_tpm_chip) { in ima_add_boot_aggregate()
123 ima_tpm_chip = tpm_default_chip(); in ima_init()
124 if (!ima_tpm_chip) in ima_init()
A Dima_api.c55 digests = kcalloc(NR_BANKS(ima_tpm_chip) + ima_extra_slots, in ima_alloc_init_template()
A Dima.h58 extern struct tpm_chip *ima_tpm_chip;
A Dima_template.c359 digests = kcalloc(NR_BANKS(ima_tpm_chip) + ima_extra_slots, in ima_restore_template_data()
A Dima_template_lib.c331 if (ima_tpm_chip) { in ima_eventdigest_init()

Completed in 14 milliseconds