Skip to content

AlessandroBudroni/Sampling_Random_Permutations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

112 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Methods for Sampling Random Permutations in Cryptography

This library accompany the SoK: Methods for Sampling Random Permutations in Cryptography

The code is released under the MIT licence.

This project makes use of the following external libraries with corresponding licence:

The code has been tested to work correctly on UNIX systems with compiler clang version 14.0.3.

Benchmarks

Build and run all benchmarks

python bench_run.py

NOTE: modify the variable N_ITERATIONS in /src/definitions.h to specify the number of iterations to be run in the benchmark tests.

To parse the result, see the usage of

./bench_parse.sh [sp,cp,ip,sui] [avx2]

To generate the tikz plot for LaTex

gnuplot -c bench_plot.gp ./bench_dir/[NAME_FILE]

[NAME_FILE] stands for the name of the file generated by the parsing script, and it starts with benchmark_....

Contributors

Languages