Searched refs:crypto_id (Results 1 - 6 of 6) sorted by relevance

/linux-master/security/integrity/ima/
H A Dima_queue.c217 u16 crypto_id; local
231 crypto_id = ima_tpm_chip->allocated_banks[i].crypto_id;
234 if (crypto_id == HASH_ALGO__LAST)
H A Dima_crypto.c129 algo = ima_tpm_chip->allocated_banks[i].crypto_id;
154 algo = ima_tpm_chip->allocated_banks[i].crypto_id;
847 u16 crypto_id, alg_id; local
851 crypto_id = ima_tpm_chip->allocated_banks[i].crypto_id;
852 if (crypto_id == hash->algo) {
857 if (crypto_id == HASH_ALGO_SHA256)
860 if (bank_idx == -1 && crypto_id == HASH_ALGO_SHA1)
869 hash->algo = ima_tpm_chip->allocated_banks[bank_idx].crypto_id;
/linux-master/include/linux/
H A Dtpm.h60 u16 crypto_id; member in struct:tpm_bank_info
325 unsigned int crypto_id; member in struct:tpm2_hash
/linux-master/drivers/char/tpm/
H A Dtpm2-cmd.c527 enum hash_algo crypto_algo = tpm2_hash_map[i].crypto_id;
533 bank->crypto_id = crypto_algo;
537 bank->crypto_id = HASH_ALGO__LAST;
H A Dtpm1-cmd.c809 chip->allocated_banks[0].crypto_id = HASH_ALGO_SHA1;
/linux-master/security/keys/trusted-keys/
H A Dtrusted_tpm2.c239 if (options->hash == tpm2_hash_map[i].crypto_id) {

Completed in 152 milliseconds