Lines Matching full:gp
61 if(gp.disableClear) in TPM2_Clear()
67 CryptRandomGenerate(sizeof(gp.SPSeed.t.buffer), gp.SPSeed.t.buffer); in TPM2_Clear()
70 CryptRandomGenerate(sizeof(gp.shProof.t.buffer), gp.shProof.t.buffer); in TPM2_Clear()
71 CryptRandomGenerate(sizeof(gp.ehProof.t.buffer), gp.ehProof.t.buffer); in TPM2_Clear()
77 MemorySet(&gp.ownerAuth, 0, sizeof(gp.ownerAuth)); in TPM2_Clear()
78 MemorySet(&gp.endorsementAuth, 0, sizeof(gp.endorsementAuth)); in TPM2_Clear()
79 MemorySet(&gp.lockoutAuth, 0, sizeof(gp.lockoutAuth)); in TPM2_Clear()
82 gp.ownerAlg = gp.endorsementAlg = gp.lockoutAlg = TPM_ALG_NULL; in TPM2_Clear()
83 MemorySet(&gp.ownerPolicy, 0, sizeof(gp.ownerPolicy)); in TPM2_Clear()
84 MemorySet(&gp.endorsementPolicy, 0, sizeof(gp.endorsementPolicy)); in TPM2_Clear()
85 MemorySet(&gp.lockoutPolicy, 0, sizeof(gp.lockoutPolicy)); in TPM2_Clear()
104 gp.resetCount = gr.restartCount = gr.clearCount = 0; in TPM2_Clear()
105 gp.auditCounter = 0; in TPM2_Clear()
110 NvWrite(NV_PERSISTENT_DATA, sizeof(PERSISTENT_DATA), &gp); in TPM2_Clear()