1 /** 2 * \file 3 * System.Security.Cryptography.RNGCryptoServiceProvider support 4 * 5 * Author: 6 * Mark Crichton (crichton@gimp.org) 7 * Sebastien Pouliot (sebastien@ximian.com) 8 * 9 * (C) 2001 Ximian, Inc. 10 * Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com) 11 * Licensed under the MIT license. See LICENSE file in the project root for full license information. 12 */ 13 14 #ifndef _MONO_METADATA_RAND_H_ 15 #define _MONO_METADATA_RAND_H_ 16 17 #include <glib.h> 18 #include <mono/metadata/object.h> 19 #include "mono/utils/mono-compiler.h" 20 21 MonoBoolean ves_icall_System_Security_Cryptography_RNGCryptoServiceProvider_RngOpen (void); 22 gpointer ves_icall_System_Security_Cryptography_RNGCryptoServiceProvider_RngInitialize (MonoArray *seed); 23 gpointer ves_icall_System_Security_Cryptography_RNGCryptoServiceProvider_RngGetBytes (gpointer handle, MonoArray *arry); 24 void ves_icall_System_Security_Cryptography_RNGCryptoServiceProvider_RngClose (gpointer handle); 25 26 #endif 27