-
Notifications
You must be signed in to change notification settings - Fork 2
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
optee ftpm: CFG_TA_FTPM_RPMB_STORAGE selects RPMB storage #3
base: master
Are you sure you want to change the base?
Conversation
sub.mk
Outdated
@@ -95,6 +96,8 @@ srcs-y += platform/fTPM_helpers.c | |||
|
|||
srcs-y += fTPM.c | |||
|
|||
cflags-$(CFG_TA_FTPM_RPMB_STORAGE) += -DCFG_TA_FTPM_RPMB_STORAGE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/cflags/cppflags/
sub.mk
Outdated
@@ -1,4 +1,5 @@ | |||
CFG_FTPM_EMULATE_PPI ?= n | |||
CFG_TA_FTPM_RPMB_STORAGE ?= n |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe the configuration should get the storage ID instead of a a boolean value that selects between TEE_STORAGE_PRIVATE
and TEE_STORAGE_PRIVATE_RPMB
. Here:
CFG_FTPM_TA_TEE_STORAGE_ID ?= TEE_STORAGE_PRIVATE
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed-by: Jens Wiklander <[email protected]>
Adds configuration switch CFG_TA_FTPM_RPMB_STORAGE that, when enable, makes fTPM OP-TEE TA to explicitly use the eMMC RPMB secure storage of OP-TEE instead of OP-TEE private storage which depends on OP-TEE configuration. The configuration switch is default disabled for compatibility reasons. Signed-off-by: Etienne Carriere <[email protected]> Reviewed-by: Jens Wiklander <[email protected]>
4d48562
to
85bc88d
Compare
Adds configuration switch CFG_TA_FTPM_RPMB_STORAGE that, when enable, makes fTPM OP-TEE TA to explicitly use the eMMC RPMB secure storage of OP-TEE instead of OP-TEE private storage which depends on OP-TEE configuration. The configuration switch is default disabled for compatibility reasons.