Searched refs:crypto_id (Results 1 – 4 of 4) sorted by relevance
124 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()842 u16 crypto_id, alg_id; in ima_calc_boot_aggregate() local846 crypto_id = ima_tpm_chip->allocated_banks[i].crypto_id; in ima_calc_boot_aggregate()847 if (crypto_id == hash->algo) { in ima_calc_boot_aggregate()852 if (crypto_id == HASH_ALGO_SHA256) in ima_calc_boot_aggregate()855 if (bank_idx == -1 && crypto_id == HASH_ALGO_SHA1) in ima_calc_boot_aggregate()864 hash->algo = ima_tpm_chip->allocated_banks[bank_idx].crypto_id; in ima_calc_boot_aggregate()
32 int tpm2_find_hash_alg(unsigned int crypto_id) in tpm2_find_hash_alg() argument37 if (crypto_id == tpm2_hash_map[i].crypto_id) in tpm2_find_hash_alg()529 enum hash_algo crypto_algo = tpm2_hash_map[i].crypto_id; in tpm2_init_bank_info()535 bank->crypto_id = crypto_algo; in tpm2_init_bank_info()539 bank->crypto_id = HASH_ALGO__LAST; in tpm2_init_bank_info()
804 chip->allocated_banks[0].crypto_id = HASH_ALGO_SHA1; in tpm1_get_pcr_allocation()
79 u16 crypto_id; member414 unsigned int crypto_id; member480 int tpm2_find_hash_alg(unsigned int crypto_id);