1 // Copyright 2016 The Fuchsia Authors 2 // 3 // Use of this source code is governed by a MIT-style 4 // license that can be found in the LICENSE file or at 5 // https://opensource.org/licenses/MIT 6 7 #pragma once 8 9 #include <lib/crypto/prng.h> 10 11 namespace crypto { 12 13 namespace GlobalPRNG { 14 15 // Returns a pointer to the global PRNG singleton. The pointer is 16 // guaranteed to be non-null. 17 PRNG* GetInstance(); 18 19 } //namespace GlobalPRNG 20 21 } // namespace crypto 22