Searched refs:randomData (Results 1 – 3 of 3) sorted by relevance
154 byte[] backupData = randomData(BACKUP_DATA_SIZE_BYTES); in decryptFile_withExplicitStarts_decryptsEncryptedData()172 byte[] backupData = randomData(BACKUP_DATA_SIZE_BYTES); in decryptFile_withNoChunkOrderingType_decryptsUsingExplicitStarts()220 createEncryptedFileUsingExplicitStarts(randomData(BACKUP_DATA_SIZE_BYTES)); in decryptFile_throwsForBadKey()232 randomData(BACKUP_DATA_SIZE_BYTES), in decryptFile_withExplicitStarts_throwsForMangledOrdering()246 byte[] backupData = randomData(/*length=*/ 0); in decryptFile_withExplicitStarts_noChunks_returnsNoData()263 randomData(BACKUP_DATA_SIZE_BYTES), in decryptFile_throwsForMismatchedChecksum()267 Arrays.copyOf(randomData(CHECKSUM_LENGTH_BYTES), CHECKSUM_LENGTH_BYTES); in decryptFile_throwsForMismatchedChecksum()278 createEncryptedFileUsingExplicitStarts(randomData(BACKUP_DATA_SIZE_BYTES)); in decryptFile_throwsForBadChunksMetadataOffset()308 createEncryptedFileUsingExplicitStarts(randomData(BACKUP_DATA_SIZE_BYTES)); in decryptFile_throwsForChunksMetadataOffsetBeyondEndOfFile()329 createEncryptedFileUsingExplicitStarts(randomData(BACKUP_DATA_SIZE_BYTES)); in decryptFile_throwsForChunksMetadataOffsetBeforeBeginningOfFile()[all …]
617 byte[] randomData = null; in createFileOnSD()626 randomData = generateData(nextChunkSize, type, rng); in createFileOnSD()630 randomData = chunkSizeData; in createFileOnSD()632 output.write(randomData); in createFileOnSD()
332 std::vector<uint8_t> randomData((kKeySetIdLength - kKeySetIdPrefix.size()) / 2, 0); in makeKeySetId() local335 for (auto itr = randomData.begin(); itr != randomData.end(); ++itr) { in makeKeySetId()339 reinterpret_cast<const uint8_t*>(randomData.data()), randomData.size()); in makeKeySetId()