Searched refs:allocated_banks (Results 1 – 7 of 7) sorted by relevance
565 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;
89 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()
379 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()
802 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()
386 if (digests[i].alg_id != chip->allocated_banks[i].alg_id) { in tpm_pcr_extend()
194 struct tpm_bank_info allocated_banks[TPM2_MAX_PCR_BANKS]; member
960 digests[i].alg_id = chip->allocated_banks[i].alg_id; in trusted_tpm_init()