![]() |
YAARX: Yet Another ARX Toolkit
0.1
|
The ADD differential probability of (left) rotation (LROT):
.
More...
Functions | |
| void | adp_lrot_odiffs (const WORD_T da, const int r, WORD_T dx[4], double P[4]) |
| double | adp_lrot (WORD_T da, WORD_T db, int r) |
| double | adp_lrot_exper (const WORD_T da, const WORD_T db, const int r) |
| double | adp_lrot2_exper (const WORD_T da, const WORD_T db_r, const WORD_T db_s, const int r, const int s) |
The ADD differential probability of (left) rotation (LROT):
.
| double adp_lrot | ( | WORD_T | da, |
| WORD_T | db, | ||
| int | r | ||
| ) |
The ADD differential probability of (left) rotation (LROT):
| double adp_lrot2_exper | ( | const WORD_T | da, |
| const WORD_T | db_r, | ||
| const WORD_T | db_s, | ||
| const int | r, | ||
| const int | s | ||
| ) |
The ADD differential probability of one input a left rotated by two constants in parallel: b1 = a <<< r, b2 = a <<< s .
| double adp_lrot_exper | ( | const WORD_T | da, |
| const WORD_T | db, | ||
| const int | r | ||
| ) |
The ADD differential probability of (left) rotation (LROT):
computed experimentally over all inputs.
| void adp_lrot_odiffs | ( | const WORD_T | da, |
| const int | r, | ||
| WORD_T | dx[4], | ||
| double | P[4] | ||
| ) |
For given input difference da, generate all four possible output ADD differences after left rotation together with their probabilities.