YAARX: Yet Another ARX Toolkit  0.1
 All Data Structures Files Functions Variables Macros Pages
differential_3d_t Struct Reference

#include <common.hh>

Data Fields

WORD_T dx
 
WORD_T dy
 
WORD_T dz
 
double p
 
int log2p
 

Detailed Description

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.

Field Documentation

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.


The documentation for this struct was generated from the following file: