Home
last modified time | relevance | path

Searched refs:TPM_DIGEST_SIZE (Results 1 – 11 of 11) sorted by relevance

/linux-4.1.27/security/integrity/ima/
Dima_init.c62 char digest[TPM_DIGEST_SIZE]; in ima_add_boot_aggregate()
113 u8 pcr_i[TPM_DIGEST_SIZE]; in ima_init()
Dima_queue.c56 rc = memcmp(qe->entry->digest, digest_value, TPM_DIGEST_SIZE); in ima_lookup_digest_entry()
112 u8 digest[TPM_DIGEST_SIZE]; in ima_add_template_entry()
Dima_fs.c143 ima_putc(m, e->digest, TPM_DIGEST_SIZE); in ima_measurements_show()
222 ima_print_digest(m, e->digest, TPM_DIGEST_SIZE); in ima_ascii_measurements_show()
Dima_crypto.c537 u8 pcr_i[TPM_DIGEST_SIZE]; in ima_calc_boot_aggregate_tfm()
552 rc = crypto_shash_update(shash, pcr_i, TPM_DIGEST_SIZE); in ima_calc_boot_aggregate_tfm()
Dima.h81 u8 digest[TPM_DIGEST_SIZE]; /* sha1 or md5 measurement hash */
Dima_api.c101 char digest[TPM_DIGEST_SIZE]; in ima_store_template()
/linux-4.1.27/drivers/char/tpm/
Dtpm2-cmd.c43 u8 digest[TPM_DIGEST_SIZE];
59 u8 digest[TPM_DIGEST_SIZE];
266 memcpy(res_buf, buf, TPM_DIGEST_SIZE); in tpm2_pcr_read()
308 memcpy(cmd.params.pcrextend_in.digest, hash, TPM_DIGEST_SIZE); in tpm2_pcr_extend()
Dtpm-interface.c398 #define TPM_DIGEST_SIZE 20 macro
664 TPM_DIGEST_SIZE); in tpm_pcr_read_dev()
732 memcpy(cmd.params.pcrextend_in.hash, hash, TPM_DIGEST_SIZE); in tpm_pcr_extend()
899 u8 dummy_hash[TPM_DIGEST_SIZE] = { 0 }; in tpm_pm_suspend()
914 TPM_DIGEST_SIZE); in tpm_pm_suspend()
Dtpm-sysfs.c91 u8 digest[TPM_DIGEST_SIZE]; in pcrs_show()
108 for (j = 0; j < TPM_DIGEST_SIZE; j++) in pcrs_show()
Dtpm.h343 u8 pcr_result[TPM_DIGEST_SIZE];
352 u8 hash[TPM_DIGEST_SIZE];
/linux-4.1.27/include/linux/
Dtpm.h25 #define TPM_DIGEST_SIZE 20 /* Max TPM v1.2 PCR size */ macro