Skip to content

Commit

Permalink
poc remote attestation
Browse files Browse the repository at this point in the history
  • Loading branch information
elias-vd committed Jul 30, 2020
1 parent f372174 commit a97f2ef
Show file tree
Hide file tree
Showing 6 changed files with 637 additions and 0 deletions.
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 @@ -15,6 +15,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 @@ -41,6 +42,7 @@ SLIST_HEAD(load_seg_head, load_seg);
* @areas: Memory areas registered by pager
* @vfp: State of VFP registers
* @ctx: Generic TA context
* @ta_image_sha256: Fingerprint of the TA
*/
struct user_ta_ctx {
uaddr_t entry_func;
Expand All @@ -59,6 +61,9 @@ struct user_ta_ctx {
vaddr_t stack_ptr;
void *ta_time_offs;
struct user_mode_ctx uctx;
#ifdef CFG_ATTESTATION_PTA
uint8_t ta_image_sha256[TEE_SHA256_HASH_SIZE];
#endif
};

#ifdef CFG_WITH_USER_TA
Expand Down

0 comments on commit a97f2ef

Please sign in to comment.