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.cpp252 std::unique_ptr<void, void (*)(void *)> buf_mem( in ReadRawDataOfFile() local
254 if (buf_mem == nullptr) { in ReadRawDataOfFile()
258 uint8_t *buf = static_cast<uint8_t *>(buf_mem.get()); in ReadRawDataOfFile()
895 std::unique_ptr<void, void (*)(void *)> buf_mem( in TestEmmcOptimizedDunWraparound() local
897 ASSERT_TRUE(buf_mem != nullptr); in TestEmmcOptimizedDunWraparound()
898 memcpy(buf_mem.get(), &file_info.plaintext[0], data_size); in TestEmmcOptimizedDunWraparound()
901 ASSERT_EQ(data_size, pwrite(fd, buf_mem.get(), data_size, pos)) in TestEmmcOptimizedDunWraparound()