OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Classes | Typedefs | Functions
gosthash.h File Reference
#include "gost89.h"
#include <stdlib.h>

Go to the source code of this file.

Classes

struct  gost_hash_ctx
 

Typedefs

typedef long long ghosthash_len
 
typedef struct gost_hash_ctx gost_hash_ctx
 

Functions

int init_gost_hash_ctx (gost_hash_ctx *ctx, const gost_subst_block *subst_block)
 
void done_gost_hash_ctx (gost_hash_ctx *ctx)
 
int start_hash (gost_hash_ctx *ctx)
 
int hash_block (gost_hash_ctx *ctx, const byte *block, size_t length)
 
int finish_hash (gost_hash_ctx *ctx, byte *hashval)
 

Typedef Documentation

typedef long long ghosthash_len

Definition at line 19 of file gosthash.h.

typedef struct gost_hash_ctx gost_hash_ctx

Function Documentation

void done_gost_hash_ctx ( gost_hash_ctx ctx)

Definition at line 156 of file gosthash.c.

int finish_hash ( gost_hash_ctx ctx,
byte hashval 
)

Definition at line 226 of file gosthash.c.

int hash_block ( gost_hash_ctx ctx,
const byte block,
size_t  length 
)

Definition at line 181 of file gosthash.c.

int init_gost_hash_ctx ( gost_hash_ctx ctx,
const gost_subst_block subst_block 
)

Definition at line 138 of file gosthash.c.

int start_hash ( gost_hash_ctx ctx)

Definition at line 166 of file gosthash.c.