225 lines
5.4 KiB
Python
225 lines
5.4 KiB
Python
# Copyright 2021 Google LLC. All Rights Reserved. This file and proprietary
|
|
# source code may only be used and distributed under the Widevine License
|
|
# Agreement.
|
|
#
|
|
# Gyp configurations to build fuzz tests for partners on linux.
|
|
# This should be used by partners who want to run oemcrypto fuzz tests on
|
|
# their implementation on linux.
|
|
{
|
|
'target_defaults': {
|
|
'type': 'executable',
|
|
'includes': [
|
|
'partner_oemcrypto_fuzztests.gypi',
|
|
],
|
|
},
|
|
'targets': [
|
|
{
|
|
'target_name': 'oemcrypto_copy_buffer_fuzz',
|
|
'sources': [
|
|
'oemcrypto_copy_buffer_fuzz.cc',
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'oemcrypto_deactivate_usage_entry_fuzz',
|
|
'sources': [
|
|
'oemcrypto_deactivate_usage_entry_fuzz.cc',
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'oemcrypto_decrypt_cenc_fuzz',
|
|
'sources': [
|
|
'oemcrypto_decrypt_cenc_fuzz.cc',
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'oemcrypto_decrypt_hash_fuzz',
|
|
'sources': [
|
|
'oemcrypto_decrypt_hash_fuzz.cc',
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'oemcrypto_entitled_key_session_fuzz',
|
|
'sources': [
|
|
'oemcrypto_entitled_key_session_fuzz.cc',
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'oemcrypto_generate_certificate_key_pair_first_stage_fuzz',
|
|
'sources': [
|
|
'oemcrypto_generate_certificate_key_pair_fuzz.cc',
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'oemcrypto_generate_certificate_key_pair_second_stage_fuzz',
|
|
'sources': [
|
|
'oemcrypto_generate_certificate_key_pair_fuzz.cc',
|
|
],
|
|
'defines': [
|
|
'SECOND_STAGE',
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'oemcrypto_generate_rsa_signature_fuzz',
|
|
'sources': [
|
|
'oemcrypto_generate_rsa_signature_fuzz.cc',
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'oemcrypto_generic_decrypt_fuzz',
|
|
'sources': [
|
|
'oemcrypto_generic_decrypt_fuzz.cc',
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'oemcrypto_generic_encrypt_fuzz',
|
|
'sources': [
|
|
'oemcrypto_generic_encrypt_fuzz.cc',
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'oemcrypto_generic_sign_fuzz',
|
|
'sources': [
|
|
'oemcrypto_generic_sign_fuzz.cc',
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'oemcrypto_generic_verify_fuzz',
|
|
'sources': [
|
|
'oemcrypto_generic_verify_fuzz.cc',
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'oemcrypto_get_boot_certificate_chain_fuzz',
|
|
'sources': [
|
|
'oemcrypto_get_boot_certificate_chain_fuzz.cc',
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'oemcrypto_get_device_information_fuzz',
|
|
'sources': [
|
|
'oemcrypto_get_device_information_fuzz.cc',
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'oemcrypto_get_device_signed_csr_payload_fuzz',
|
|
'sources': [
|
|
'oemcrypto_get_device_signed_csr_payload_fuzz.cc',
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'oemcrypto_get_key_handle_fuzz',
|
|
'sources': [
|
|
'oemcrypto_get_key_handle_fuzz.cc',
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'oemcrypto_get_random_fuzz',
|
|
'sources': [
|
|
'oemcrypto_get_random_fuzz.cc',
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'oemcrypto_install_oem_private_key_fuzz',
|
|
'sources': [
|
|
'oemcrypto_install_oem_private_key_fuzz.cc',
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'oemcrypto_license_request_fuzz',
|
|
'sources': [
|
|
'oemcrypto_license_request_fuzz.cc',
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'oemcrypto_load_entitled_content_keys_fuzz',
|
|
'sources': [
|
|
'oemcrypto_load_entitled_content_keys_fuzz.cc',
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'oemcrypto_load_license_fuzz',
|
|
'sources': [
|
|
'oemcrypto_load_license_fuzz.cc',
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'oemcrypto_load_provisioning_fuzz',
|
|
'sources': [
|
|
'oemcrypto_load_provisioning_fuzz.cc',
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'oemcrypto_load_release_fuzz',
|
|
'sources': [
|
|
'oemcrypto_load_release_fuzz.cc',
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'oemcrypto_load_renewal_fuzz',
|
|
'sources': [
|
|
'oemcrypto_load_renewal_fuzz.cc',
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'oemcrypto_load_usage_entry_fuzz',
|
|
'sources': [
|
|
'oemcrypto_load_usage_entry_fuzz.cc',
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'oemcrypto_load_usage_table_header_fuzz',
|
|
'sources': [
|
|
'oemcrypto_load_usage_table_header_fuzz.cc',
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'oemcrypto_move_usage_entry_fuzz',
|
|
'sources': [
|
|
'oemcrypto_move_usage_entry_fuzz.cc',
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'oemcrypto_provisioning_request_fuzz',
|
|
'sources': [
|
|
'oemcrypto_provisioning_request_fuzz.cc',
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'oemcrypto_query_key_control_fuzz',
|
|
'sources': [
|
|
'oemcrypto_query_key_control_fuzz.cc',
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'oemcrypto_release_request_fuzz',
|
|
'sources': [
|
|
'oemcrypto_release_request_fuzz.cc',
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'oemcrypto_renewal_request_fuzz',
|
|
'sources': [
|
|
'oemcrypto_renewal_request_fuzz.cc',
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'oemcrypto_report_usage_fuzz',
|
|
'sources': [
|
|
'oemcrypto_report_usage_fuzz.cc',
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'oemcrypto_reuse_usage_entry_fuzz',
|
|
'sources': [
|
|
'oemcrypto_reuse_usage_entry_fuzz.cc',
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'oemcrypto_shrink_usage_table_header_fuzz',
|
|
'sources': [
|
|
'oemcrypto_shrink_usage_table_header_fuzz.cc',
|
|
],
|
|
},
|
|
],
|
|
}
|