ezmlmx 0.68
ezmlmx
Loading...
Searching...
No Matches
surfpcs.c File Reference
#include "surf.h"
#include "surfpcs.h"
Include dependency graph for surfpcs.c:

Go to the source code of this file.

Macros

#define end   ((unsigned char *) &littleendian)
#define data   ((unsigned char *) s->in)
#define outdata   ((unsigned char *) s->out)

Functions

void surfpcs_init (surfpcs *s, const uint32 k[32])
void surfpcs_add (surfpcs *s, const unsigned char *x, unsigned int n)
void surfpcs_out (surfpcs *s, unsigned char h[32])

Macro Definition Documentation

◆ data

#define data   ((unsigned char *) s->in)

Definition at line 23 of file surfpcs.c.

◆ end

#define end   ((unsigned char *) &littleendian)

Definition at line 21 of file surfpcs.c.

◆ outdata

#define outdata   ((unsigned char *) s->out)

Definition at line 24 of file surfpcs.c.

Function Documentation

◆ surfpcs_add()

void surfpcs_add ( surfpcs * s,
const unsigned char * x,
unsigned int n )

Definition at line 26 of file surfpcs.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ surfpcs_init()

void surfpcs_init ( surfpcs * s,
const uint32 k[32] )

Definition at line 8 of file surfpcs.c.

Here is the caller graph for this function:

◆ surfpcs_out()

void surfpcs_out ( surfpcs * s,
unsigned char h[32] )

Definition at line 44 of file surfpcs.c.

Here is the call graph for this function:
Here is the caller graph for this function: