Home
last modified time | relevance | path

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

12

/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/char/tpm/
H A Dtpm1-cmd.c474 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()
739 u8 dummy_hash[TPM_DIGEST_SIZE] = { 0 }; in tpm1_pm_suspend()
H A Dtpm-sysfs.c86 u8 digest[TPM_DIGEST_SIZE]; in pcrs_show()
108 for (j = 0; j < TPM_DIGEST_SIZE; j++) in pcrs_show()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/char/tpm/
H A Dtpm1-cmd.c474 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()
739 u8 dummy_hash[TPM_DIGEST_SIZE] = { 0 }; in tpm1_pm_suspend()
H A Dtpm-sysfs.c86 u8 digest[TPM_DIGEST_SIZE]; in pcrs_show()
108 for (j = 0; j < TPM_DIGEST_SIZE; j++) in pcrs_show()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/char/tpm/
H A Dtpm1-cmd.c474 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()
739 u8 dummy_hash[TPM_DIGEST_SIZE] = { 0 }; in tpm1_pm_suspend()
H A Dtpm-sysfs.c86 u8 digest[TPM_DIGEST_SIZE]; in pcrs_show()
108 for (j = 0; j < TPM_DIGEST_SIZE; j++) in pcrs_show()
/dports/multimedia/libv4l/linux-5.13-rc2/include/keys/
H A Dtrusted-type.h39 unsigned char keyauth[TPM_DIGEST_SIZE];
41 unsigned char blobauth[TPM_DIGEST_SIZE];
/dports/multimedia/v4l_compat/linux-5.13-rc2/include/keys/
H A Dtrusted-type.h39 unsigned char keyauth[TPM_DIGEST_SIZE];
41 unsigned char blobauth[TPM_DIGEST_SIZE];
/dports/multimedia/v4l-utils/linux-5.13-rc2/include/keys/
H A Dtrusted-type.h39 unsigned char keyauth[TPM_DIGEST_SIZE];
41 unsigned char blobauth[TPM_DIGEST_SIZE];
/dports/security/trousers/trousers-0.3.14_3/src/tcs/
H A Dtcsi_dir.c53 TPM_DIGEST_SIZE, newContents.digest, ownerAuth, NULL))) in TCSP_DirWriteAuth_Internal()
H A Dtcsi_pcr.c62 if ((result = tpm_rqu_build(TPM_ORD_Extend, &offset, txBlob, pcrNum, TPM_DIGEST_SIZE, in TCSP_Extend_Internal()
H A Dtcs_pbg.c734 offset1 = offset2 = len - TPM_DIGEST_SIZE; in tpm_rsp_parse()
735 memcpy(digest1, &b[offset2], TPM_DIGEST_SIZE); in tpm_rsp_parse()
737 if ((offset2 + TPM_DIGEST_SIZE) > TSS_TPM_TXBLOB_SIZE) in tpm_rsp_parse()
776 offset2 = len - TPM_DIGEST_SIZE; in tpm_rsp_parse()
777 memcpy(digest2, &b[offset2], TPM_DIGEST_SIZE); in tpm_rsp_parse()
779 offset2 -= TPM_DIGEST_SIZE; in tpm_rsp_parse()
780 memcpy(digest1, &b[offset2], TPM_DIGEST_SIZE); in tpm_rsp_parse()
1465 blob_size = in_len1 + in_len2 + TPM_DIGEST_SIZE + sizeof(TPM_AUTH); in tpm_rqu_build()
/dports/security/trousers/trousers-0.3.14_3/src/include/
H A Dtrousers_types.h28 #define TPM_DIGEST_SIZE TCPA_DIGEST_SIZE macro
/dports/multimedia/libv4l/linux-5.13-rc2/security/integrity/ima/
H A Dima_template.c386 unsigned char zero[TPM_DIGEST_SIZE] = { 0 }; in ima_restore_measurement_list()
391 [HDR_DIGEST] = {.len = TPM_DIGEST_SIZE}, in ima_restore_measurement_list()
H A Dima_fs.c154 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 Dima_queue.c79 size += TPM_DIGEST_SIZE; in get_binary_runtime_size()
/dports/multimedia/v4l_compat/linux-5.13-rc2/security/integrity/ima/
H A Dima_fs.c154 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 Dima_template.c386 unsigned char zero[TPM_DIGEST_SIZE] = { 0 }; in ima_restore_measurement_list()
391 [HDR_DIGEST] = {.len = TPM_DIGEST_SIZE}, in ima_restore_measurement_list()
H A Dima_queue.c79 size += TPM_DIGEST_SIZE; in get_binary_runtime_size()
/dports/multimedia/v4l-utils/linux-5.13-rc2/security/integrity/ima/
H A Dima_fs.c154 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 Dima_template.c386 unsigned char zero[TPM_DIGEST_SIZE] = { 0 }; in ima_restore_measurement_list()
391 [HDR_DIGEST] = {.len = TPM_DIGEST_SIZE}, in ima_restore_measurement_list()
H A Dima_queue.c79 size += TPM_DIGEST_SIZE; in get_binary_runtime_size()
/dports/multimedia/v4l_compat/linux-5.13-rc2/security/keys/trusted-keys/
H A Dtrusted_tpm2.c266 TPM_DIGEST_SIZE); in tpm2_seal_trusted()
421 TPM_DIGEST_SIZE); in tpm2_load_cmd()
/dports/multimedia/libv4l/linux-5.13-rc2/security/keys/trusted-keys/
H A Dtrusted_tpm2.c266 TPM_DIGEST_SIZE); in tpm2_seal_trusted()
421 TPM_DIGEST_SIZE); in tpm2_load_cmd()
/dports/multimedia/v4l-utils/linux-5.13-rc2/security/keys/trusted-keys/
H A Dtrusted_tpm2.c266 TPM_DIGEST_SIZE); in tpm2_seal_trusted()
421 TPM_DIGEST_SIZE); in tpm2_load_cmd()

12