• Home
  • Raw
  • Download

Lines Matching refs:gp

35    if(gp.disableClear)  in TPM2_Clear()
41 CryptGenerateRandom(PRIMARY_SEED_SIZE, gp.SPSeed.t.buffer); in TPM2_Clear()
44 CryptGenerateRandom(PROOF_SIZE, gp.shProof.t.buffer); in TPM2_Clear()
45 CryptGenerateRandom(PROOF_SIZE, gp.ehProof.t.buffer); in TPM2_Clear()
51 MemorySet(gp.ownerAuth.t.buffer, 0, gp.ownerAuth.t.size); in TPM2_Clear()
52 MemorySet(gp.endorsementAuth.t.buffer, 0, gp.endorsementAuth.t.size); in TPM2_Clear()
53 MemorySet(gp.lockoutAuth.t.buffer, 0, gp.lockoutAuth.t.size); in TPM2_Clear()
55 gp.ownerAuth.t.size = gp.endorsementAuth.t.size = gp.lockoutAuth.t.size = 0; in TPM2_Clear()
58 gp.ownerAlg = gp.endorsementAlg = gp.lockoutAlg = TPM_ALG_NULL; in TPM2_Clear()
59 gp.ownerPolicy.t.size = 0; in TPM2_Clear()
60 gp.endorsementPolicy.t.size = 0; in TPM2_Clear()
61 gp.lockoutPolicy.t.size = 0; in TPM2_Clear()
72 NvWriteReserved(NV_SP_SEED, &gp.SPSeed); in TPM2_Clear()
73 NvWriteReserved(NV_SH_PROOF, &gp.shProof); in TPM2_Clear()
74 NvWriteReserved(NV_EH_PROOF, &gp.ehProof); in TPM2_Clear()
75 NvWriteReserved(NV_OWNER_AUTH, &gp.ownerAuth); in TPM2_Clear()
76 NvWriteReserved(NV_ENDORSEMENT_AUTH, &gp.endorsementAuth); in TPM2_Clear()
77 NvWriteReserved(NV_LOCKOUT_AUTH, &gp.lockoutAuth); in TPM2_Clear()
78 NvWriteReserved(NV_OWNER_ALG, &gp.ownerAlg); in TPM2_Clear()
79 NvWriteReserved(NV_ENDORSEMENT_ALG, &gp.endorsementAlg); in TPM2_Clear()
80 NvWriteReserved(NV_LOCKOUT_ALG, &gp.lockoutAlg); in TPM2_Clear()
81 NvWriteReserved(NV_OWNER_POLICY, &gp.ownerPolicy); in TPM2_Clear()
82 NvWriteReserved(NV_ENDORSEMENT_POLICY, &gp.endorsementPolicy); in TPM2_Clear()
83 NvWriteReserved(NV_LOCKOUT_POLICY, &gp.lockoutPolicy); in TPM2_Clear()
96 gp.resetCount = gr.restartCount = gr.clearCount = 0; in TPM2_Clear()
97 gp.auditCounter = 0; in TPM2_Clear()
98 NvWriteReserved(NV_RESET_COUNT, &gp.resetCount); in TPM2_Clear()
99 NvWriteReserved(NV_AUDIT_COUNTER, &gp.auditCounter); in TPM2_Clear()