aboutsummaryrefslogtreecommitdiff
path: root/benchmark.bash
diff options
context:
space:
mode:
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