YAARX: Yet Another ARX Toolkit
0.1
|
Header file for threefish.cc: More...
#include "xdp-add-diff-set.hh"
Go to the source code of this file.
Macros | |
#define | THREEFISH_MAX_NROUNDS 20 |
Functions | |
void | threefish32_print_dset (diff_set_t DX[4]) |
void | threefish32_mix (uint32_t X[4], uint32_t rot_const_0, uint32_t rot_const_1) |
void | threefish32 (uint32_t nrounds, uint32_t rot_const[THREEFISH_MAX_NROUNDS][2], uint32_t X[4], uint32_t Y[4]) |
void | threefish32_print_prob (double P[4]) |
void | threefish32_print_dset_trail (uint32_t nrounds, diff_set_t DT[THREEFISH_MAX_NROUNDS][4], double P[THREEFISH_MAX_NROUNDS][4]) |
Variables | |
uint32_t | g_threefish32_rot_const [12][2] |
Header file for threefish.cc:
void threefish32 | ( | uint32_t | nrounds, |
uint32_t | rot_const[THREEFISH_MAX_NROUNDS][2], | ||
uint32_t | X[4], | ||
uint32_t | Y[4] | ||
) |
Threefish-256 with 32-bit word size Reference source code: http://www.schneier.com/code/threefish.zip
void threefish32_mix | ( | uint32_t | X[4], |
uint32_t | rot_const_0, | ||
uint32_t | rot_const_1 | ||
) |
The MIX primitive of 32-bit Threefish.
uint32_t g_threefish32_rot_const[12][2] |
Example rotation constants for 32-bit version of Threefish.