SWILIB API (X75)    
Loading...
Searching...
No Matches
mdc2.h File Reference
#include "des.h"

Go to the source code of this file.

Data Structures

struct  mdc2_ctx_st
 

Macros

#define MDC2_BLOCK   8
 
#define MDC2_DIGEST_LENGTH   16
 

Typedefs

typedef struct mdc2_ctx_st MDC2_CTX
 

Functions

void MDC2_Init (MDC2_CTX *c)
 
void MDC2_Update (MDC2_CTX *c, const unsigned char *data, unsigned long len)
 
void MDC2_Final (unsigned char *md, MDC2_CTX *c)
 
unsigned char * MDC2 (const unsigned char *d, unsigned long n, unsigned char *md)
 

Data Structure Documentation

◆ mdc2_ctx_st

struct mdc2_ctx_st

Macro Definition Documentation

◆ MDC2_BLOCK

#define MDC2_BLOCK   8

Definition at line 72 of file mdc2.h.

◆ MDC2_DIGEST_LENGTH

#define MDC2_DIGEST_LENGTH   16

Definition at line 73 of file mdc2.h.

Typedef Documentation

◆ MDC2_CTX

typedef struct mdc2_ctx_st MDC2_CTX

Function Documentation

◆ MDC2_Init()

void MDC2_Init ( MDC2_CTX * c)

◆ MDC2_Update()

void MDC2_Update ( MDC2_CTX * c,
const unsigned char * data,
unsigned long len )

◆ MDC2_Final()

void MDC2_Final ( unsigned char * md,
MDC2_CTX * c )

◆ MDC2()

unsigned char * MDC2 ( const unsigned char * d,
unsigned long n,
unsigned char * md )