Searched refs:tpm_ret_to_err (Results 1 – 3 of 3) sorted by relevance
354 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()
188 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()
449 static inline ssize_t tpm_ret_to_err(ssize_t ret) in tpm_ret_to_err() function