#include "precomp.h"
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) |
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().
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().