Update partner repo

This updates the partner repo to match the internal version, including
the following changes:
- Adds a WB_RESULT_NOT_IMPLEMENTED error code
- Add a flag to control new features (e.g. entitlement support).
- Updates tests to match new expectations
This commit is contained in:
Jacob Trimble
2022-03-17 15:41:27 -07:00
parent 9cd251fa23
commit e54d7da9eb
22 changed files with 734 additions and 339 deletions

View File

@@ -13,11 +13,7 @@ package(default_visibility = [
#
# test_aead_whitebox : The target for testing the AEAD white-box.
#
# general_license_whitebox_with_vmpra : The target for testing the license
# white-box against generated licenses with VMP/RA functionality.
#
# general_license_whitebox_without_vmpra : The target for testing the license
# white-box against generated licenses without VMP/RA functionality.
# general_license_whitebox: The target for testing the license white-box.
#
# uat_license_whitebox : The target for testing the license white-box against
# licenses from Widevine's UAT server.
@@ -53,25 +49,16 @@ cc_test(
size = "small",
deps = [
"@whitebox_api//api:license_whitebox_test",
"//impl:general_license_whitebox_without_vmpra",
"//impl:general_license_whitebox",
],
)
cc_test(
name = "remote_attestation_and_verification_with_vmpra_test",
name = "remote_attestation_and_verification_test",
size = "small",
deps = [
"@whitebox_api//api:remote_attestation_and_verification_with_vmpra_test",
"//impl:general_license_whitebox_with_vmpra",
],
)
cc_test(
name = "remote_attestation_and_verification_without_vmpra_test",
size = "small",
deps = [
"@whitebox_api//api:remote_attestation_and_verification_without_vmpra_test",
"//impl:general_license_whitebox_without_vmpra",
"@whitebox_api//api:remote_attestation_and_verification_test",
"//impl:general_license_whitebox",
],
)
@@ -80,7 +67,7 @@ cc_test(
size = "small",
deps = [
"@whitebox_api//api:license_whitebox_benchmark",
"//impl:general_license_whitebox_without_vmpra",
"//impl:general_license_whitebox",
],
)