Hello all,

I am currently working on TPM remote attestation integrated with BATMAN 
algorithm. now my code goes like this.

 /*Load the AIK key into TPM*/
        if((result = Tspi_Key_LoadKey(hAIK,hSRK)))
        {
                printf("Tspi_Key_LoadKey failed: %d",result);
                return result;
        }

        /*Create a PCR composite object */
        Tspi_Context_CreateObject(hContext,TSS_OBJECT_TYPE_PCRS,0,&hPcrs);

        /*Select PCR value */
        Tspi_PcrComposite_SelectPcrIndex(hPcrs,1);


        /*Quote on PCR and send the validation data */
        Tspi_TPM_Quote(hTPM,hAIK,hPcrs,&validationData);

after this i have to pass the validationData to kernel space so that the BATMAN 
routing will carry it to next node.
Please help me in working on this code.

Thanks and Regards,
Lakshmipriya


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
TrouSerS-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/trousers-users

Reply via email to