DPE: Update to make CertifyKey output independent

In case of situation when CertifyKey command is  called immediately
after GetCertificateChain, it overwrites the previously derived
CDIs and keys by GetCertificateChain command. This commit fixes it.

On every CertifyKey command, new temporary certificate context
is created and all derivates are placed within.

Signed-off-by: Maulik Patel <maulik.patel@arm.com>
Change-Id: I4a4059dae08276225d13e4818f800bcef5b2e9d7
1 file changed