Skip to content

a programme to benchmark the lightweight cryptographic hash function Spongent

Notifications You must be signed in to change notification settings

datenzwergin/BenchSpongent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

spongent benchmark

bench is a programme to benchmark the cryptographic hash function spongent. It reads random input data (from 12 Byte to 16 MiB) and hashes the data 10 times. The results file contains cpu information and for each input length the runtime provided by the C-function clock().

Run

$ make

to build the executable (bench).

Then, run

$ bash ./RUN_BENCH.sh

to run the actual benchmarks. The results will be written to file RESULTS-spongent-<HOSTNAME>.txt.V

The bench program uses random.data as source of random data. This file was created running

$ dd if=/dev/urandom bs=1MiB of=random.data count=16

and therefore contains 16 MiB of random data from /dev/urandom.

Refercence Code

The reference code for spongent used here can be obtained from

https://sites.google.com/site/spongenthash/downloads

Here you can find further description of the function.

About

a programme to benchmark the lightweight cryptographic hash function Spongent

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published