The ADD differential probability of XOR .
More...
#include "common.hh"
#include "adp-xor.hh"
The ADD differential probability of XOR .
- Author
- V.Velichkov, vesse.nosp@m.lin..nosp@m.velic.nosp@m.hkov.nosp@m.@uni..nosp@m.lu
- Date
- 2012-2013
double adp_xor |
( |
gsl_matrix * |
A[2][2][2], |
|
|
const WORD_T |
da, |
|
|
const WORD_T |
db, |
|
|
const WORD_T |
dc |
|
) |
| |
void adp_xor_alloc_matrices |
( |
gsl_matrix * |
A[2][2][2] | ) |
|
Allocate memory for the transition probability matrices for .
- Parameters
-
A | transition probability matrices for . |
- See Also
- adp_xor_free_matrices
double adp_xor_exper |
( |
const WORD_T |
da, |
|
|
const WORD_T |
db, |
|
|
const WORD_T |
dc |
|
) |
| |
void adp_xor_free_matrices |
( |
gsl_matrix * |
A[2][2][2] | ) |
|
Free memory reserved by a previous call to adp_xor_alloc_matrices.
- Parameters
-
A | transition probability matrices for . |
void adp_xor_normalize_matrices |
( |
gsl_matrix * |
A[2][2][2] | ) |
|
Transform the elements of A into probabilities.
- Parameters
-
A | transition probability matrices for . |
void adp_xor_print_matrices |
( |
gsl_matrix * |
A[2][2][2] | ) |
|
Print the matrices for .
- Parameters
-
A | transition probability matrices for . |
void adp_xor_print_matrices_sage |
( |
gsl_matrix * |
A[2][2][2] | ) |
|
Print the matrices for in a format readable by the computer algebra system Sage (http://www.sagemath.org/).
- Parameters
-
A | transition probability matrices for . |
void adp_xor_sf |
( |
gsl_matrix * |
A[2][2][2] | ) |
|