3 surfpcs \- SURF protected counter sums
5 .B #include <surfpcs.h>
7 void \fBsurfpcs_init\fP(&\fIs\fR,\fIseed\fR);
9 void \fBsurfpcs_add\fP(&\fIs\fR,\fIbuf\fR,\fIlen\fR);
11 void \fBsurfpcs_out\fP(&\fIs\fR,\fIh\fR);
15 uint32 \fIseed\fR[32];
17 unsigned char *\fIbuf\fR;
19 unsigned int \fIlen\fR;
21 unsigned char \fIh\fR[SURFPCS_LEN];
24 converts a character string to a 256-bit output,
25 under control of a 1024-bit seed.
26 When the seed is secret,
28 appears to be indistinguishable from a completely random
29 variable-length-to-256-bit function.
40 The seed will be recorded inside
43 Second, feed the input to
49 You can split the input across any number of
55 The output will be placed into
65 to another input you must call