00001
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #ifndef _ENTROPY_H
00029 #define _ENTROPY_H
00030
00031 #include "beecrypt.h"
00032
00033 #if WIN32
00034 #include <Windows.h>
00035 #endif
00036
00037 #ifdef __cplusplus
00038 extern "C" {
00039 #endif
00040
00041 #if WIN32
00042 BEECRYPTAPI
00043 int entropy_provider_setup(HINSTANCE);
00044 BEECRYPTAPI
00045 int entropy_provider_cleanup(void);
00046
00047 BEECRYPTAPI
00048 int entropy_wavein(uint32* data, int size);
00049 BEECRYPTAPI
00050 int entropy_console(uint32* data, int size);
00051 BEECRYPTAPI
00052 int entropy_wincrypt(uint32* data, int size);
00053 #else
00054
00055 #if HAVE_DEV_AUDIO
00056
00058 int entropy_dev_audio (uint32* data, int size)
00059
00060 ;
00061 #endif
00062
00063 #if HAVE_DEV_DSP
00064
00066 int entropy_dev_dsp (uint32* data, int size)
00067
00068 ;
00069 #endif
00070
00071 #if HAVE_DEV_RANDOM
00072
00074 int entropy_dev_random(uint32* data, int size)
00075
00076 ;
00077 #endif
00078
00079 #if HAVE_DEV_URANDOM
00080
00082 int entropy_dev_urandom(uint32* data, int size)
00083
00084 ;
00085 #endif
00086
00087 #if HAVE_DEV_TTY
00088
00090 int entropy_dev_tty (uint32* data, int size)
00091
00092 ;
00093 #endif
00094 #endif
00095
00096 #ifdef __cplusplus
00097 }
00098 #endif
00099
00100 #endif