Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/char/tpm/
Dtpm2-cmd.c198 rc = tpm_transmit_cmd(chip, &buf, 0, "attempting to read a pcr value"); in tpm2_pcr_read()
265 rc = tpm_transmit_cmd(chip, &buf, 0, "attempting extend a PCR value"); in tpm2_pcr_extend()
309 err = tpm_transmit_cmd(chip, &buf, in tpm2_get_random()
362 tpm_transmit_cmd(chip, &buf, 0, "flushing context"); in tpm2_flush_context()
399 rc = tpm_transmit_cmd(chip, &buf, 0, NULL); in tpm2_get_tpm_pt()
438 tpm_transmit_cmd(chip, &buf, 0, "stopping the TPM"); in tpm2_shutdown()
467 rc = tpm_transmit_cmd(chip, &buf, 0, in tpm2_do_selftest()
504 rc = tpm_transmit_cmd(chip, &buf, 0, NULL); in tpm2_probe()
571 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 …]
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()
Dtpm-interface.c213 ssize_t tpm_transmit_cmd(struct tpm_chip *chip, struct tpm_buf *buf, in tpm_transmit_cmd() function
237 EXPORT_SYMBOL_GPL(tpm_transmit_cmd);
363 rc = tpm_transmit_cmd(chip, &buf, 0, "attempting to a send a command"); in tpm_send()
Dtpm2-space.c87 rc = tpm_transmit_cmd(chip, &tbuf, 4, NULL); in tpm2_load_context()
135 rc = tpm_transmit_cmd(chip, &tbuf, 0, NULL); in tpm2_save_context()
Dtpm_vtpm_proxy.c414 rc = tpm_transmit_cmd(chip, &buf, 0, "attempting to set locality"); in vtpm_proxy_request_locality()
Dtpm-sysfs.c52 if (tpm_transmit_cmd(chip, &tpm_buf, READ_PUBEK_RESULT_MIN_BODY_SIZE, in pubek_show()
/linux-6.1.9/security/keys/trusted-keys/
Dtrusted_tpm2.c311 rc = tpm_transmit_cmd(chip, &buf, 4, "sealing data"); in tpm2_seal_trusted()
430 rc = tpm_transmit_cmd(chip, &buf, 4, "loading blob"); in tpm2_load_cmd()
481 rc = tpm_transmit_cmd(chip, &buf, 6, "unsealing"); in tpm2_unseal_cmd()
/linux-6.1.9/include/linux/
Dtpm.h422 extern ssize_t tpm_transmit_cmd(struct tpm_chip *chip, struct tpm_buf *buf,