mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
default drm hidl: Fix decrypt destination base ptr
Bug: 144351324 Test: poc_CryptoPlugin_155 Change-Id: Id5d221cd6978d55c46c0368aceb10c1d2f559fd9
This commit is contained in:
@@ -143,6 +143,7 @@ namespace implementation {
|
|||||||
return Void();
|
return Void();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
base = static_cast<uint8_t *>(static_cast<void *>(destBase->getPointer()));
|
||||||
destPtr = static_cast<void *>(base + destination.nonsecureMemory.offset);
|
destPtr = static_cast<void *>(base + destination.nonsecureMemory.offset);
|
||||||
} else if (destination.type == BufferType::NATIVE_HANDLE) {
|
} else if (destination.type == BufferType::NATIVE_HANDLE) {
|
||||||
if (!secure) {
|
if (!secure) {
|
||||||
|
|||||||
Reference in New Issue
Block a user