YAARX: Yet Another ARX Toolkit
0.1
|
Count the number of possible output differences after the operation XOR with a fixed input (FI). More...
#include "common.hh"
#include "adp-xor-fi.hh"
#include "dp-matrix-minimize.hh"
#include "adp-xor-fi-count-odiff.hh"
Functions | |
void | adp_xor_fi_count_odiff_alloc_matrices_3d (gsl_matrix *P[2][2][2]) |
void | adp_xor_fi_count_odiff_free_matrices_3d (gsl_matrix *P[2][2][2]) |
void | adp_xor_fi_count_odiff_alloc_matrices_2d (gsl_matrix *P[2][2]) |
void | adp_xor_fi_count_odiff_free_matrices_2d (gsl_matrix *P[2][2]) |
void | adp_xor_fi_count_odiff_matrices_3d_to_2d (gsl_matrix *P[2][2][2], gsl_matrix *PP[2][2]) |
void | adp_xor_fi_count_odiff_sf (gsl_matrix *P[2][2][2], gsl_matrix *A[2][2][2]) |
double | adp_xor_fi_count_odiff_3d (gsl_matrix *A[2][2][2], uint32_t a, uint32_t db) |
double | adp_xor_fi_count_odiff_2d (gsl_matrix *A[2][2], uint32_t a, uint32_t db) |
double | adp_xor_fi_count_odiff_exper (const uint32_t a, const uint32_t db) |
void | adp_xor_fi_matrix_to_arrey_2d (gsl_matrix *A[2][2], uint32_t M[2][2][ADP_XOR_FI_COUNT_MSIZE][ADP_XOR_FI_COUNT_MSIZE]) |
void | adp_xor_fi_matrix_to_arrey_3d (gsl_matrix *A[2][2][2], uint32_t M[2][2][2][ADP_XOR_FI_COUNT_MSIZE][ADP_XOR_FI_COUNT_MSIZE]) |
uint32_t | adp_xor_fi_minimize_matrix_2d (gsl_matrix *A[2][2], uint32_t C[2][2][ADP_XOR_FI_COUNT_MSIZE][ADP_XOR_FI_COUNT_MSIZE]) |
uint32_t | adp_xor_fi_minimize_matrix_3d (gsl_matrix *A[2][2][2], uint32_t C[2][2][2][ADP_XOR_FI_COUNT_MSIZE][ADP_XOR_FI_COUNT_MSIZE]) |
void | adp_xor_fi_count_odiff_print_matrices_sage_2d (gsl_matrix *A[2][2]) |
void | adp_xor_fi_count_odiff_min_set_size_spos (gsl_matrix *P[2][2]) |
void | adp_xor_fi_count_odiff_min_set_size_i (uint32_t k, uint32_t n, uint32_t max_cnt, gsl_matrix *P[2][2], gsl_vector *C_in, uint32_t S_in[WORD_SIZE]) |
Variables | |
uint32_t | g_cnt = 0 |
Count the number of possible output differences after the operation XOR with a fixed input (FI).