/home/dko/Projects/mobilec/src/security/xyssl-0.9/programs/hash/sha2sum.c File Reference

#include <string.h>
#include <stdio.h>
#include "xyssl/sha2.h"

Go to the source code of this file.

Functions

static int sha2_wrapper (char *filename, unsigned char *sum)
static int sha2_print (char *filename)
static int sha2_check (char *filename)
int main (int argc, char *argv[])

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 131 of file sha2sum.c.

References sha2_check(), and sha2_print().

static int sha2_check ( char *  filename  )  [static]

Definition at line 58 of file sha2sum.c.

References buf, f, and sha2_wrapper().

Referenced by main().

static int sha2_print ( char *  filename  )  [static]

Definition at line 43 of file sha2sum.c.

References sha2_wrapper().

Referenced by main().

static int sha2_wrapper ( char *  filename,
unsigned char *  sum 
) [static]

Definition at line 30 of file sha2sum.c.

References sha2_file().

Referenced by sha2_check(), and sha2_print().

Generated on Tue Dec 28 15:15:29 2010 for Mobile-C by  doxygen 1.6.3