Add end-to-end decryption test with vectors

Added a test_mode flag to the libwvdrmengine plugin
to support verifying decryption results.

Change-Id: I9edbd6279d54fc495b5bbad8273c179106cad474
This commit is contained in:
Jeff Tinker
2013-04-09 01:57:15 -07:00
parent 826576315c
commit 352e7b0820
7 changed files with 876 additions and 32 deletions

View File

@@ -29,7 +29,8 @@ class WVCryptoPlugin : public android::CryptoPlugin {
DISALLOW_EVIL_CONSTRUCTORS(WVCryptoPlugin);
wvcdm::WvContentDecryptionModule* const mCDM;
const wvcdm::CdmSessionId mSessionId;
wvcdm::CdmSessionId mSessionId;
bool mTestMode;
};
} // namespace wvdrm