Topic: Newbee meets PCR
I'm trying to play with the TPM inside my own PC (win10), and figure out what I can do with it.
These days I'm trying to authenticate my PC (the client) to a server (which is actually another PC of mine, on which I wrote my own home made http server).
I guess that PCR is the tool I need, but I must admit that I don't understand how to use this feature...
I called wolfTPM2_ReadPCR which returned a buffer of 32 bytes, but what should I do with it ?
If I send it to my server, how is it going to authenticate the client ?
I suppose the server should share some secret with the client's TPM in order to verify some kind of signature...
By the way, on my PC, wolfTPM2_ExtendPCR is disabled.
Thanks in advance...