Source release 17.1.0
This commit is contained in:
21
oemcrypto/util/test/oemcrypto_ref_test_utils.h
Normal file
21
oemcrypto/util/test/oemcrypto_ref_test_utils.h
Normal file
@@ -0,0 +1,21 @@
|
||||
// Copyright 2021 Google LLC. All Rights Reserved. This file and proprietary
|
||||
// source code may only be used and distributed under the Widevine License
|
||||
// Agreement.
|
||||
//
|
||||
// Reference implementation utilities of OEMCrypto APIs
|
||||
//
|
||||
#ifndef WVOEC_UTIL_REF_TEST_UTILS_H_
|
||||
#define WVOEC_UTIL_REF_TEST_UTILS_H_
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include <vector>
|
||||
|
||||
namespace wvoec {
|
||||
namespace util {
|
||||
// Returns a vector of random bytes.
|
||||
std::vector<uint8_t> RandomData(size_t length);
|
||||
} // namespace util
|
||||
} // namespace wvoec
|
||||
#endif // WVOEC_UTIL_REF_TEST_UTILS_H_
|
||||
Reference in New Issue
Block a user