Home
last modified time | relevance | path

Searched refs:crypto_id (Results 1 – 2 of 2) sorted by relevance

/linux/security/integrity/ima/
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()
484 u16 crypto_id, alg_id; in ima_calc_file_hash_tfm()
488 crypto_id = ima_tpm_chip->allocated_banks[i].crypto_id; in ima_calc_file_hash_tfm()
489 if (crypto_id == hash->algo) { in ima_calc_file_hash_tfm()
494 if (crypto_id == HASH_ALGO_SHA256) in ima_calc_file_hash_tfm()
497 if (bank_idx == -1 && crypto_id == HASH_ALGO_SHA1) in ima_calc_file_hash_tfm()
506 hash->algo = ima_tpm_chip->allocated_banks[bank_idx].crypto_id; in ima_calc_file_shash()
842 u16 crypto_id, alg_id; ima_calc_boot_aggregate() local
H A Dima_queue.c552 u16 crypto_id; in ima_init_digests() local
566 crypto_id = ima_tpm_chip->allocated_banks[i].crypto_id; in ima_init_digests()
569 if (crypto_id == HASH_ALGO__LAST) in ima_init_digests()