![]() |
YAARX: Yet Another ARX Toolkit
0.1
|
#include <common.hh>
Data Fields | |
| WORD_T | dx |
| WORD_T | dy |
| WORD_T | dz |
| double | p |
| int | log2p |
A differential composed of three differences. For example, da and db can be input differences to XOR and dc can be the corresponding output difference. The differential holds with probability p.
| WORD_T differential_3d_t::dx |
Input difference.
| WORD_T differential_3d_t::dy |
Input difference.
| WORD_T differential_3d_t::dz |
Output difference.
| int differential_3d_t::log2p |
Log base 2 of the probability p: log2p = log2(p)
| double differential_3d_t::p |
Probability of the differential.