platform_hardware_interfaces/drm
Edwin Wong c312e21b5e Add tests to validate key length for clearkey plugin.
AesCtrDecryptor::decrypt() doesn't check whether the size of "key"  is
equal to 16 bytes,  which may lead to an OOB read problem in the context
of mediadrmserver. The fix is in clearkey plugin. Add tests to validate
the fix.

Test: VTS test
  adb shell /data/nativetest/VtsHalDrmV1_0TargetTest/VtsHalDrmV1_0TargetTest

bug: 63982768

Merged-In: Ife2da17e7f39d8031bc36b83c3b27ba5e9d83eb7
Change-Id: Ife2da17e7f39d8031bc36b83c3b27ba5e9d83eb7
(cherry picked from commit cc77a50e96)
2018-01-23 22:33:24 +00:00
..
1.0 Add tests to validate key length for clearkey plugin. 2018-01-23 22:33:24 +00:00
Android.bp Add VTS tests for drm+crypto HALs 2017-03-30 20:17:18 -07:00