Searched refs:TPM_DIGEST_SIZE (Results 1 – 10 of 10) sorted by relevance
/openbmc/linux/drivers/char/tpm/ |
H A D | tpm1-cmd.c | 474 tpm_buf_append(&buf, hash, TPM_DIGEST_SIZE); in tpm1_pcr_extend() 476 rc = tpm_transmit_cmd(chip, &buf, TPM_DIGEST_SIZE, log_msg); in tpm1_pcr_extend() 595 rc = tpm_transmit_cmd(chip, &buf, TPM_DIGEST_SIZE, in tpm1_pcr_read() 600 if (tpm_buf_length(&buf) < TPM_DIGEST_SIZE) { in tpm1_pcr_read() 605 memcpy(res_buf, &buf.data[TPM_HEADER_SIZE], TPM_DIGEST_SIZE); in tpm1_pcr_read() 648 u8 dummy[TPM_DIGEST_SIZE]; in tpm1_do_selftest() 744 u8 dummy_hash[TPM_DIGEST_SIZE] = { 0 }; in tpm1_pm_suspend()
|
H A D | tpm-sysfs.c | 86 u8 digest[TPM_DIGEST_SIZE]; in pcrs_show() 108 for (j = 0; j < TPM_DIGEST_SIZE; j++) in pcrs_show()
|
/openbmc/linux/include/keys/ |
H A D | trusted-type.h | 39 unsigned char keyauth[TPM_DIGEST_SIZE]; 41 unsigned char blobauth[TPM_DIGEST_SIZE];
|
/openbmc/linux/security/integrity/ima/ |
H A D | ima_fs.c | 154 ima_putc(m, e->digests[ima_sha1_idx].digest, TPM_DIGEST_SIZE); in ima_measurements_show() 237 ima_print_digest(m, e->digests[ima_sha1_idx].digest, TPM_DIGEST_SIZE); in ima_ascii_measurements_show()
|
H A D | ima_template.c | 417 unsigned char zero[TPM_DIGEST_SIZE] = { 0 }; in ima_restore_measurement_list() 422 [HDR_DIGEST] = {.len = TPM_DIGEST_SIZE}, in ima_restore_measurement_list()
|
H A D | ima_queue.c | 79 size += TPM_DIGEST_SIZE; in get_binary_runtime_size()
|
H A D | ima_crypto.c | 652 TPM_DIGEST_SIZE); in ima_calc_field_array_hash()
|
/openbmc/linux/security/keys/trusted-keys/ |
H A D | trusted_tpm2.c | 279 TPM_DIGEST_SIZE); in tpm2_seal_trusted() 434 TPM_DIGEST_SIZE); in tpm2_load_cmd()
|
H A D | trusted_tpm1.c | 795 if (opt->blobauth_len == 2 * TPM_DIGEST_SIZE) { in getoptions() 797 TPM_DIGEST_SIZE); in getoptions() 801 opt->blobauth_len = TPM_DIGEST_SIZE; in getoptions()
|
/openbmc/linux/include/linux/ |
H A D | tpm.h | 27 #define TPM_DIGEST_SIZE 20 /* Max TPM v1.2 PCR size */ macro
|