From: Carolin L. <car...@un...> - 2008-08-15 14:19:10
|
Hi everybody, I started again working on my TPM project after a long unplanned break. I have some problems that I already solved in the past, but unfortunatly I cannot remember their solution :( Perhaps, somebody on the list can help me: I have a key, that is certified using another key using the Tspi_Key_CertifyKey method. Now I want to verify the signature of the TCPA_CERTIFY_INFO structure using OpenSSL. In order to do so, I decrypted the 256 bytes long signature using RSA_public_decrypt, which results in a 35 bytes long hash?! I expected 20 bytes SHA-1. I thought, that the TCPA_CERTIFY_INFO structure gets hashed using SHA-1 and then signed. Are the 35 bytes a concatenation of something? Thanks in Advance Carolin |