diff options
| author | Robert Shih <robertshih@google.com> | 2019-11-17 23:54:21 -0800 |
|---|---|---|
| committer | mosimchah <mosimchah@gmail.com> | 2020-03-10 04:57:16 -0400 |
| commit | 9f918e2c6ef13c62bd8ccb4d5404928623e54090 (patch) | |
| tree | b539d3195739d1d13be1a7b3864ffba9bce741fc | |
| parent | 7d4d978e53377b8168c37eb7d53831fd577b04cc (diff) | |
default drm hidl: Fix decrypt destination base ptrp9.0
Bug: 144351324
Test: poc_CryptoPlugin_155
Change-Id: Id5d221cd6978d55c46c0368aceb10c1d2f559fd9
(cherry picked from commit d79abbb0d359dd037e6d0b4cc022fd26cea3ebaa)
| -rw-r--r-- | drm/1.0/default/CryptoPlugin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drm/1.0/default/CryptoPlugin.cpp b/drm/1.0/default/CryptoPlugin.cpp index 4fe6c9b43..19666f53a 100644 --- a/drm/1.0/default/CryptoPlugin.cpp +++ b/drm/1.0/default/CryptoPlugin.cpp @@ -153,6 +153,7 @@ namespace implementation { return Void(); } + base = static_cast<uint8_t *>(static_cast<void *>(destBase->getPointer())); destPtr = static_cast<void *>(base + destination.nonsecureMemory.offset); } else if (destination.type == BufferType::NATIVE_HANDLE) { if (!secure) { |
