Home
last modified time | relevance | path

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

/linux/drivers/char/tpm/
H A Dtpm2-cmd.c147 rc = tpm_transmit_cmd(chip, buf, 0, "attempting to read a pcr value"); in tpm2_pcr_read()
222 rc = tpm_transmit_cmd(chip, buf, 0, "attempting extend a PCR value"); in tpm2_pcr_extend()
289 err = tpm_transmit_cmd(chip, buf, in tpm2_get_random()
344 tpm_transmit_cmd(chip, buf, 0, "flushing context"); in tpm2_flush_context()
374 rc = tpm_transmit_cmd(chip, buf, 0, NULL); in tpm2_get_tpm_pt()
412 tpm_transmit_cmd(chip, buf, 0, "stopping the TPM"); in tpm2_shutdown()
443 rc = tpm_transmit_cmd(chip, buf, 0, in tpm2_do_selftest()
480 rc = tpm_transmit_cmd(chip, buf, 0, NULL); in tpm2_probe()
541 rc = tpm_transmit_cmd(chip, buf, 9, "get tpm pcr allocation"); in tpm2_get_pcr_allocation()
630 rc = tpm_transmit_cmd(chip, buf, 9 + 4 * nr_commands, NULL); in tpm2_get_cc_attrs_tbl()
[all …]
H A Dtpm1-cmd.c332 return tpm_transmit_cmd(chip, buf, 0, "attempting to start the TPM"); in tpm1_startup()
467 return tpm_transmit_cmd(chip, buf, TPM_DIGEST_SIZE, log_msg); in tpm1_pcr_extend()
497 rc = tpm_transmit_cmd(chip, buf, min_cap_length, desc); in tpm1_getcap()
535 rc = tpm_transmit_cmd(chip, buf, sizeof(out->rng_data_len), in tpm1_get_random()
579 rc = tpm_transmit_cmd(chip, buf, TPM_DIGEST_SIZE, in tpm1_pcr_read()
607 return tpm_transmit_cmd(chip, buf, 0, "continue selftest"); in tpm1_continue_selftest()
736 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.c76 rc = tpm_transmit_cmd(chip, tbuf, 4, NULL); in tpm2_load_context()
122 rc = tpm_transmit_cmd(chip, tbuf, 0, NULL); in tpm2_save_context()
H A Dtpm2-sessions.c187 rc = tpm_transmit_cmd(chip, buf, 0, "TPM2_ReadPublic"); in tpm2_read_public()
1058 rc = tpm_ret_to_err(tpm_transmit_cmd(chip, buf, 0, "StartAuthSession")); in tpm2_start_auth_session()
1367 rc = tpm_transmit_cmd(chip, buf, 0, in tpm2_create_primary()
H A Dtpm_vtpm_proxy.c416 rc = tpm_transmit_cmd(chip, buf, 0, "attempting to set locality"); in vtpm_proxy_request_locality()
H A Dtpm-sysfs.c57 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.c342 rc = tpm_transmit_cmd(chip, buf, 4, "sealing data"); in tpm2_seal_trusted()
473 rc = tpm_transmit_cmd(chip, buf, 4, "loading blob");
558 rc = tpm_transmit_cmd(chip, buf, 6, "unsealing"); in tpm2_unseal_cmd()
H A Dtrusted_tpm1.c333 rc = tpm_transmit_cmd(chip, buf, 4, "sending data"); in trusted_tpm_send()
/linux/include/linux/
H A Dtpm.h247 extern ssize_t tpm_transmit_cmd(struct tpm_chip *chip, struct tpm_buf *buf,