aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorYawning Angel <yawning@schwanenlied.me>2015-12-20 07:11:20 +0000
committerYawning Angel <yawning@schwanenlied.me>2015-12-20 07:11:20 +0000
commit081b159abc6cc89942dc11bd5745ec0fd5cc25bb (patch)
treecb281928f88a3a336ed74e913dc82a4247486dd7 /src/common
parent9467485517b69a99fb42e71416b856a2ef18a729 (diff)
downloadtor-081b159abc6cc89942dc11bd5745ec0fd5cc25bb.tar.gz
tor-081b159abc6cc89942dc11bd5745ec0fd5cc25bb.zip
Add the randomized large buffer test for SHA-3 incremental hashing.
This creates a random 100 KiB buffer, and incrementally hashes (SHA3-512) between 1 and 5 * Rate bytes in a loop, comparing the running digest with the equivalent one shot call from the start of the buffer.
Diffstat (limited to 'src/common')
0 files changed, 0 insertions, 0 deletions