The ADD differential probability of the sequence of operations: ADD, LROT, XOR (ARX): .
More...
#include "common.hh"
#include "adp-arx.hh"
|
uint32_t | ADP_ARX_ISTATES [ADP_ARX_NISTATES] = {0,2,4,6} |
|
uint32_t | ADP_ARX_FSTATES [ADP_ARX_NISTATES][ADP_ARX_NFSTATES] = {{0,1}, {2,3}, {4,5}, {6,7}} |
|
The ADD differential probability of the sequence of operations: ADD, LROT, XOR (ARX): .
- Author
- V.Velichkov, vesse.nosp@m.lin..nosp@m.velic.nosp@m.hkov.nosp@m.@uni..nosp@m.lu
- Date
- 2012-2013
double adp_arx |
( |
gsl_matrix * |
A[2][2][2][2], |
|
|
uint32_t |
rot_const, |
|
|
uint32_t |
da, |
|
|
uint32_t |
db, |
|
|
uint32_t |
dd, |
|
|
uint32_t |
de |
|
) |
| |
void adp_arx_alloc_matrices |
( |
gsl_matrix * |
A[2][2][2][2] | ) |
|
Allocate memory for the transition probability matrices for .
- Parameters
-
A | transition probability matrices for . |
- See Also
- adp_arx_free_matrices
double adp_arx_exper |
( |
uint32_t |
r, |
|
|
uint32_t |
da, |
|
|
uint32_t |
db, |
|
|
uint32_t |
dd, |
|
|
uint32_t |
de |
|
) |
| |
void adp_arx_free_matrices |
( |
gsl_matrix * |
A[2][2][2][2] | ) |
|
Free memory reserved by a previous call to adp_arx_alloc_matrices.
- Parameters
-
A | transition probability matrices for . |
void adp_arx_normalize_matrices |
( |
gsl_matrix * |
A[2][2][2][2] | ) |
|
Transform the elements of A into probabilities.
- Parameters
-
A | transition probability matrices for . |
void adp_arx_print_matrices |
( |
gsl_matrix * |
A[2][2][2][2] | ) |
|
Print the matrices for .
- Parameters
-
A | transition probability matrices for . |
void adp_arx_sf |
( |
gsl_matrix * |
A[2][2][2][2] | ) |
|
Array of final states for the S-function of : adp_arx_sf. Every set of final states corresponds to a unique initial state (ADP_ARX_ISTATES).
Array of initial states for the S-function of : adp_arx_sf.