Searched refs:integritySize (Results 1 – 8 of 8) sorted by relevance
/external/tpm2/ |
D | ContextSave.c | 32 UINT16 integritySize; in TPM2_ContextSave() local 60 integritySize = sizeof(integrity.t.size) in TPM2_ContextSave() 71 + integritySize + fingerprintSize); in TPM2_ContextSave() 76 out->context.contextBlob.t.size = integritySize + in TPM2_ContextSave() 125 out->context.contextBlob.t.size = integritySize + in TPM2_ContextSave() 137 + integritySize + fingerprintSize, in TPM2_ContextSave() 140 - integritySize - fingerprintSize); in TPM2_ContextSave() 167 MemoryCopy(out->context.contextBlob.t.buffer + integritySize, in TPM2_ContextSave() 169 sizeof(out->context.contextBlob.t.buffer) - integritySize); in TPM2_ContextSave() 175 CryptSymmetricEncrypt(out->context.contextBlob.t.buffer + integritySize, in TPM2_ContextSave() [all …]
|
D | ContextLoad.c | 35 UINT16 integritySize; in TPM2_ContextLoad() local 52 integritySize = CryptGetHashDigestSize(CONTEXT_INTEGRITY_HASH_ALG); in TPM2_ContextLoad() 60 if(integrity.t.size != integritySize) in TPM2_ContextLoad() 63 integritySize += sizeof(integrity.t.size); in TPM2_ContextLoad() 77 CryptSymmetricDecrypt(in->context.contextBlob.t.buffer + integritySize, in TPM2_ContextLoad() 80 in->context.contextBlob.t.size - integritySize, in TPM2_ContextLoad() 81 in->context.contextBlob.t.buffer + integritySize); in TPM2_ContextLoad() 84 MemoryCopy(&fingerprint, in->context.contextBlob.t.buffer + integritySize, in TPM2_ContextLoad() 97 + integritySize + sizeof(fingerprint)); in TPM2_ContextLoad() 126 + integritySize + sizeof(fingerprint)); in TPM2_ContextLoad()
|
D | Context_spt.c | 77 UINT16 integritySize; in ComputeContextIntegrity() local 84 integritySize = sizeof(integrity->t.size) + integrity->t.size; in ComputeContextIntegrity() 101 CryptUpdateDigest(&hmacState, contextBlob->contextBlob.t.size - integritySize, in ComputeContextIntegrity() 102 contextBlob->contextBlob.t.buffer + integritySize); in ComputeContextIntegrity()
|
D | Object_spt.c | 235 UINT16 integritySize; in ProduceInnerIntegrity() local 239 integritySize = sizeof(UINT16) + CryptGetHashDigestSize(hashAlg); in ProduceInnerIntegrity() 240 sensitiveData = innerBuffer + integritySize; in ProduceInnerIntegrity() 246 return dataSize + integritySize; in ProduceInnerIntegrity() 723 UINT16 integritySize; in ProduceOuterWrap() local 728 integritySize = sizeof(UINT16) + CryptGetHashDigestSize(hashAlg); in ProduceOuterWrap() 729 sensitiveData = outerBuffer + integritySize; in ProduceOuterWrap() 757 outerBuffer + integritySize, &integrity); in ProduceOuterWrap() 763 return dataSize + integritySize + ivSize; in ProduceOuterWrap() 873 UINT16 integritySize; in SensitiveToPrivate() local [all …]
|
D | part3.txt | 15972 19 UINT16 integritySize; 15999 46 integritySize = sizeof(integrity.t.size) 16015 57 + integritySize + fingerprintSize); 16020 62 out->context.contextBlob.t.size = integritySize + 16069 111 out->context.contextBlob.t.size = integritySize + 16086 123 + integritySize + fingerprintSize, 16089 126 - integritySize - fingerprintSize); 16116 153 MemoryCopy(out->context.contextBlob.t.buffer + integritySize, 16118 155 sizeof(out->context.contextBlob.t.buffer) - integritySize); 16124 161 CryptSymmetricEncrypt(out->context.contextBlob.t.buffer + integritySize, [all …]
|
D | part4.txt | 6338 63 UINT16 integritySize; 6348 73 integritySize = sizeof(integrity->t.size) + integrity->t.size; 6375 95 CryptUpdateDigest(&hmacState, contextBlob->contextBlob.t.size - integritySize, 6376 96 contextBlob->contextBlob.t.buffer + integritySize); 6977 194 UINT16 integritySize; 6981 198 integritySize = sizeof(UINT16) + CryptGetHashDigestSize(hashAlg); 6982 199 sensitiveData = innerBuffer + integritySize; 6995 207 return dataSize + integritySize; 7553 622 UINT16 integritySize; 7558 627 integritySize = sizeof(UINT16) + CryptGetHashDigestSize(hashAlg); [all …]
|
/external/tpm2/generator/ |
D | raw_commands.txt | 28854 integritySize; 28884 integritySize = sizeof(integrity.t.size) 28975 + integritySize + fingerprintSize); 28980 out->context.contextBlob.t.size = integritySize + 29021 out->context.contextBlob.t.size = integritySize + 29028 + integritySize + fingerprintSize, 29101 - integritySize - fingerprintSize); 29124 MemoryCopy(out->context.contextBlob.t.buffer + integritySize, 29126 sizeof(out->context.contextBlob.t.buffer) - integritySize); 29130 CryptSymmetricEncrypt(out->context.contextBlob.t.buffer + integritySize, [all …]
|
D | raw_commands_fixed.txt | 28865 integritySize; 28895 integritySize = sizeof(integrity.t.size) 28986 + integritySize + fingerprintSize); 28991 out->context.contextBlob.t.size = integritySize + 29032 out->context.contextBlob.t.size = integritySize + 29039 + integritySize + fingerprintSize, 29112 - integritySize - fingerprintSize); 29135 MemoryCopy(out->context.contextBlob.t.buffer + integritySize, 29137 sizeof(out->context.contextBlob.t.buffer) - integritySize); 29141 CryptSymmetricEncrypt(out->context.contextBlob.t.buffer + integritySize, [all …]
|