src/sha1streamfilter.c File Reference

#include <stdio.h>
#include <string.h>
#include "rdd.h"
#include "rdd_internals.h"
#include "writer.h"
#include "filter.h"

Include dependency graph for sha1streamfilter.c:

Go to the source code of this file.

Data Structures

struct  _RDD_SHA1_STREAM_FILTER

Typedefs

typedef struct
_RDD_SHA1_STREAM_FILTER 
RDD_SHA1_STREAM_FILTER

Functions

int rdd_new_sha1_streamfilter (RDD_FILTER **self)
static int sha1_close (RDD_FILTER *f)
static int sha1_get_result (RDD_FILTER *f, unsigned char *buf, unsigned nbyte)
static int sha1_input (RDD_FILTER *f, const unsigned char *buf, unsigned nbyte)

Variables

static char copyright []
static RDD_FILTER_OPS sha1_ops


Typedef Documentation


Function Documentation

int rdd_new_sha1_streamfilter ( RDD_FILTER **  self  ) 

Definition at line 79 of file sha1streamfilter.c.

References RDD_BADARG, rdd_new_filter(), RDD_OK, _RDD_SHA1_STREAM_FILTER::sha1_state, and _RDD_FILTER::state.

Here is the call graph for this function:

static int sha1_close ( RDD_FILTER f  )  [static]

static int sha1_get_result ( RDD_FILTER f,
unsigned char *  buf,
unsigned  nbyte 
) [static]

static int sha1_input ( RDD_FILTER f,
const unsigned char *  buf,
unsigned  nbyte 
) [static]


Variable Documentation

char copyright[] [static]

Initial value:

"@(#) Copyright (c) 2002\n\
    Netherlands Forensic Institute.  All rights reserved.\n"

Definition at line 39 of file sha1streamfilter.c.

Initial value:

Definition at line 70 of file sha1streamfilter.c.


Generated on Sun Feb 6 12:36:36 2011 for rdd by  doxygen 1.5.6