9ac86b3cae9a1e14b12bf97223ddde96142aae43 |
|
24-Jan-2016 |
Jeff Tinker <jtinker@google.com> |
stagefright: ICrypto: enable passing secure buffers in native_handle Previously secure buffers were passed as opaque void * values, which no longer works since mediadrmserver is now a separate process from mediaserver. Bug: 22990512 Change-Id: I5c458ba19e78e20d1bd5a5899df0bce16f71bfd8
/frameworks/av/media/libmedia/ICrypto.cpp
|
18cb1eca504817b5b144a023ae2792d90e74c9a5 |
|
18-Dec-2015 |
Jeff Tinker <jtinker@google.com> |
Support AES-CBC sample encryption in MediaDrm bug:23719082 Change-Id: I3028452f315122b65296881aed1fbf66c3ceeebc
/frameworks/av/media/libmedia/ICrypto.cpp
|
2afac0c7c42560ff5b8f133c6074b7e023279d6d |
|
07-Jan-2016 |
Wei Jia <wjia@google.com> |
libmedia: check NULL pointer at binder receiver side. Change-Id: I464da96f3d6081dd8c3cc2fd977e2b96f5d477bb
/frameworks/av/media/libmedia/ICrypto.cpp
|
bb4877d143c6c7ec9b42e3c490fed58af4f39dea |
|
05-Dec-2015 |
Jeff Tinker <jtinker@google.com> |
Fix security vulnerability in ICrypto b/25800375 Change-Id: I03c9395f7c7de4ac5813a1207452aac57aa39484
/frameworks/av/media/libmedia/ICrypto.cpp
|
c6fc6a3ca618b0e72ee565ded2e4960797f53fa6 |
|
27-Aug-2015 |
Jeff Tinker <jtinker@google.com> |
Fix for security vulnerability in media server bug: 23540426 Change-Id: Ifb12ac3350410a49ba7d81d1bde12822c3008cd5
/frameworks/av/media/libmedia/ICrypto.cpp
|
ed555d70d80964f40563d89a4e6d6a80f83f4b89 |
|
18-Aug-2015 |
Jeff Tinker <jtinker@google.com> |
Part of fix for libmedia OOB write anywhere Clarify that decrypt destination is not a pointer for secure case. b/23223325 Change-Id: I642dcf790a9eb9e32175f3e0d8f040c82228e3ac
/frameworks/av/media/libmedia/ICrypto.cpp
|
ceffd8cc911bd2e685b525f838cd3d8198ab35cf |
|
06-May-2015 |
Jeff Tinker <jtinker@google.com> |
Pass all DRM errors through ICrypto Previously only the detailed messages for vendor-defined DRM errors were being passed. This change allows detailed messages to be passed for any DRM error, including the ones defined in the framework. bug: 20857014 Change-Id: I72aa85b31ac852fb1fb6ad0a93f3309100b52c9d
/frameworks/av/media/libmedia/ICrypto.cpp
|
1849570240443d1f75775c205fa658f7070849c6 |
|
10-Apr-2015 |
Jeff Tinker <jtinker@google.com> |
Add a method to associate MediaDrm session with MediaCrypto Previously, to associate a MediaDrm session with MediaCrypto, the MediaDrm sessionId was passed as initData to the MediaCrypto constructor. This is not ideal for two reasons: it's pretty obscure and you can't change the association without tearing down the MediaCodec/MediaCrypto and starting all over. Use cases like key rotation require being able to update the MediaDrm session post-construction. This CL addresses both of these issues. bug: 19570317 Change-Id: Ieb32d04d61742fc1dee2105dd904690d44c46c7b
/frameworks/av/media/libmedia/ICrypto.cpp
|
c481b5012a5f6cf72e5e93b36f1ed4c9169916f2 |
|
07-Apr-2015 |
Jeff Tinker <jtinker@google.com> |
Pass crypto source data using a shared buffer MediaCodec was using a binder transaction buffer to pass encryption source data for protected content. On some 4K content, the max binder transaction buffer size was being exceeded. This change uses a shared buffer for the encryption source data instead of a binder transaction buffer, which avoids the problem and may be more efficient. bug: 20027687 Change-Id: I36a24ebf600d7e1064b78e48b167fdc29b2c65e9
/frameworks/av/media/libmedia/ICrypto.cpp
|
2514d080c8a54ff603a45d7e336de668fe7329db |
|
03-Nov-2014 |
Jeff Tinker <jtinker@google.com> |
Pass resolution to Crypto plugin on format change Change-Id: I56cd557ce3525fe625db8c312d2557d3c8b51101 related-to-bug: 16034599
/frameworks/av/media/libmedia/ICrypto.cpp
|
bcca9e072c1f288a53ce6862936f57dc36488f96 |
|
10-Jun-2014 |
Jeff Tinker <jtinker@google.com> |
Remove dependency on Parcel::{read,write}IntPtr bug: 15424960 bug: 15107693 Change-Id: Ic3bf37f591e620985c37f345f9a5544fd20ec4a1
/frameworks/av/media/libmedia/ICrypto.cpp
|
bafb682ec7f51486e751fea954169deb91846063 |
|
22-Mar-2013 |
Jeff Tinker <jtinker@google.com> |
Load crypto plugins from additional shared libraries Currently crypto plugins are expected to be in libdrmdecrypt.so. When there are multiple plugins supporting different schemes, this approach requires source code integration across vendors which is unmanagable. Also, for integration with MediaDrm where the crypto keys are obtained from a drm server, the MediaCrypto plugin needs to interoperate with the MediaDrm plugin. This change allows {MediaCrypto, MediaDrm} pairs that are logically related to be implemented in a common shared library. Change-Id: I7f6638f29171f91609fc2d944396365568630b56
/frameworks/av/media/libmedia/ICrypto.cpp
|
fa2b8f243eb048fb2b8e5a14356190f69eb31a36 |
|
11-Jul-2012 |
Edwin Wong <edwinwong@google.com> |
Fixed sample video corrupted in MediaCodec mode. Change-Id: I50c5660072d40f6e297e58fd026ea04c89d6a70a related-to-bug: 6732061
/frameworks/av/media/libmedia/ICrypto.cpp
|
5b8987e7de9d04b09153f329c680d2316cdb44ec |
|
19-Apr-2012 |
Andreas Huber <andih@google.com> |
Allow propagation of error information and description from the CryptoPlugin to the higher layers. Change-Id: I9f434ad55cdf575803c208bedf47b607baff2330 related-to-bug: 6365261
/frameworks/av/media/libmedia/ICrypto.cpp
|
705868c0f2a6e85a39addefe4db9f2130627c219 |
|
12-Apr-2012 |
Andreas Huber <andih@google.com> |
Make it possible to pass empty opaque data as (NULL, 0) to ICrypto. Change-Id: Ifee1744890b645e008c9aff3783625a7bfbcff27 related-to-bug: 6275919
/frameworks/av/media/libmedia/ICrypto.cpp
|
4b75a9c8b93a90749bc5d22912ad0d96c12f4ecf |
|
06-Apr-2012 |
Andreas Huber <andih@google.com> |
New API to support submitting encrypted buffers to the decoder. Change-Id: I69dd60e43078c4211c6123cf6e0ce90e676bf873 related-to-bug: 6275919
/frameworks/av/media/libmedia/ICrypto.cpp
|
1bd139a2a68690e80398b70b27ca59550fea0e65 |
|
03-Apr-2012 |
Andreas Huber <andih@google.com> |
New Crypto services talking to the new crypto "HAL". Change-Id: I69ed31e7a8b4d69d1209d2d516f94d258f072566 related-to-bug: 6275919
/frameworks/av/media/libmedia/ICrypto.cpp
|
ed3e3e046840d5bf1ca84a8c0cc097425e89d6d6 |
|
26-Mar-2012 |
Andreas Huber <andih@google.com> |
Provisional support for secure decryption of media streams. Change-Id: Ib3982a9c960bfdb0cb7e1b174440b141b194cfbe
/frameworks/av/media/libmedia/ICrypto.cpp
|