dicho.h File Reference

#include "precomp.h"

Include dependency graph for dicho.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int dicho_b2cw (unsigned char *input_message, int *cw, int start, int len, int m, int t, precomp_t p)
int dicho_cw2b (int *cw, unsigned char *output_message, int start, int len, int m, int t, precomp_t p)


Function Documentation

int dicho_b2cw ( unsigned char *  input_message,
int *  cw,
int  start,
int  len,
int  m,
int  t,
precomp_t  p 
)

Definition at line 628 of file dicho.c.

References arith_init(), bread(), bread_changer_position(), breadclose(), breadinit(), code_arith::buffer, dichoinv(), precomp::m, precomp::real_m, precomp::real_t, and precomp::t.

Referenced by encrypt_block().

Here is the call graph for this function:

int dicho_cw2b ( int *  cw,
unsigned char *  output_message,
int  start,
int  len,
int  m,
int  t,
precomp_t  p 
)

Definition at line 722 of file dicho.c.

References arith_init(), code_arith::buffer, bwrite(), bwrite_changer_position(), bwriteclose(), bwriteinit(), dicho(), precomp::m, precomp::real_m, precomp::real_t, and precomp::t.

Referenced by decrypt_block().

Here is the call graph for this function:


This work was partially suported by Europian Network of Excellence, ECRYPT; ECRYPT