HV: trusty: set cse_svn when derive dvseed for trusty

Bugfix: need to set cse_svn when derive dvseed for trusty.

Signed-off-by: Qi Yadong <yadong.qi@intel.com>
This commit is contained in:
Qi Yadong 2018-10-17 12:35:50 +08:00 committed by wenlingz
parent 102f5a0141
commit a98dd9e3fe

View File

@ -351,6 +351,7 @@ static bool setup_trusty_info(struct vcpu *vcpu,
pr_err("%s: derive dvseed failed!", __func__);
return false;
}
key_info->dseed_list[i].cse_svn = g_key_info.dseed_list[i].cse_svn;
}
/* Prepare trusty startup param */