30a3da1b838607e1789743f5549b8dc0649ed2e1
(This is a merge of http://go/wvgerrit/151112.) The Widevine CDMs have never validated the padding on AES keys. However, the code to ignore the padding was unusual and based on the assumption the keys would always have either 0 or 16 bytes of padding and did not handle other cases correctly. This patch updates the padding-ignoring code to just do the obvious thing: Reject keys that are too small and ignore all extra bytes regardless of count. Bug: 114159862 Test: x86-64 Change-Id: Ic48010477e4cb5f7d2afbde25cf2f098e3470089
Description
No description provided