diff --git a/example/wv_cas_ecm_example b/example/wv_cas_ecm_example index b75663c..8453f79 100644 Binary files a/example/wv_cas_ecm_example and b/example/wv_cas_ecm_example differ diff --git a/libmedia_cas_packager_sdk.so b/libmedia_cas_packager_sdk.so index 2bf51d5..b76c295 100755 Binary files a/libmedia_cas_packager_sdk.so and b/libmedia_cas_packager_sdk.so differ diff --git a/media_cas_packager_sdk/public/wv_cas_ecm.h b/media_cas_packager_sdk/public/wv_cas_ecm.h index fe59137..5aa2cb7 100644 --- a/media_cas_packager_sdk/public/wv_cas_ecm.h +++ b/media_cas_packager_sdk/public/wv_cas_ecm.h @@ -22,11 +22,12 @@ namespace cas { // Information needed to generate content key portion of ECM. // Fields: // |key_id| key ID for the content key, must be 16 bytes. -// |key| content key value (aka control word), must be 16 bytes. It will be -// wrapped (encrypted) by corresponding entitlement key (decided by track -// type), together with |wrapped_key_iv| as the initial vector. -// |content_iv| content initial vector, must be 8 or 16 bytes. It is used for -// decrypting the content stream. +// |key| content key value (aka control word), must be 8 (DvbCsa2) or 16 bytes +// (all other crypto modes). It will be wrapped (encrypted) by +// corresponding entitlement key (decided by track type), together with +// |wrapped_key_iv| as the initial vector. +// |content_iv| content initial vector, must be 8 (DvbCsa2) or 16 bytes (all +// other crypto modes). It is used for decrypting the content stream. // |wrapped_key_iv| must be 16 bytes. It is used to encrypt |key|. struct WvCasContentKeyInfo { std::string key_id; diff --git a/media_cas_packager_sdk/public/wv_ecmg b/media_cas_packager_sdk/public/wv_ecmg index e6dfd1f..f3c5124 100644 Binary files a/media_cas_packager_sdk/public/wv_ecmg and b/media_cas_packager_sdk/public/wv_ecmg differ