// 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 // #include "oemcrypto_ref_test_utils.h" #include #include "cdm_random.h" namespace wvoec { namespace util { std::vector RandomData(size_t length) { const std::string data = wvutil::CdmRandom::RandomData(length); return std::vector(data.begin(), data.end()); } } // namespace util } // namespace wvoec