27 #ifndef XTEA_F_XOR_PDDT_H
28 #define XTEA_F_XOR_PDDT_H
31 const uint32_t lsh_const,
const uint32_t rsh_const,
32 gsl_matrix* A[2][2][2], gsl_vector* C,
33 uint32_t* da, uint32_t* db, uint32_t* dc,
34 double* p,
const double p_thres,
35 std::set<differential_t, struct_comp_diff_dx_dy>* diff_set_dx_dy);
37 void xtea_f_xor_pddt(uint32_t n,
double p_thres, uint32_t lsh_const, uint32_t rsh_const,
38 std::set<differential_t, struct_comp_diff_dx_dy>* diff_set_dx_dy);
41 uint32_t lsh_const, uint32_t rsh_const,
const uint32_t da_prev,
const uint32_t da_in,
42 std::set<differential_t, struct_comp_diff_dx_dy>* hways_diff_set_dx_dy,
43 std::multiset<differential_t, struct_comp_diff_p>* hways_diff_mset_p,
44 std::set<differential_t, struct_comp_diff_dx_dy>* diff_set_dx_dy);
47 std::set<differential_t, struct_comp_diff_dx_dy> diff_set_dx_dy);
50 uint32_t key, uint32_t delta,
double p_thres,
51 std::set<differential_t, struct_comp_diff_dx_dy>* diff_set_dx_dy);
54 const std::set<differential_t, struct_comp_diff_dx_dy> diff_set_dx_dy);
56 #endif // #ifndef XTEA_F_XOR_PDDT_H
bool xtea_is_dx_in_set_dx_dy(uint32_t dy, uint32_t dx_prev, std::set< differential_t, struct_comp_diff_dx_dy > diff_set_dx_dy)
Definition: xtea-f-xor-pddt.cc:207
void xtea_xor_pddt_adjust_to_key(uint32_t nrounds, uint32_t npairs, uint32_t lsh_const, uint32_t rsh_const, uint32_t key, uint32_t delta, double p_thres, std::set< differential_t, struct_comp_diff_dx_dy > *diff_set_dx_dy)
Definition: xtea-f-xor-pddt.cc:425
void xtea_f_xor_pddt(uint32_t n, double p_thres, uint32_t lsh_const, uint32_t rsh_const, std::set< differential_t, struct_comp_diff_dx_dy > *diff_set_dx_dy)
Definition: xtea-f-xor-pddt.cc:172
void xtea_f_xor_pddt_i(const uint32_t k, const uint32_t n, const uint32_t lsh_const, const uint32_t rsh_const, gsl_matrix *A[2][2][2], gsl_vector *C, uint32_t *da, uint32_t *db, uint32_t *dc, double *p, const double p_thres, std::set< differential_t, struct_comp_diff_dx_dy > *diff_set_dx_dy)
Definition: xtea-f-xor-pddt.cc:77
void xtea_xor_pddt_dxy_to_dp(std::multiset< differential_t, struct_comp_diff_p > *diff_mset_p, const std::set< differential_t, struct_comp_diff_dx_dy > diff_set_dx_dy)
Definition: xtea-f-xor-pddt.cc:462
uint32_t xtea_f_da_db_xor_pddt(uint32_t n, double p_thres, uint32_t lsh_const, uint32_t rsh_const, const uint32_t da_prev, const uint32_t da_in, std::set< differential_t, struct_comp_diff_dx_dy > *hways_diff_set_dx_dy, std::multiset< differential_t, struct_comp_diff_p > *hways_diff_mset_p, std::set< differential_t, struct_comp_diff_dx_dy > *diff_set_dx_dy)
Definition: xtea-f-xor-pddt.cc:368