summaryrefslogtreecommitdiff
path: root/benchmark.bash
diff options
context:
space:
mode:
authorJakob Unterwurzacher2016-12-10 21:14:57 +0100
committerJakob Unterwurzacher2016-12-10 21:14:57 +0100
commit0749fbd9c9d5935956ce8675bb7f19abc1d02a0a (patch)
tree6732e79658e4529e055c8acf96cf10c6d46f2a61 /benchmark.bash
parent8be54bf3f8c011f2d0635017f01883af6563b482 (diff)
benchmark.bash: add comments to show how to force openssl usage
Diffstat (limited to 'benchmark.bash')
-rwxr-xr-xbenchmark.bash5
1 files changed, 5 insertions, 0 deletions
diff --git a/benchmark.bash b/benchmark.bash
index 4169a5a..61926df 100755
--- a/benchmark.bash
+++ b/benchmark.bash
@@ -47,7 +47,12 @@ if [[ $MODE == encfs ]]; then
else
echo "Testing gocryptfs at $CRYPT"
gocryptfs -q -init -extpass="echo test" -scryptn=10 $CRYPT
+ # By default, gocryptfs decides between OpenSSL and Go GCM:
gocryptfs -q -extpass="echo test" $CRYPT $MNT
+ # Force use of OpenSSL:
+ #gocryptfs -q -extpass="echo test" -openssl=true $CRYPT $MNT
+ # Force use of Go GCM:
+ #gocryptfs -q -extpass="echo test" -openssl=false $CRYPT $MNT
fi
# Cleanup trap