sphlib

sph_radiogatun.h

Go to the documentation of this file.
00001 /* $Id: sph_radiogatun.h 226 2010-06-16 17:28:08Z tp $ */
00070 #ifndef SPH_RADIOGATUN_H__
00071 #define SPH_RADIOGATUN_H__
00072 
00073 #include <stddef.h>
00074 #include "sph_types.h"
00075 
00079 #define SPH_SIZE_radiogatun32   256
00080 
00091 typedef struct {
00092 #ifndef DOXYGEN_IGNORE
00093         unsigned char data[156];   /* first field, for alignment */
00094         unsigned data_ptr;
00095         sph_u32 a[19], b[39];
00096 #endif
00097 } sph_radiogatun32_context;
00098 
00106 void sph_radiogatun32_init(void *cc);
00107 
00116 void sph_radiogatun32(void *cc, const void *data, size_t len);
00117 
00127 void sph_radiogatun32_close(void *cc, void *dst);
00128 
00129 #if SPH_64
00130 
00134 #define SPH_SIZE_radiogatun64   256
00135 
00146 typedef struct {
00147 #ifndef DOXYGEN_IGNORE
00148         unsigned char data[312];   /* first field, for alignment */
00149         unsigned data_ptr;
00150         sph_u64 a[19], b[39];
00151 #endif
00152 } sph_radiogatun64_context;
00153 
00161 void sph_radiogatun64_init(void *cc);
00162 
00171 void sph_radiogatun64(void *cc, const void *data, size_t len);
00172 
00182 void sph_radiogatun64_close(void *cc, void *dst);
00183 
00184 #endif
00185 
00186 #endif