The ADD differential probability of left shift (LSH): and right shift (RSH): .
More...
#include "common.hh"
#include "adp-shift.hh"
|
double | adp_lsh_exper (uint32_t da, uint32_t db, int l) |
|
double | adp_lsh (uint32_t da, uint32_t db, int l) |
|
double | adp_rsh_exper (const uint32_t da, const uint32_t db, const int r) |
|
void | adp_rsh_odiffs (uint32_t dx[4], const uint32_t da, int r) |
|
double | adp_rsh (uint32_t da, uint32_t db, int r) |
|
The ADD differential probability of left shift (LSH): and right shift (RSH): .
- Author
- V.Velichkov, vesse.nosp@m.lin..nosp@m.velic.nosp@m.hkov.nosp@m.@uni..nosp@m.lu
- Date
- 2012-2013
double adp_lsh |
( |
uint32_t |
da, |
|
|
uint32_t |
db, |
|
|
int |
l |
|
) |
| |
double adp_lsh_exper |
( |
uint32_t |
da, |
|
|
uint32_t |
db, |
|
|
int |
l |
|
) |
| |
double adp_rsh |
( |
uint32_t |
da, |
|
|
uint32_t |
db, |
|
|
int |
r |
|
) |
| |
double adp_rsh_exper |
( |
const uint32_t |
da, |
|
|
const uint32_t |
db, |
|
|
const int |
r |
|
) |
| |
void adp_rsh_odiffs |
( |
uint32_t |
dx[4], |
|
|
const uint32_t |
da, |
|
|
int |
r |
|
) |
| |
Compute the set of possible output differences dx after a right shift by r
- Parameters
-
da | input difference. |
r | shift constant. |
dx | the set of all 4 possible output differences. |