trusty: add key_info for trusty bring-up

For trusty bring-up, key_info is needed.
Currently, bootloader did not transfer key_info to hypervisor.
So in this patch, use dummy key_info temporarily.

Derive vSeed from dSeed before trusty startup, the vSeed will
bind with UUID of each VM.

Remove key_info from sworld_control structure.

Signed-off-by: Qi Yadong <yadong.qi@intel.com>
This commit is contained in:
Qi Yadong
2018-03-27 17:28:51 +08:00
committed by Jack Ren
parent b124e0da28
commit 922daae198
3 changed files with 42 additions and 10 deletions

View File

@@ -122,8 +122,6 @@ struct secure_world_memory {
struct secure_world_control {
/* Whether secure world is enabled for current VM */
bool sworld_enabled;
/* key info structure */
struct key_info key_info;
/* Secure world memory structure */
struct secure_world_memory sworld_memory;
};