Simplify IV Incrementation
(This is a merge of go/wvgerrit/22441) The IV incrementation code in Widevine DRM Plugin includes complexity for handling partial crypto blocks in "cens" mode, a situation that cannot actually happen. This commit changes the code to no longer handle this case specially. Bug: 28696811 Test: No tests for this code path due to bug 28295739 Change-Id: I77f8434a9785bf028509387c06db217a5de2b91b
This commit is contained in:
@@ -46,8 +46,7 @@ class WVCryptoPlugin : public android::CryptoPlugin {
|
||||
|
||||
wvcdm::CdmSessionId configureTestMode(const void* data, size_t size);
|
||||
static wvcdm::CdmResponseType countEncryptedBlocksInPatternedRange(
|
||||
size_t range, size_t startingOffset, const Pattern& pattern,
|
||||
uint64_t* result);
|
||||
size_t range, const Pattern& pattern, uint64_t* result);
|
||||
static void incrementIV(uint64_t increaseBy, std::vector<uint8_t>* ivPtr);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user