YAARX: Yet Another ARX Toolkit
0.1
|
Header file for max-adp-xor-fi.cc. More...
Go to the source code of this file.
Functions | |
double | max_adp_xor_fixed_input (gsl_matrix *A[2][2][2], const uint32_t a, const uint32_t db, uint32_t *dd_max) |
double | max_adp_xor_fixed_input_exper (gsl_matrix *A[2][2][2], const uint32_t da, const uint32_t db, uint32_t *dc_max) |
Header file for max-adp-xor-fi.cc.
double max_adp_xor_fixed_input | ( | gsl_matrix * | A[2][2][2], |
const uint32_t | a, | ||
const uint32_t | db, | ||
uint32_t * | dd_max | ||
) |
Compute the maximum differential probability over all output differences: . Complexity c: .
A | transition probability matrices. |
a | input value. |
db | input difference. |
dd_max | maximum probability output difference. |
double max_adp_xor_fixed_input_exper | ( | gsl_matrix * | A[2][2][2], |
const uint32_t | da, | ||
const uint32_t | db, | ||
uint32_t * | dc_max | ||
) |
Compute the maximum differential probability by exhaustive search over all output differences. Complexity: .
A | transition probability matrices. |
da | input value. |
db | input difference. |
dc_max | maximum probability output difference. |