YAARX: Yet Another ARX Toolkit  0.1
 All Data Structures Files Functions Variables Macros Pages
idea.cc File Reference

Analysis of block cipher IDEA. More...

#include "common.hh"
#include "bsdr.hh"
#include "adp-xor.hh"
#include "adp-xor-count-odiff.hh"
#include "adp-xor-fi.hh"
#include "adp-xor-fi-count-odiff.hh"
#include "adp-mul.hh"
#include "idea-ref.cc"

Macros

#define BIAS   0
 
#define COUNT_ODIFF   1
 

Functions

uint32_t d (uint32_t x)
 
uint32_t inv_d (uint32_t x)
 
uint32_t idea_mul (uint32_t x_in, uint32_t y_in)
 
double adp_idea_mul (const uint32_t da_in, const uint32_t db_in, const uint32_t dc_in)
 
double adp_idea_mul_fi_exper (const uint32_t da, const uint32_t k, const uint32_t dc)
 
double adp_idea_mul_exper (const uint32_t da, const uint32_t db, const uint32_t dc)
 
void test_idea_mul_key ()
 
void test_adp_idea_mul_fi_exper ()
 
void test_idea_adp_xor_fi ()
 
void test_idea_adp_xor ()
 
void test_adp_idea_mul_rand ()
 
void test_adp_idea_mul_all ()
 
void test_temp ()
 
void test_idea_mul_all ()
 
void test_idea_mul_rand ()
 
void idea_mul_fk_fdx (uint16_t key, uint16_t dx)
 
bool comp_diff (difference_t a, difference_t b)
 
void idea_xor_fc (uint16_t c, uint16_t dx)
 
void test_idea_mul_fk_fdx ()
 
void test_idea_xor_fc ()
 
void test_d ()
 
void test_inv_d_add ()
 
void test_inv_d ()
 
void test_idea_tvec ()
 
void test_idea_lin ()
 
int main ()
 

Detailed Description

Analysis of block cipher IDEA.

Author
V.Velichkov, vesse.nosp@m.lin..nosp@m.velic.nosp@m.hkov.nosp@m.@uni..nosp@m.lu
Date
2012-2013

Function Documentation

int main ( )

Main function.