27 #ifndef XTEA_XOR_THRESHOLD_SEARCH_H
28 #define XTEA_XOR_THRESHOLD_SEARCH_H
30 double xtea_xor_init_estimate(uint32_t next_round, uint32_t lsh_const, uint32_t rsh_const, uint32_t npairs,
32 std::set<differential_t, struct_comp_diff_dx_dy>* diff_set_dx_dy,
33 uint32_t round_key[64], uint32_t round_delta[64]);
36 const uint32_t round_key[64],
const uint32_t round_delta[64],
37 gsl_matrix* A[2][2][2],
double B[
NROUNDS],
double* Bn,
39 uint32_t lsh_const, uint32_t rsh_const,
40 std::multiset<differential_t, struct_comp_diff_p>* diff_mset_p,
41 std::set<differential_t, struct_comp_diff_dx_dy>* diff_set_dx_dy,
42 uint32_t dxx_init, uint32_t* dxx_init_in);
48 std::set<differential_t, struct_comp_diff_dx_dy>* diff_set_dx_dy,
49 std::multiset<differential_t, struct_comp_diff_p>* diff_mset_p,
54 std::set<differential_t, struct_comp_diff_dx_dy> diff_set_dx_dy,
55 std::multiset<differential_t, struct_comp_diff_p> diff_mset_p,
58 #endif // #ifndef XTEA_XOR_THRESHOLD_SEARCH_H
#define NROUNDS
Definition: common.hh:122
Definition: common.hh:272
uint32_t xtea_xor_trail_search_full(uint32_t key[4], uint32_t round_key[64], uint32_t round_delta[64], std::set< differential_t, struct_comp_diff_dx_dy > diff_set_dx_dy, std::multiset< differential_t, struct_comp_diff_p > diff_mset_p, double BB[NROUNDS], differential_t trail[NROUNDS])
Definition: xtea-xor-threshold-search.cc:983
double xtea_xor_init_estimate(uint32_t next_round, uint32_t lsh_const, uint32_t rsh_const, uint32_t npairs, gsl_matrix *A[2][2][2], double B[NROUNDS], differential_t trail[NROUNDS], std::set< differential_t, struct_comp_diff_dx_dy > *diff_set_dx_dy, std::multiset< differential_t, struct_comp_diff_p > *diff_mset_p, uint32_t round_key[64], uint32_t round_delta[64])
Definition: xtea-xor-threshold-search.cc:70
uint32_t xtea_xor_trail_search(uint32_t key[4], uint32_t round_key[64], uint32_t round_delta[64], std::set< differential_t, struct_comp_diff_dx_dy > *diff_set_dx_dy, std::multiset< differential_t, struct_comp_diff_p > *diff_mset_p, double B[NROUNDS], differential_t trail[NROUNDS])
Definition: xtea-xor-threshold-search.cc:492
void xtea_xor_threshold_search(const int n, const int nrounds, const uint32_t npairs, const uint32_t round_key[64], const uint32_t round_delta[64], gsl_matrix *A[2][2][2], double B[NROUNDS], double *Bn, const differential_t diff_in[NROUNDS], differential_t trail[NROUNDS], uint32_t lsh_const, uint32_t rsh_const, std::multiset< differential_t, struct_comp_diff_p > *diff_mset_p, std::set< differential_t, struct_comp_diff_dx_dy > *diff_set_dx_dy, uint32_t dxx_init, uint32_t *dxx_init_in)
Definition: xtea-xor-threshold-search.cc:195