YAARX: Yet Another ARX Toolkit  0.1
 All Data Structures Files Functions Variables Macros Pages
speck-xor-threshold-search-tests.cc File Reference

Tests for automatic search for XOR differentials in block cipher Speck . More...

#include "common.hh"
#include "xdp-add.hh"
#include "xdp-add-pddt.hh"
#include "max-xdp-add.hh"
#include "speck.hh"
#include "speck-xor-threshold-search.hh"
#include "speck-xor-best-trails.hh"
#include "speck-trails.hh"

Functions

void speck_cluster_trails (differential_t input_trail[SPECK_TRAIL_LEN_MAX], double input_bounds[SPECK_TRAIL_LEN_MAX], uint32_t input_trail_len, uint32_t word_size)
 
void test_speck_cluster_trails ()
 
void test_verify_lucks_trail ()
 
void test_speck_xor_trail_search ()
 
void test_speck_xor_trail_search_encrypt_decrypt ()
 
void speck_best_trails_latex_3 (differential_t trail_1[SPECK_TRAIL_LEN_MAX], uint32_t trail_len_1, differential_t trail_2[SPECK_TRAIL_LEN_MAX], uint32_t trail_len_2, differential_t trail_3[SPECK_TRAIL_LEN_MAX], uint32_t trail_len_3)
 
void test_speck_best_trails_latex_3 ()
 
void speck_best_trails_latex_4 (differential_t trail_1[SPECK_TRAIL_LEN_MAX], uint32_t trail_len_1, differential_t trail_2[SPECK_TRAIL_LEN_MAX], uint32_t trail_len_2, differential_t trail_3[SPECK_TRAIL_LEN_MAX], uint32_t trail_len_3, differential_t trail_4[SPECK_TRAIL_LEN_MAX], uint32_t trail_len_4)
 
void test_speck_best_trails_latex_4 ()
 
int main ()
 

Detailed Description

Tests for automatic search for XOR differentials in block cipher Speck .

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.

void speck_cluster_trails ( differential_t  input_trail[SPECK_TRAIL_LEN_MAX],
double  input_bounds[SPECK_TRAIL_LEN_MAX],
uint32_t  input_trail_len,
uint32_t  word_size 
)

Cluster multiple trails starting from one fixed trail possibly found using threshold search.