Home
last modified time | relevance | path

Searched refs:allocated_banks (Results 1 – 8 of 8) sorted by relevance

/linux/security/integrity/ima/
H A Dima_queue.c278 digests[i].alg_id = ima_tpm_chip->allocated_banks[i].alg_id; in ima_init_digests()
279 digest_size = ima_tpm_chip->allocated_banks[i].digest_size; in ima_init_digests()
280 crypto_id = ima_tpm_chip->allocated_banks[i].crypto_id; 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()
639 alg_id = ima_tpm_chip->allocated_banks[i].alg_id; in ima_calc_field_array_hash()
846 crypto_id = ima_tpm_chip->allocated_banks[i].crypto_id; in ima_calc_boot_aggregate()
864 hash->algo = ima_tpm_chip->allocated_banks[bank_idx].crypto_id; in ima_calc_boot_aggregate()
871 alg_id = ima_tpm_chip->allocated_banks[bank_idx].alg_id; in ima_calc_boot_aggregate()
/linux/drivers/char/tpm/
H A Dtpm2-cmd.c133 chip->allocated_banks[i].alg_id != digest->alg_id; i++) in tpm2_pcr_read()
139 expected_digest_size = chip->allocated_banks[i].digest_size; in tpm2_pcr_read()
221 chip->allocated_banks[i].digest_size); in tpm2_pcr_extend()
520 struct tpm_bank_info *bank = chip->allocated_banks + bank_index; in tpm2_init_bank_info()
605 chip->allocated_banks[nr_alloc_banks].alg_id = hash_alg; in tpm2_get_pcr_allocation()
H A Dtpm-sysfs.c379 if (ha->alg_id == chip->allocated_banks[i].alg_id) in pcr_value_show()
380 digest_size = chip->allocated_banks[i].digest_size; in pcr_value_show()
511 switch (chip->allocated_banks[i].alg_id) { in tpm_sysfs_add_device()
536 chip->allocated_banks[i].alg_id); in tpm_sysfs_add_device()
H A Dtpm1-cmd.c802 chip->allocated_banks[0].alg_id = TPM_ALG_SHA1; in tpm1_get_pcr_allocation()
803 chip->allocated_banks[0].digest_size = hash_digest_size[HASH_ALGO_SHA1]; in tpm1_get_pcr_allocation()
804 chip->allocated_banks[0].crypto_id = HASH_ALGO_SHA1; in tpm1_get_pcr_allocation()
H A Dtpm-interface.c386 if (digests[i].alg_id != chip->allocated_banks[i].alg_id) { in tpm_pcr_extend()
/linux/include/linux/
H A Dtpm.h194 struct tpm_bank_info allocated_banks[TPM2_MAX_PCR_BANKS]; member
/linux/security/keys/trusted-keys/
H A Dtrusted_tpm1.c954 digests[i].alg_id = chip->allocated_banks[i].alg_id; in init_digests()