YAARX: Yet Another ARX Toolkit
0.1
|
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 () |
Tests for automatic search for XOR differentials in block cipher Speck .
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.