Hello,
I've been writing code to create a privacy CA and noticed when you try to
extract the public key portion of the AIK, the size comes out wrong. After
looking into the source code I noticed the following:
in function src/tspi/tspi_aik.c:
-- function Tspi_TPM_CollateIdentityRequest is called
-- in this function, the TPM_IdentityProof struct is populated.
-- one of the fields in this struct is TPM_Pubkey.
-- TPM_Pubkey has a field called TPM_STORE_Pubkey, which has a keyLength
field. According to the spec, this field is supposed to represent the key
length in bytes, but in the TrouSerS implementation, it represents it in
bits. So if keyLength is 2048, the key ends up being 2048 bits, not bytes.
Any comments on this would be greatly appreciated!
thanks,
Olga
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
TrouSerS-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/trousers-users