Searched refs:TPM_DIGEST_SIZE (Results 1 – 8 of 8) sorted by relevance
| /linux/drivers/char/tpm/ |
| H A D | tpm1-cmd.c | 465 tpm_buf_append(buf, hash, TPM_DIGEST_SIZE); in tpm1_pcr_extend() 467 return tpm_transmit_cmd(chip, buf, TPM_DIGEST_SIZE, log_msg); in tpm1_pcr_extend() 579 rc = tpm_transmit_cmd(chip, buf, TPM_DIGEST_SIZE, in tpm1_pcr_read() 584 if (tpm_buf_length(buf) < TPM_DIGEST_SIZE) in tpm1_pcr_read() 587 memcpy(res_buf, &buf->data[TPM_HEADER_SIZE], TPM_DIGEST_SIZE); in tpm1_pcr_read() 624 u8 dummy[TPM_DIGEST_SIZE]; in tpm1_do_selftest() 718 u8 dummy_hash[TPM_DIGEST_SIZE] = { 0 }; in tpm1_pm_suspend()
|
| H A D | tpm-sysfs.c | 90 u8 digest[TPM_DIGEST_SIZE]; in pcrs_show() 112 for (j = 0; j < TPM_DIGEST_SIZE; j++) in pcrs_show()
|
| /linux/security/integrity/ima/ |
| H A D | ima_template.c | 418 unsigned char zero[TPM_DIGEST_SIZE] = { 0 }; in ima_restore_measurement_list() 423 [HDR_DIGEST] = {.len = TPM_DIGEST_SIZE}, in ima_restore_measurement_list()
|
| H A D | ima_queue.c | 139 size += TPM_DIGEST_SIZE; in get_binary_runtime_size()
|
| H A D | ima_crypto.c | 360 TPM_DIGEST_SIZE); in ima_calc_file_hash_atfm()
|
| /linux/security/keys/trusted-keys/ |
| H A D | trusted_tpm2.c | 283 options->keyauth, TPM_DIGEST_SIZE); in tpm2_seal_trusted() 449 TPM_DIGEST_SIZE); in tpm2_load_cmd()
|
| H A D | trusted_tpm1.c | 760 if (opt->blobauth_len == 2 * TPM_DIGEST_SIZE) { in getoptions() 762 TPM_DIGEST_SIZE); in getoptions() 766 opt->blobauth_len = TPM_DIGEST_SIZE; in getoptions()
|
| /linux/include/linux/ |
| H A D | tpm_command.h | 436 #define TPM_DIGEST_SIZE 20 /* Max TPM v1.2 PCR size */ macro
|