• Home
  • Raw
  • Download

Lines Matching full:datasize

197     UINT16               dataSize,          //   IN: the size of sensitive data  in ComputeInnerIntegrity()  argument
206 CryptUpdateDigest(&hashState, dataSize, sensitiveData); in ComputeInnerIntegrity()
226 UINT16 dataSize, // IN: the size of sensitive data, excluding the in ProduceInnerIntegrity() argument
241 ComputeInnerIntegrity(hashAlg, name, dataSize, sensitiveData, &integrity); in ProduceInnerIntegrity()
246 return dataSize + integritySize; in ProduceInnerIntegrity()
263 UINT16 dataSize, // IN: the size of sensitive data, including the in CheckInnerIntegrity() argument
276 size = (INT32) dataSize; in CheckInnerIntegrity()
710 UINT16 dataSize, // IN: the size of sensitive data, excluding the in ProduceOuterWrap() argument
754 TPM_ALG_CFB, symKey.t.buffer, iv, dataSize, in ProduceOuterWrap()
758 ComputeOuterIntegrity(name, protector, hashAlg, seed, dataSize + ivSize, in ProduceOuterWrap()
765 return dataSize + integritySize + ivSize; in ProduceOuterWrap()
795 UINT16 dataSize, // IN: size of sensitive data in outerBuffer, in UnwrapOuter() argument
813 size = (INT32) dataSize; in UnwrapOuter()
873 UINT16 dataSize; // data blob size in SensitiveToPrivate() local
902 dataSize = TPMT_SENSITIVE_Marshal(sensitive, &buffer, &bufferSize); in SensitiveToPrivate()
906 UINT16_Marshal(&dataSize, &buffer, &bufferSize); in SensitiveToPrivate()
907 // Adjust the dataSize to include the size field in SensitiveToPrivate()
908 dataSize += sizeof(UINT16); in SensitiveToPrivate()
913 TRUE, dataSize, outPrivate->t.buffer); in SensitiveToPrivate()
953 UINT16 dataSize; in PrivateToSensitive() local
983 dataSize = inPrivate->t.size - integritySize - ivSize; in PrivateToSensitive()
986 size = (INT32) dataSize; in PrivateToSensitive()
990 if((dataSizeInput + sizeof(UINT16)) != dataSize) in PrivateToSensitive()
1050 UINT16 dataSize; // data blob size in SensitiveToDuplicate() local
1080 dataSize = TPMT_SENSITIVE_Marshal(sensitive, &buffer, &bufferSize); in SensitiveToDuplicate()
1084 UINT16_Marshal(&dataSize, &buffer, &bufferSize); in SensitiveToDuplicate()
1085 // Adjust the dataSize to include the size field in SensitiveToDuplicate()
1086 dataSize += sizeof(UINT16); in SensitiveToDuplicate()
1097 dataSize = ProduceInnerIntegrity(name, innerHash, dataSize, in SensitiveToDuplicate()
1115 innerSymKey->t.buffer, NULL, dataSize, in SensitiveToDuplicate()
1126 dataSize = ProduceOuterWrap(parentHandle, name, outerHash, seed, FALSE, in SensitiveToDuplicate()
1127 dataSize, outPrivate->t.buffer); in SensitiveToDuplicate()
1130 outPrivate->t.size = dataSize; in SensitiveToDuplicate()
1172 UINT16 dataSize; in DuplicateToSensitive() local
1180 dataSize = inPrivate->t.size; in DuplicateToSensitive()
1188 dataSize, sensitiveData); in DuplicateToSensitive()
1193 dataSize -= sizeof(UINT16) + CryptGetHashDigestSize(outerHash); in DuplicateToSensitive()
1204 innerSymKey->t.buffer, NULL, dataSize, in DuplicateToSensitive()
1209 result = CheckInnerIntegrity(name, innerHash, dataSize, sensitiveData); in DuplicateToSensitive()
1214 dataSize -= sizeof(UINT16) + CryptGetHashDigestSize(innerHash); in DuplicateToSensitive()
1218 size = (INT32) dataSize; in DuplicateToSensitive()
1222 if((dataSizeInput + sizeof(UINT16)) != dataSize) in DuplicateToSensitive()
1263 UINT16 dataSize; // data blob size in SecretToCredential() local
1273 dataSize = TPM2B_DIGEST_Marshal(secret, &buffer, &bufferSize); in SecretToCredential()
1280 dataSize, in SecretToCredential()
1315 UINT16 dataSize; in CredentialToSecret() local
1326 dataSize = inIDObject->t.size in CredentialToSecret()
1330 size = (INT32) dataSize; in CredentialToSecret()