Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFC] POC Remote Attestation #4011

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions core/arch/arm/include/kernel/user_ta.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include <tee_api_types.h>
#include <types_ext.h>
#include <util.h>
#include <utee_defines.h>

TAILQ_HEAD(tee_cryp_state_head, tee_cryp_state);
TAILQ_HEAD(tee_obj_head, tee_obj);
Expand All @@ -31,6 +32,7 @@ SLIST_HEAD(load_seg_head, load_seg);
* @ta_time_offs: Time reference used by the TA
* @uctx: Generic user mode context
* @ctx: Generic TA context
* @ta_image_sha256: Fingerprint of the TA
*/
struct user_ta_ctx {
struct tee_ta_session_head open_sessions;
Expand All @@ -40,6 +42,9 @@ struct user_ta_ctx {
void *ta_time_offs;
struct user_mode_ctx uctx;
struct tee_ta_ctx ta_ctx;
#ifdef CFG_ATTESTATION_PTA
uint8_t ta_image_sha256[TEE_SHA256_HASH_SIZE];
#endif
};

#ifdef CFG_WITH_USER_TA
Expand Down