Fix entitlement keys encryption and content key loading.
Merge from Widevine repo of http://go/wvgerrit/41831 Bug: 72418096 OEMCrypto14 entitlement keys failed decryption testing Test: in child CL Change-Id: Ie92c34edb6162fb1e4553c5364f478de189ab793
This commit is contained in:
committed by
Rahul Frias
parent
795cf8a624
commit
8de7caf788
@@ -95,8 +95,8 @@ class EntitlementKey : public Key {
|
||||
const std::vector<uint8_t>& content_key() { return content_key_; }
|
||||
const std::vector<uint8_t>& content_key_id() { return content_key_id_; }
|
||||
const std::vector<uint8_t>& entitlement_key() { return Key::value(); }
|
||||
bool SetContentKey(const std::vector<uint8_t>& content_key,
|
||||
const std::vector<uint8_t>& content_key_id) {
|
||||
bool SetContentKey(const std::vector<uint8_t>& content_key_id,
|
||||
const std::vector<uint8_t>& content_key) {
|
||||
content_key_.assign(content_key.begin(), content_key.end());
|
||||
content_key_id_.assign(content_key_id.begin(), content_key_id.end());
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user