Home
last modified time | relevance | path

Searched refs:tpm_ret_to_err (Results 1 – 3 of 3) sorted by relevance

/linux/security/keys/trusted-keys/
H A Dtrusted_tpm2.c354 return tpm_ret_to_err(rc); in tpm2_seal_trusted()
464 return tpm_ret_to_err(rc); in tpm2_load_cmd()
572 return tpm_ret_to_err(rc); in tpm2_unseal_cmd()
604 return tpm_ret_to_err(rc); in tpm2_unseal_trusted()
/linux/drivers/char/tpm/
H A Dtpm2-sessions.c188 return tpm_ret_to_err(rc); in tpm2_read_public()
308 return tpm_ret_to_err(ret); in tpm_buf_append_name()
1032 rc = tpm_ret_to_err(tpm_transmit_cmd(chip, &buf, 0, "StartAuthSession")); in tpm2_start_auth_session()
/linux/include/linux/
H A Dtpm.h449 static inline ssize_t tpm_ret_to_err(ssize_t ret) in tpm_ret_to_err() function