Bad key header when unwrapping a key.
Status: Abandoned
Brought to you by:
mdwood-intel
Hello,
I have generated a DES key and a RSA key pair with
the EAY CSP.
I wrapped the DES key with RSA and I stored only the
KeyData.
Then, I build an empty CSSM_WRAP_KEY with the
BlobType, Format, AlgorithmId, WrapAlgorithmId,
WrapMode and the wrapped key data.
When I try to unwrap the key, the key header is not
filled with the LogicalKeySizeInBits.
I tried with another CSP which is filling the key
header correctly.
Regards,
Nicolas