History log of /frameworks/av/media/libmedia/include/media/CryptoHal.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b1f8c80d3a0c144407d1bd6b63eb6ac9e90112f2 20-Apr-2018 Jeff Tinker <jtinker@google.com> Fix security vulnerability in CryptoHal

CryptoHal was not checking that the memory heap set by setHeap
was the same one that was actually used for the decrypt call, allowing
the caller to spoof the decrypt call into accessing arbitrary memory.

bug:76221123
test: mediadrmserverpoc included in the bug & GTS media tests
Change-Id: I35214a1a6d0a4b864123e147d1a1adc2377bfbc5
/frameworks/av/media/libmedia/include/media/CryptoHal.h
7d2c6e8be2c9a4f3c1364d243856a345f17f851e 17-Feb-2018 Jeff Tinker <jtinker@google.com> Move mediadrm-related headers

Relocate drm and crypto headers from media
to mediadrm to have finer grained ownership

bug:73556221
Change-Id: I7d1b5944f261f9b1fdeed7605e4c0b4b4ca43e1a
/frameworks/av/media/libmedia/include/media/CryptoHal.h
e307dc4e7b2c9d3c4018a755db687309cf590369 11-Feb-2018 Jeff Tinker <jtinker@google.com> Revert "Revert "Update drm hal to find drm@1.1 factories""

This reverts commit d3eece8aa39560e8458ba8231b8684d99f11ee6b.

Change-Id: I15ca1dba1a384ccc026406f0a9a02c2598873456
/frameworks/av/media/libmedia/include/media/CryptoHal.h
d3eece8aa39560e8458ba8231b8684d99f11ee6b 11-Feb-2018 Tobias Thierer <tobiast@google.com> Revert "Update drm hal to find drm@1.1 factories"

This reverts commit a3c77911df570d4378ae4869d1060915001f0eba.

Reason for revert: build cop here. The original CL broke build git_master / walleye_asan, hence I'm reverting.

https://android-build.googleplex.com/builds/submitted/4597721/walleye_asan-userdebug/latest/view/logs/build_error.log

In file included from vendor/google/tools/security/fuzzers/libFuzzer/ICrypto_fuzzer/ICrypto_fuzzer.cpp:24:
frameworks/av/include/media/CryptoHal.h:23:10: fatal error: 'android/hardware/drm/1.1/ICryptoFactory.h' file not found

Change-Id: I185d5310cadb9990b864d71e42bba94f4740160c
/frameworks/av/media/libmedia/include/media/CryptoHal.h
a3c77911df570d4378ae4869d1060915001f0eba 07-Feb-2018 Jeff Tinker <jtinker@google.com> Update drm hal to find drm@1.1 factories

bug:73072898
test: cts android.media.cts.MediaDrmClearkeyTest
Change-Id: I80c7b8864dc86fda8aa6afc0ec74f6f068da6401
/frameworks/av/media/libmedia/include/media/CryptoHal.h
8253f44c3d0d8a7003dd2e6f728f9e3d63927727 18-Apr-2017 Steven Moreland <smoreland@google.com> Fix libmedia includes.

Test: works with BOARD_VNDK_VERSION := current
Bug: 33241851
Change-Id: Idb6319563dfe83807d32ee54eb2fe66346c9f54a
/frameworks/av/media/libmedia/include/media/CryptoHal.h