Minor change

This commit is contained in:
Widevine Buildbot
2020-02-25 21:24:39 +00:00
parent 3264ee98da
commit 37bf78103e
4 changed files with 6 additions and 5 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -22,11 +22,12 @@ namespace cas {
// Information needed to generate content key portion of ECM. // Information needed to generate content key portion of ECM.
// Fields: // Fields:
// |key_id| key ID for the content key, must be 16 bytes. // |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 // |key| content key value (aka control word), must be 8 (DvbCsa2) or 16 bytes
// wrapped (encrypted) by corresponding entitlement key (decided by track // (all other crypto modes). It will be wrapped (encrypted) by
// type), together with |wrapped_key_iv| as the initial vector. // corresponding entitlement key (decided by track type), together with
// |content_iv| content initial vector, must be 8 or 16 bytes. It is used for // |wrapped_key_iv| as the initial vector.
// decrypting the content stream. // |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|. // |wrapped_key_iv| must be 16 bytes. It is used to encrypt |key|.
struct WvCasContentKeyInfo { struct WvCasContentKeyInfo {
std::string key_id; std::string key_id;