Home
last modified time | relevance | path

Searched refs:buf_mem (Results 1 – 2 of 2) sorted by relevance

/test/vts-testcase/kernel/encryption/
Dmetadata_encryption_tests.cpp102 std::unique_ptr<void, void (*)(void *)> buf_mem( in ReadBlockDevice() local
104 if (buf_mem == nullptr) { in ReadBlockDevice()
108 uint8_t *buffer = static_cast<uint8_t *>(buf_mem.get()); in ReadBlockDevice()
Dfile_based_encryption_tests.cpp249 std::unique_ptr<void, void (*)(void *)> buf_mem( in ReadRawDataOfFile() local
251 if (buf_mem == nullptr) { in ReadRawDataOfFile()
255 uint8_t *buf = static_cast<uint8_t *>(buf_mem.get()); in ReadRawDataOfFile()
892 std::unique_ptr<void, void (*)(void *)> buf_mem( in TestEmmcOptimizedDunWraparound() local
894 ASSERT_TRUE(buf_mem != nullptr); in TestEmmcOptimizedDunWraparound()
895 memcpy(buf_mem.get(), &file_info.plaintext[0], data_size); in TestEmmcOptimizedDunWraparound()
898 ASSERT_EQ(data_size, pwrite(fd, buf_mem.get(), data_size, pos)) in TestEmmcOptimizedDunWraparound()