Add "License Key Mode" To API
In order to support both single-key and dual-key RSA implementations where single-key will use key 0 for both sign and encryption and where dual-key will use key 0 for sign and key 1 for encryption. Additional changes in this code drop: - Added VMP / RA override enabled tests - Added VMP / RA override disabled tests This brings the partner repo in sync with the internal repo at commit 71760b6da1ec546c65b56e2f86b39b73b53f6734.
This commit is contained in:
@@ -13,9 +13,14 @@ package(default_visibility = [
|
||||
#
|
||||
# test_aead_whitebox : The target for testing the AEAD white-box.
|
||||
#
|
||||
# test_license_whitebox : The target for testing the license white-box. The
|
||||
# white-box should use the private key provided in
|
||||
# "//api/test_license_whitebox_keys.cc".
|
||||
# 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.
|
||||
#
|
||||
# uat_license_whitebox : The target for testing the license white-box against
|
||||
# licenses from Widevine's UAT server.
|
||||
|
||||
# ==============================================================================
|
||||
# AEAD Test Targets
|
||||
@@ -48,16 +53,25 @@ cc_test(
|
||||
size = "small",
|
||||
deps = [
|
||||
"@whitebox_api//api:license_whitebox_test",
|
||||
"//impl:test_license_whitebox",
|
||||
"//impl:general_license_whitebox_without_vmpra",
|
||||
],
|
||||
)
|
||||
|
||||
cc_test(
|
||||
name = "remote_attestation_and_verification_test",
|
||||
name = "remote_attestation_and_verification_with_vmpra_test",
|
||||
size = "small",
|
||||
deps = [
|
||||
"@whitebox_api//api:remote_attestation_and_verification_test",
|
||||
"//impl:test_license_whitebox",
|
||||
"@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",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -66,7 +80,7 @@ cc_test(
|
||||
size = "small",
|
||||
deps = [
|
||||
"@whitebox_api//api:license_whitebox_benchmark",
|
||||
"//impl:test_license_whitebox",
|
||||
"//impl:general_license_whitebox_without_vmpra",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -75,6 +89,6 @@ cc_test(
|
||||
size = "small",
|
||||
deps = [
|
||||
"@whitebox_api//api:license_whitebox_uat_test",
|
||||
"//impl:test_license_whitebox",
|
||||
"//impl:uat_license_whitebox",
|
||||
],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user