Searched refs:partDataLength (Results 1 – 1 of 1) sorted by relevance
162 uint32_t partDataLength = 0; in HksCheckWrappedDataFormatValidity() local170 partDataLength = 0; in HksCheckWrappedDataFormatValidity()171 … (void)memcpy_s((uint8_t *)&partDataLength, sizeof(uint32_t), data + offset, sizeof(uint32_t)); in HksCheckWrappedDataFormatValidity()174 if ((partDataLength == 0) || (partDataLength > dataSize - offset)) { in HksCheckWrappedDataFormatValidity()178 offset += partDataLength; in HksCheckWrappedDataFormatValidity()180 if ((validBlobLengths != NULL) && (*(validBlobLengths + blobIndex) != partDataLength)) { in HksCheckWrappedDataFormatValidity()204 uint32_t partDataLength = 0; in HksGetBlobFromWrappedData() local207 partDataLength = 0; in HksGetBlobFromWrappedData()208 … (void)memcpy_s((uint8_t *)&partDataLength, sizeof(uint32_t), data + offset, sizeof(uint32_t)); in HksGetBlobFromWrappedData()211 if ((partDataLength == 0) || (partDataLength > HKS_WRAPPED_FORMAT_MAX_SIZE) || in HksGetBlobFromWrappedData()[all …]