Home
last modified time | relevance | path

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

/linux/security/integrity/ima/
H A Dima_queue.c565 digests[i].alg_id = ima_tpm_chip->allocated_banks[i].alg_id;
566 digest_size = ima_tpm_chip->allocated_banks[i].digest_size;
567 crypto_id = ima_tpm_chip->allocated_banks[i].crypto_id;
H A Dima_crypto.c89 algo = ima_tpm_chip->allocated_banks[i].crypto_id; in ima_alloc_tfm()
114 algo = ima_tpm_chip->allocated_banks[i].crypto_id; in ima_init_crypto()
115 digest_size = ima_tpm_chip->allocated_banks[i].digest_size; in ima_init_crypto()
352 alg_id = ima_tpm_chip->allocated_banks[i].alg_id; in ima_calc_file_hash_atfm()
488 crypto_id = ima_tpm_chip->allocated_banks[i].crypto_id; in ima_calc_file_hash_tfm()
506 hash->algo = ima_tpm_chip->allocated_banks[bank_idx].crypto_id; in ima_calc_file_shash()
513 alg_id = ima_tpm_chip->allocated_banks[bank_idx].alg_id; in ima_calc_file_shash()
/linux/drivers/char/tpm/
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.c960 digests[i].alg_id = chip->allocated_banks[i].alg_id; in trusted_tpm_init()