29 lines
853 B
C
29 lines
853 B
C
// Copyright 2020 Google LLC. This file and proprietary
|
|
// source code may only be used and distributed under the Widevine
|
|
// License Agreement.
|
|
#ifndef WIDEVINE_ODK_TEST_FUZZING_ODK_FUZZ_STRUCTS_H_
|
|
#define WIDEVINE_ODK_TEST_FUZZING_ODK_FUZZ_STRUCTS_H_
|
|
|
|
#include "odk_structs.h"
|
|
|
|
struct ODK_ParseLicense_Args {
|
|
ODK_NonceValues nonce_values;
|
|
uint8_t initial_license_load;
|
|
uint8_t usage_entry_present;
|
|
uint8_t request_hash[ODK_SHA256_HASH_SIZE];
|
|
ODK_TimerLimits timer_limits;
|
|
ODK_ClockValues clock_values;
|
|
};
|
|
struct ODK_ParseRenewal_Args {
|
|
ODK_NonceValues nonce_values;
|
|
uint64_t system_time;
|
|
ODK_TimerLimits timer_limits;
|
|
ODK_ClockValues clock_values;
|
|
};
|
|
struct ODK_ParseProvisioning_Args {
|
|
ODK_NonceValues nonce_values;
|
|
size_t device_id_length;
|
|
uint8_t device_id[64];
|
|
};
|
|
#endif // WIDEVINE_ODK_TEST_FUZZING_ODK_FUZZ_STRUCTS_H_
|