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

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

Go to the source code of this file.

Functions

static int sha1_wrapper (char *filename, unsigned char *sum)
static int sha1_print (char *filename)
static int sha1_check (char *filename)
int main (int argc, char *argv[])

Function Documentation

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

Definition at line 131 of file sha1sum.c.

References sha1_check(), and sha1_print().

static int sha1_check ( char *  filename  )  [static]

Definition at line 58 of file sha1sum.c.

References buf, f, and sha1_wrapper().

Referenced by main().

static int sha1_print ( char *  filename  )  [static]

Definition at line 43 of file sha1sum.c.

References sha1_wrapper().

Referenced by main().

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

Definition at line 30 of file sha1sum.c.

References sha1_file().

Referenced by sha1_check(), and sha1_print().

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