Dibbler - a portable DHCPv6  1.0.2RC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
sha1.h File Reference
#include <stdio.h>
#include <stdint.h>
+ Include dependency graph for sha1.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  sha1_ctx

Macros

#define SHA1_BLOCKSIZE   64
#define SHA1_DIGESTSIZE   20

Functions

void * sha1_finish_ctx (struct sha1_ctx *ctx, void *resbuf)
void sha1_init_ctx (struct sha1_ctx *ctx)
void sha1_process_block (const void *buffer, size_t len, struct sha1_ctx *ctx)
void sha1_process_bytes (const void *buffer, size_t len, struct sha1_ctx *ctx)
void * sha1_read_ctx (const struct sha1_ctx *ctx, void *resbuf)

Macro Definition Documentation

#define SHA1_BLOCKSIZE   64
#define SHA1_DIGESTSIZE   20

Function Documentation

void* sha1_finish_ctx ( struct sha1_ctx ctx,
void *  resbuf 
)
void sha1_init_ctx ( struct sha1_ctx ctx)
void sha1_process_block ( const void *  buffer,
size_t  len,
struct sha1_ctx ctx 
)
void sha1_process_bytes ( const void *  buffer,
size_t  len,
struct sha1_ctx ctx 
)
void* sha1_read_ctx ( const struct sha1_ctx ctx,
void *  resbuf 
)