Commit Graph

15 Commits

Author SHA1 Message Date
Fang Yu
cb773116a6 Move WV CAS Descriptor Generator to the media_cas_packager_sdk.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=219162536
2018-10-29 15:05:08 -07:00
Fang Yu
051a520776 Create a WvCasStatus to be used as return type of libraries in media_cas_packager_sdk.
Following example: []/video/widevine/export/provisioning_sdk/public/provisioning_status.h
and
[]/video/widevine/export/exported_root/util/status.h

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=218918745
2018-10-26 15:00:41 -07:00
Fang Yu
70f62ed75e (1) Return a boolean instead of util::Status for methods in wv_cas_ecm.h
(2) Update wv_cas_ecm_example to NOT depend on ABSL

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=218884631
2018-10-26 11:23:12 -07:00
Fang Yu
d2f5df0c9f Adds 'virtual' and 'const' modifiers to methods in wv_cas_ecm.
-------------
Expose header files under export/exported_root/util in media_cas_packager_sdk because util::Status is used in wv_cas_ecm.h

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=218632176
2018-10-24 22:15:58 -07:00
Fang Yu
7652549f65 Merge branch 'master' of https://widevine-partner.googlesource.com/media_cas_packager_sdk_source into moe_writing_branch_from_947b950d950a5a5777a84d953e88af7358e3086c 2018-10-23 12:02:31 -07:00
Fang Yu
2f1551c1ee Do not reference internal header files within wv_cas_ecm.h
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=218363187
2018-10-23 12:01:53 -07:00
Fang Yu
b001561bc4 Merge branch 'master' of https://widevine-partner.googlesource.com/media_cas_packager_sdk_source into moe_writing_branch_from_fcdd9fa38cb2674e34790e8360af4722a09a0927 2018-10-22 13:29:15 -07:00
Fang Yu
947b950d95 (1) Change wv_cas_ecm to allow 16 bytes of content_iv
(2) Remove "wrapping_iv" parameters from wv_cas_ecm
(3) Internally derive "wrapping_iv"s and "key_id"s
(4) Add an example binary for demo the usage of wv_cas_ecm

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=218209010
2018-10-22 13:26:28 -07:00
Fang Yu
15608708be Merge branch 'master' of https://widevine-partner.googlesource.com/media_cas_packager_sdk_source 2018-10-18 16:01:13 -07:00
Fang Yu
1547e62481 Implement a set of "Simplified APIs" for ECM generation
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=217601738
2018-10-18 16:00:05 -07:00
Fang Yu
fcdd9fa38c Implement a set of "Simplified APIs" for ECM generation for castlabs.com.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=217601738
2018-10-17 16:50:08 -07:00
Fang Yu
08829edd17 Correct a file path for media_cas_packager_sdk_files.
Currently getting Kokoro error
ERROR: /var/lib/jenkins/workspace/Media_CAS_Packager_SDK/BUILD:13:1: no such package 'media_cas_packager_sdk/example': BUILD file not found on package path and referenced by '//:media_cas_packager_sdk_files'.
Example: []

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=217577606
2018-10-17 13:40:10 -07:00
Fang Yu
9962e87676 Specify widevine/media_cas_packager_sdk/presubmit in media_cas_packager_sdk METADATA file.
-------------
Moves ecm_generator to media_cas_packager_sdk/internal.

-------------
Add a simple TCP server listening on a port. My intention is to use this server to support the Simulcrypt APIs (TODO).

Also add a simple TCP client binary for testing the server and also demo how to call the Simulcrypt APIs (TODO).

-------------
If only a single key is in the ECM, it is the EVEN key. To make the code matches this understanding, change a parameter from 'false' to 'true'. But this change has NO impact on the produced ECM, regardless this parameter is 'false' or 'true' (i.e., whether using push_front or push_back), only a single key is in the ECM.

-------------
Add classes that process Simulcrypt ECMG messages
1) Stream_set-up
2) CW_provision

-------------
Renames server and client binaries.

-------------
Make ecmg call ecm_generator to generate ecm. The return of the ecm to Simulcrypt caller will be implemented in the next CL.

For now, using the 'key' (control word) in CW_provision message also as the 'key_id'.

-------------
Move common folder

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=217358698
2018-10-17 11:42:32 -07:00
Fang Yu
ba0d63e2c1 Export media_cas_packager_sdk 2018-10-01 14:59:29 -07:00
Fang Yu
5bdf48b400 Initial empty repository 2018-10-01 14:51:34 -07:00