Home
last modified time | relevance | path

Searched refs:tpm_transmit_cmd (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/char/tpm/
H A Dtpm2-cmd.c154 rc = tpm_transmit_cmd(chip, &buf, 0, "attempting to read a pcr value"); in tpm2_pcr_read()
232 rc = tpm_transmit_cmd(chip, &buf, 0, "attempting extend a PCR value"); in tpm2_pcr_extend()
303 err = tpm_transmit_cmd(chip, &buf, in tpm2_get_random()
364 tpm_transmit_cmd(chip, &buf, 0, "flushing context"); in tpm2_flush_context()
401 rc = tpm_transmit_cmd(chip, &buf, 0, NULL); in tpm2_get_tpm_pt()
440 tpm_transmit_cmd(chip, &buf, 0, "stopping the TPM"); in tpm2_shutdown()
469 rc = tpm_transmit_cmd(chip, &buf, 0, in tpm2_do_selftest()
506 rc = tpm_transmit_cmd(chip, &buf, 0, NULL); in tpm2_probe()
573 rc = tpm_transmit_cmd(chip, &buf, 9, "get tpm pcr allocation"); in tpm2_get_pcr_allocation()
660 rc = tpm_transmit_cmd(chip, &buf, 9 + 4 * nr_commands, NULL); in tpm2_get_cc_attrs_tbl()
[all …]
H A Dtpm1-cmd.c337 rc = tpm_transmit_cmd(chip, &buf, 0, "attempting to start the TPM"); in tpm1_startup()
476 rc = tpm_transmit_cmd(chip, &buf, TPM_DIGEST_SIZE, log_msg); in tpm1_pcr_extend()
506 rc = tpm_transmit_cmd(chip, &buf, min_cap_length, desc); in tpm1_getcap()
547 rc = tpm_transmit_cmd(chip, &buf, sizeof(out->rng_data_len), in tpm1_get_random()
595 rc = tpm_transmit_cmd(chip, &buf, TPM_DIGEST_SIZE, in tpm1_pcr_read()
629 rc = tpm_transmit_cmd(chip, &buf, 0, "continue selftest"); in tpm1_continue_selftest()
760 rc = tpm_transmit_cmd(chip, &buf, 0, NULL); in tpm1_pm_suspend()
H A Dtpm-interface.c264 ssize_t tpm_transmit_cmd(struct tpm_chip *chip, struct tpm_buf *buf, in tpm_transmit_cmd() function
289 EXPORT_SYMBOL_GPL(tpm_transmit_cmd);
H A Dtpm2-space.c87 rc = tpm_transmit_cmd(chip, &tbuf, 4, NULL); in tpm2_load_context()
138 rc = tpm_transmit_cmd(chip, &tbuf, 0, NULL); in tpm2_save_context()
H A Dtpm2-sessions.c185 rc = tpm_transmit_cmd(chip, &buf, 0, "TPM2_ReadPublic"); in tpm2_read_public()
1032 rc = tpm_ret_to_err(tpm_transmit_cmd(chip, &buf, 0, "StartAuthSession")); in tpm2_start_auth_session()
1343 rc = tpm_transmit_cmd(chip, &buf, 0, in tpm2_create_primary()
H A Dtpm_vtpm_proxy.c415 rc = tpm_transmit_cmd(chip, &buf, 0, "attempting to set locality"); in vtpm_proxy_request_locality()
H A Dtpm-sysfs.c52 if (tpm_transmit_cmd(chip, &tpm_buf, READ_PUBEK_RESULT_MIN_BODY_SIZE, in pubek_show()
/linux/security/keys/trusted-keys/
H A Dtrusted_tpm2.c326 rc = tpm_transmit_cmd(chip, &buf, 4, "sealing data"); in tpm2_seal_trusted()
455 rc = tpm_transmit_cmd(chip, &buf, 4, "loading blob"); in tpm2_load_cmd()
538 rc = tpm_transmit_cmd(chip, &buf, 6, "unsealing"); in tpm2_unseal_cmd()
/linux/include/linux/
H A Dtpm.h471 extern ssize_t tpm_transmit_cmd(struct tpm_chip *chip, struct tpm_buf *buf,