]> git.codecow.com Git - Monocypher.git/commit
Properly initialise libsodium for the speed benchmarks
authorLoup Vaillant <loup@loup-vaillant.fr>
Mon, 4 Sep 2017 06:55:05 +0000 (08:55 +0200)
committerLoup Vaillant <loup@loup-vaillant.fr>
Mon, 4 Sep 2017 06:55:05 +0000 (08:55 +0200)
commitcb0de26db3ef83a900e6caa6949e4958b3c13726
tree23baa02350ab7f87de0a15d15d09b9223cbf1019
parent5729720416571dab1a804314b976c1e6ab554b17
Properly initialise libsodium for the speed benchmarks

Without this initialisation, libsodium can't select the fastest
implementation for the platform, and has to revert to a portable,
slower one.  This leads to misleading benchmarks.
tests/speed.c