Searched refs:kTestDataBytes (Results 1 – 1 of 1) sorted by relevance
139 static constexpr int kTestDataBytes = kTestDataSectors * kCryptoSectorSize; member in android::kernel::DmDefaultKeyTest190 static_assert(kTestDataBytes % kDmApiSectorSize == 0); in CreateTestDevice()192 std::make_unique<DmTargetDefaultKey>(0, kTestDataBytes / kDmApiSectorSize, in CreateTestDevice()227 ASSERT_TRUE(ReadBlockDevice(raw_blk_device_, kTestDataBytes, &raw_data)); in VerifyDecryption()229 ReadBlockDevice(dm_device_path_, kTestDataBytes, &decrypted_data)); in VerifyDecryption()241 std::vector<uint8_t> encrypted_data(kTestDataBytes); in VerifyDecryption()242 static_assert(kTestDataBytes % kCryptoSectorSize == 0); in VerifyDecryption()243 for (size_t i = 0; i < kTestDataBytes; i += kCryptoSectorSize) { in VerifyDecryption()