Searched refs:allocated_banks (Results 1 – 8 of 8) sorted by relevance
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()
564 digests[i].alg_id = ima_tpm_chip->allocated_banks[i].alg_id; in ima_init_digests()565 digest_size = ima_tpm_chip->allocated_banks[i].digest_size; in ima_init_digests()566 crypto_id = ima_tpm_chip->allocated_banks[i].crypto_id; in ima_init_digests()
123 chip->allocated_banks[i].alg_id != digest->alg_id; i++) in tpm2_pcr_read()129 expected_digest_size = chip->allocated_banks[i].digest_size; in tpm2_pcr_read()213 chip->allocated_banks[i].digest_size); in tpm2_pcr_extend()491 struct tpm_bank_info *bank = chip->allocated_banks + bank_index; in tpm2_init_bank_info()570 chip->allocated_banks[nr_alloc_banks].alg_id = hash_alg; in tpm2_get_pcr_allocation()
383 if (ha->alg_id == chip->allocated_banks[i].alg_id) in pcr_value_show()384 digest_size = chip->allocated_banks[i].digest_size; in pcr_value_show()515 switch (chip->allocated_banks[i].alg_id) { in tpm_sysfs_add_device()540 chip->allocated_banks[i].alg_id); in tpm_sysfs_add_device()
776 chip->allocated_banks[0].alg_id = TPM_ALG_SHA1; in tpm1_get_pcr_allocation()777 chip->allocated_banks[0].digest_size = hash_digest_size[HASH_ALGO_SHA1]; in tpm1_get_pcr_allocation()778 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()
149 struct tpm_bank_info allocated_banks[TPM2_MAX_PCR_BANKS]; member
955 digests[i].alg_id = chip->allocated_banks[i].alg_id; in init_digests()