src/md5streamfilter.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 md5streamfilter.c:

Go to the source code of this file.

Data Structures

struct  _RDD_MD5_STREAM_FILTER

Typedefs

typedef struct
_RDD_MD5_STREAM_FILTER 
RDD_MD5_STREAM_FILTER

Functions

static int md5_close (RDD_FILTER *f)
static int md5_get_result (RDD_FILTER *f, unsigned char *buf, unsigned nbyte)
static int md5_input (RDD_FILTER *f, const unsigned char *buf, unsigned nbyte)
int rdd_new_md5_streamfilter (RDD_FILTER **self)

Variables

static char copyright []
static RDD_FILTER_OPS md5_ops


Typedef Documentation


Function Documentation

static int md5_close ( RDD_FILTER f  )  [static]

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

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

Definition at line 102 of file md5streamfilter.c.

References _RDD_MD5_STREAM_FILTER::md5_state, RDD_OK, and _RDD_FILTER::state.

int rdd_new_md5_streamfilter ( RDD_FILTER **  self  ) 

Definition at line 79 of file md5streamfilter.c.

References _RDD_MD5_STREAM_FILTER::md5_state, RDD_BADARG, rdd_new_filter(), RDD_OK, and _RDD_FILTER::state.

Here is the call graph for this function:


Variable Documentation

char copyright[] [static]

Initial value:

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

Definition at line 39 of file md5streamfilter.c.

Initial value:

Definition at line 70 of file md5streamfilter.c.


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