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:
Binary file not shown.
@@ -30,7 +30,7 @@ int main(int argc, char **argv) {
|
||||
widevine::cas::WvCasEcm wv_cas_ecm;
|
||||
widevine::cas::WvCasStatus status =
|
||||
wv_cas_ecm.Initialize(/* content_iv_size= */ 8, kKeyRotationEnabled,
|
||||
widevine::cas::CryptoMode::kDvbCsa);
|
||||
widevine::cas::CryptoMode::kDvbCsa2);
|
||||
if (status != widevine::cas::OK) {
|
||||
std::cerr << "Failed to initialize WV CAS ECM, error: "
|
||||
<< widevine::cas::GetWvCasStatusMessage(status)
|
||||
|
||||
Binary file not shown.
@@ -55,7 +55,7 @@ enum class CryptoMode : int {
|
||||
kCryptoModeUnspecified = 0,
|
||||
kAesCtr = 1,
|
||||
kAesCbc = 2,
|
||||
kDvbCsa = 3
|
||||
kDvbCsa2 = 3
|
||||
};
|
||||
|
||||
std::string CryptoModeToString(CryptoMode mode);
|
||||
|
||||
Reference in New Issue
Block a user