Home
last modified time | relevance | path

Searched refs:prevSetting (Results 1 – 4 of 4) sorted by relevance

/external/tpm2/
DPolicyLocality.c25 BYTE prevSetting[sizeof(TPMA_LOCALITY)]; in TPM2_PolicyLocality() local
47 buffer = prevSetting; in TPM2_PolicyLocality()
52 if( prevSetting[0] != 0 in TPM2_PolicyLocality()
55 && ((prevSetting[0] < 32) != (marshalBuffer[0] < 32))) in TPM2_PolicyLocality()
63 if(prevSetting[0] == 0) in TPM2_PolicyLocality()
64 prevSetting[0] = 0x1F; in TPM2_PolicyLocality()
67 prevSetting[0] &= marshalBuffer[0]; in TPM2_PolicyLocality()
70 if(prevSetting[0] == 0) in TPM2_PolicyLocality()
77 if(prevSetting[0] != 0 && prevSetting[0] != marshalBuffer[0]) in TPM2_PolicyLocality()
81 prevSetting[0] = marshalBuffer[0]; in TPM2_PolicyLocality()
[all …]
Dpart3.txt11823 11 BYTE prevSetting[sizeof(TPMA_LOCALITY)];
11843 31 buffer = prevSetting;
11847 35 if( prevSetting[0] != 0
11850 38 && ((prevSetting[0] < 32) != (marshalBuffer[0] < 32)))
11858 46 if(prevSetting[0] == 0)
11859 47 prevSetting[0] = 0x1F;
11861 49 // AND the new setting with the previous setting and store it in prevSetting
11862 50 prevSetting[0] &= marshalBuffer[0];
11865 53 if(prevSetting[0] == 0)
11877 60 if(prevSetting[0] != 0 && prevSetting[0] != marshalBuffer[0])
[all …]
/external/tpm2/generator/
Draw_commands.txt21179 prevSetting[sizeof(TPMA_LOCALITY)];
21195 buffer = prevSetting;
21199 if(prevSetting[0] != 0 && ((prevSetting[0] <= 0) != (marshalBuffer[0] <= 0)))
21206 if(prevSetting[0] > 31)
21210 if(prevSetting[0] == 0)
21211 prevSetting[0] = 0x1F;
21212 // AND the new setting with the previous setting and store it in prevSetting
21272 prevSetting[0] &= marshalBuffer[0];
21274 if(prevSetting[0] == 0)
21281 if(prevSetting[0] != 0 && prevSetting[0] != marshalBuffer[0])
[all …]
Draw_commands_fixed.txt21190 prevSetting[sizeof(TPMA_LOCALITY)];
21206 buffer = prevSetting;
21210 if(prevSetting[0] != 0 && ((prevSetting[0] <= 0) != (marshalBuffer[0] <= 0)))
21217 if(prevSetting[0] > 31)
21221 if(prevSetting[0] == 0)
21222 prevSetting[0] = 0x1F;
21223 // AND the new setting with the previous setting and store it in prevSetting
21283 prevSetting[0] &= marshalBuffer[0];
21285 if(prevSetting[0] == 0)
21292 if(prevSetting[0] != 0 && prevSetting[0] != marshalBuffer[0])
[all …]