1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 * Use of this source code is governed by a BSD-style license that can be 3 * found in the LICENSE file. 4 */ 5 6 /** 7 * This file defines the PPB_Crypto_Dev interface. 8 */ 9 10 label Chrome { 11 M13 = 0.1 12 }; 13 14 interface PPB_Crypto_Dev { 15 /** 16 * Fills the given buffer with random bytes. This is potentially slow so only 17 * request the amount of data you need. 18 */ 19 void GetRandomBytes([out] str_t buffer, [in] uint32_t num_bytes); 20 }; 21