Be clear it is DVB_CSA2 we are supporting right now. There shouldn't be anyone using DVB_CSA anymore, DVB_CSA3 is in the future.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=219867168
This commit is contained in:
Widevine Buildbot
2018-11-02 23:26:39 +00:00
parent 477f9fb642
commit 548fe9a335
4 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@@ -30,7 +30,7 @@ int main(int argc, char **argv) {
widevine::cas::WvCasEcm wv_cas_ecm; widevine::cas::WvCasEcm wv_cas_ecm;
widevine::cas::WvCasStatus status = widevine::cas::WvCasStatus status =
wv_cas_ecm.Initialize(/* content_iv_size= */ 8, kKeyRotationEnabled, wv_cas_ecm.Initialize(/* content_iv_size= */ 8, kKeyRotationEnabled,
widevine::cas::CryptoMode::kDvbCsa); widevine::cas::CryptoMode::kDvbCsa2);
if (status != widevine::cas::OK) { if (status != widevine::cas::OK) {
std::cerr << "Failed to initialize WV CAS ECM, error: " std::cerr << "Failed to initialize WV CAS ECM, error: "
<< widevine::cas::GetWvCasStatusMessage(status) << widevine::cas::GetWvCasStatusMessage(status)

Binary file not shown.

View File

@@ -55,7 +55,7 @@ enum class CryptoMode : int {
kCryptoModeUnspecified = 0, kCryptoModeUnspecified = 0,
kAesCtr = 1, kAesCtr = 1,
kAesCbc = 2, kAesCbc = 2,
kDvbCsa = 3 kDvbCsa2 = 3
}; };
std::string CryptoModeToString(CryptoMode mode); std::string CryptoModeToString(CryptoMode mode);