YAARX: Yet Another ARX Toolkit
0.1
|
Analysis of the authenticated cipher MORUS. More...
Data Structures | |
struct | morus_diff_state_t |
Macros | |
#define | n1 (5 % WORD_SIZE) |
#define | n2 (31 % WORD_SIZE) |
#define | n3 (7 % WORD_SIZE) |
#define | n4 (22 % WORD_SIZE) |
#define | n5 (13 % WORD_SIZE) |
#define | XOR_DIFF 1 |
Functions | |
void | morus_rotr_xxx_yy (const WORD_T x[4], const uint32_t r, WORD_T y[4]) |
void | morus_word_rotr_32 (const WORD_T x[4], WORD_T y[4]) |
void | morus_word_rotr_64 (const WORD_T x[4], WORD_T y[4]) |
void | morus_word_print (const WORD_T x[4]) |
void | morus_state_print (const WORD_T x[5][4]) |
void | morus_word_xor (const WORD_T x[4], const WORD_T y[4], WORD_T z[4]) |
void | morus_word_and (const WORD_T x[4], const WORD_T y[4], WORD_T z[4]) |
bool | morus_states_are_equal (const WORD_T x[4], const WORD_T y[4]) |
void | morus_find_solution_rand () |
void | morus_find_solution_all () |
void | morus_stateupdate (WORD_T msgblk[], WORD_T state[][4]) |
void | morus_initialization (const uint32_t nrounds, WORD_T state[][4]) |
void | morus_stateupdate_dp (std::vector< morus_diff_state_t > *diff_state_vec) |
void | test_morus_stateupdate_dp () |
double | adp_and_exper (const uint32_t da, const uint32_t db, const uint32_t dc) |
void | test_adp_and_all () |
void | test_adp_and () |
double | xor_add (WORD_T d, WORD_T D) |
void | test_xor_add () |
int | main () |
Variables | |
WORD_T | g_init_state [5][4] |
Analysis of the authenticated cipher MORUS.
WORD_T g_init_state[5][4] |