This is a cherry pick of recent changes to OEMCrypto and ODK. Most of these are part of the document migration to doxygen. See http://go/wvgerrit/106005 and its parents for code reviews. Bug: 144715340 Bug: 148232693 Bug: 167580674 Change-Id: I658f99c8117b974faed97322d61fac0f382283af
29 lines
881 B
C
29 lines
881 B
C
// Copyright 2020 Google LLC. All rights reserved. This file and proprietary
|
|
// source code may only be used and distributed under the Widevine Master
|
|
// 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_
|