30 #define THREEFISH_MAX_NROUNDS 20
32 #ifndef XDP_ADD_DIFF_SET_H
40 void threefish32_mix(uint32_t X[4], uint32_t rot_const_0, uint32_t rot_const_1);
42 void threefish32(uint32_t nrounds, uint32_t rot_const[THREEFISH_MAX_NROUNDS][2], uint32_t X[4], uint32_t Y[4]);
44 void threefish32_print_prob(
double P[4]);
46 void threefish32_print_dset_trail(uint32_t nrounds,
diff_set_t DT[THREEFISH_MAX_NROUNDS][4],
double P[THREEFISH_MAX_NROUNDS][4]);
48 #endif // #ifndef THREEFISH_H
void threefish32(uint32_t nrounds, uint32_t rot_const[THREEFISH_MAX_NROUNDS][2], uint32_t X[4], uint32_t Y[4])
Definition: threefish.cc:74
uint32_t g_threefish32_rot_const[12][2]
Definition: threefish.cc:39
Header file for xdp-add-diff-set.cc:
Definition: xdp-add-diff-set.hh:68
void threefish32_mix(uint32_t X[4], uint32_t rot_const_0, uint32_t rot_const_1)
Definition: threefish.cc:57