#include <stdio.h>
#include <string.h>
#include "rdd.h"
#include "rdd_internals.h"
#include "writer.h"
#include "filter.h"
Go to the source code of this file.
Data Structures | |
struct | _RDD_SHA512_STREAM_FILTER |
Typedefs | |
typedef struct _RDD_SHA512_STREAM_FILTER | RDD_SHA512_STREAM_FILTER |
Functions | |
int | rdd_new_sha512_streamfilter (RDD_FILTER **self) |
static int | sha512_close (RDD_FILTER *f) |
static int | sha512_get_result (RDD_FILTER *f, unsigned char *buf, unsigned nbyte) |
static int | sha512_input (RDD_FILTER *f, const unsigned char *buf, unsigned nbyte) |
Variables | |
static char | copyright [] |
static RDD_FILTER_OPS | sha512_ops |
typedef struct _RDD_SHA512_STREAM_FILTER RDD_SHA512_STREAM_FILTER |
int rdd_new_sha512_streamfilter | ( | RDD_FILTER ** | self | ) |
Definition at line 72 of file sha512streamfilter.c.
References RDD_BADARG, rdd_new_filter(), RDD_OK, _RDD_SHA512_STREAM_FILTER::sha512_state, and _RDD_FILTER::state.
static int sha512_close | ( | RDD_FILTER * | f | ) | [static] |
Definition at line 105 of file sha512streamfilter.c.
References RDD_BADARG, RDD_OK, _RDD_SHA512_STREAM_FILTER::result, _RDD_SHA512_STREAM_FILTER::sha512_state, and _RDD_FILTER::state.
static int sha512_get_result | ( | RDD_FILTER * | f, | |
unsigned char * | buf, | |||
unsigned | nbyte | |||
) | [static] |
Definition at line 119 of file sha512streamfilter.c.
References RDD_BADARG, RDD_ESPACE, RDD_OK, _RDD_SHA512_STREAM_FILTER::result, and _RDD_FILTER::state.
static int sha512_input | ( | RDD_FILTER * | f, | |
const unsigned char * | buf, | |||
unsigned | nbyte | |||
) | [static] |
Definition at line 95 of file sha512streamfilter.c.
References RDD_OK, _RDD_SHA512_STREAM_FILTER::sha512_state, and _RDD_FILTER::state.
char copyright[] [static] |
Initial value:
"@(#) Copyright (c) 2002-2007\n\ Netherlands Forensic Institute. All rights reserved.\n"
Definition at line 32 of file sha512streamfilter.c.
RDD_FILTER_OPS sha512_ops [static] |
Initial value:
{ sha512_input, 0, sha512_close, sha512_get_result, 0 }
Definition at line 63 of file sha512streamfilter.c.