DPE: Destroy redundant CDI and attestation keys

CDI and attest keys are created and imported when certificate is
requested. However, layer may not be finalised when leaf certificate
is created with CertifyKey command. If new leaf certificate is requested
for same layer, old keys needs to be destroyed from memory.

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