benchmark.bash: add comments to show how to force openssl usage

This commit is contained in:
Jakob Unterwurzacher 2016-12-10 21:14:57 +01:00
parent 8be54bf3f8
commit 0749fbd9c9
1 changed files with 5 additions and 0 deletions

View File

@ -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