Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/char/tpm/
Dtpm2-cmd.c202 rc = tpm_transmit_cmd(chip, &buf, 0, "attempting to read a pcr value"); in tpm2_pcr_read()
270 rc = tpm_transmit_cmd(chip, &buf, 0, "attempting extend a PCR value"); in tpm2_pcr_extend()
328 err = tpm_transmit_cmd(chip, &buf, in tpm2_get_random()
390 tpm_transmit_cmd(chip, &buf, 0, "flushing context"); in tpm2_flush_context()
427 rc = tpm_transmit_cmd(chip, &buf, 0, NULL); in tpm2_get_tpm_pt()
466 tpm_transmit_cmd(chip, &buf, 0, "stopping the TPM"); in tpm2_shutdown()
495 rc = tpm_transmit_cmd(chip, &buf, 0, in tpm2_do_selftest()
532 rc = tpm_transmit_cmd(chip, &buf, 0, NULL); in tpm2_probe()
599 rc = tpm_transmit_cmd(chip, &buf, 9, "get tpm pcr allocation"); in tpm2_get_pcr_allocation()
688 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
238 EXPORT_SYMBOL_GPL(tpm_transmit_cmd);
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()
Dtpm2-sessions.c198 rc = tpm_transmit_cmd(chip, &buf, 0, "read public"); in tpm2_read_public()
1027 rc = tpm_transmit_cmd(chip, &buf, 0, "start auth session"); in tpm2_start_auth_session()
1338 rc = tpm_transmit_cmd(chip, &buf, 0, in tpm2_create_primary()
Dtpm_vtpm_proxy.c413 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.12.1/security/keys/trusted-keys/
Dtrusted_tpm2.c335 rc = tpm_transmit_cmd(chip, &buf, 4, "sealing data"); in tpm2_seal_trusted()
460 rc = tpm_transmit_cmd(chip, &buf, 4, "loading blob"); in tpm2_load_cmd()
535 rc = tpm_transmit_cmd(chip, &buf, 6, "unsealing"); in tpm2_unseal_cmd()
Dtrusted_tpm1.c373 rc = tpm_transmit_cmd(chip, &buf, 4, "sending data"); in trusted_tpm_send()
/linux-6.12.1/include/linux/
Dtpm.h444 extern ssize_t tpm_transmit_cmd(struct tpm_chip *chip, struct tpm_buf *buf,