2010-04-19 Rodrigo Kumpera <rkumpera@novell.com>
[mono.git] / mono / metadata / rand.h
blob96b4efe76ffcf9a55c329ad965fc49bd3955e7f3
1 /*
2 * rand.h: System.Security.Cryptography.RNGCryptoServiceProvider support
4 * Author:
5 * Mark Crichton (crichton@gimp.org)
6 * Sebastien Pouliot (sebastien@ximian.com)
8 * (C) 2001 Ximian, Inc.
9 * Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com)
12 #ifndef _MONO_METADATA_RAND_H_
13 #define _MONO_METADATA_RAND_H_
15 #include <mono/metadata/object.h>
16 #include "mono/utils/mono-compiler.h"
18 MonoBoolean ves_icall_System_Security_Cryptography_RNGCryptoServiceProvider_RngOpen (void) MONO_INTERNAL;
19 gpointer ves_icall_System_Security_Cryptography_RNGCryptoServiceProvider_RngInitialize (MonoArray *seed) MONO_INTERNAL;
20 gpointer ves_icall_System_Security_Cryptography_RNGCryptoServiceProvider_RngGetBytes (gpointer handle, MonoArray *arry) MONO_INTERNAL;
21 void ves_icall_System_Security_Cryptography_RNGCryptoServiceProvider_RngClose (gpointer handle) MONO_INTERNAL;
23 #endif