Searched refs:TPM_DIGEST_SIZE (Results 1 – 11 of 11) sorted by relevance
/linux-4.1.27/security/integrity/ima/ |
D | ima_init.c | 62 char digest[TPM_DIGEST_SIZE]; in ima_add_boot_aggregate() 113 u8 pcr_i[TPM_DIGEST_SIZE]; in ima_init()
|
D | ima_queue.c | 56 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()
|
D | ima_fs.c | 143 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()
|
D | ima_crypto.c | 537 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()
|
D | ima.h | 81 u8 digest[TPM_DIGEST_SIZE]; /* sha1 or md5 measurement hash */
|
D | ima_api.c | 101 char digest[TPM_DIGEST_SIZE]; in ima_store_template()
|
/linux-4.1.27/drivers/char/tpm/ |
D | tpm2-cmd.c | 43 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()
|
D | tpm-interface.c | 398 #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()
|
D | tpm-sysfs.c | 91 u8 digest[TPM_DIGEST_SIZE]; in pcrs_show() 108 for (j = 0; j < TPM_DIGEST_SIZE; j++) in pcrs_show()
|
D | tpm.h | 343 u8 pcr_result[TPM_DIGEST_SIZE]; 352 u8 hash[TPM_DIGEST_SIZE];
|
/linux-4.1.27/include/linux/ |
D | tpm.h | 25 #define TPM_DIGEST_SIZE 20 /* Max TPM v1.2 PCR size */ macro
|