/usr/include/diet/skalibs/surf.h is in skalibs-dev 0.47-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | /* Public domain. */
#ifndef SKALIBS_SURF_H
#define SKALIBS_SURF_H
#include "uint32.h"
typedef struct SURFSchedule SURFSchedule, *SURFSchedule_ref, **SURFSchedule_ref_ref ;
struct SURFSchedule
{
uint32 seed[32] ;
uint32 in[12] ;
char out[32] ;
unsigned char pos ;
} ;
#define SURFSCHEDULE_ZERO { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 32 }
extern void surf_sinit (SURFSchedule_ref, char const *) ; /* 160 chars */
extern void surf (SURFSchedule_ref, char *, unsigned int) ;
/* The following functions need libstdcrypto.a */
extern void surf_makeseed (char *) ; /* fills 160 chars */
extern void surf_init (SURFSchedule_ref) ;
extern void surf_autoinit (SURFSchedule_ref, char *, unsigned int) ;
#endif
|