YAARX: Yet Another ARX Toolkit  0.1
 All Data Structures Files Functions Variables Macros Pages
xdp-add-tests.cc File Reference

Tests for xdp-add.cc. More...

#include "common.hh"
#include "xdp-add.hh"

Functions

void test_xdp_add_matrices ()
 
void test_xdp_add ()
 
void test_xdp_add_all ()
 
void test_xdp_add_print_matrices_sage ()
 
void test_aop ()
 
void test_cap ()
 
void test_xdp_add_vs_lm_all ()
 
void test_xdp_add_partition ()
 
void test_xdp_add_lm ()
 
int main ()
 

Detailed Description

Tests for xdp-add.cc.

Tests for $\mathrm{xdp}^{+}$.

Author
V.Velichkov, vesse.nosp@m.lin..nosp@m.velic.nosp@m.hkov.nosp@m.@uni..nosp@m.lu
Date
2012-2013

Function Documentation

int main ( )

Main function of XDP-ADD tests.

void test_aop ( )

Tests for the AOP function.

See Also
aop .
void test_cap ( )

Tests for the CAP function.

See Also
cap .
void test_xdp_add ( )

Test XDP-ADD for random input and output XOR differences.

void test_xdp_add_all ( )

Compare XDP-ADD to the experimental value.

void test_xdp_add_matrices ( )

Test allocation and free of XDP-ADD matrices.

void test_xdp_add_partition ( )

Tests related to partitioning the input (cf. Massey paper)

void test_xdp_add_vs_lm_all ( )

Compare xdp_add vs. xdp_add_lm (the version by Lipmaa-Moriai).