summaryrefslogtreecommitdiff
path: root/internal/speed
diff options
context:
space:
mode:
authorJakob Unterwurzacher2021-05-18 09:53:23 +0200
committerJakob Unterwurzacher2021-05-18 09:53:23 +0200
commit5da20da977ae5c870bc2009cd540cb5fe9aae79b (patch)
tree9efb8e68ce10174a2c5f392f2d5f825770217b53 /internal/speed
parentc33c7aaf0d943ebcca0df14397e6336d7bf008a1 (diff)
-speed: note that XChaCha20 is not selectable
This is unclear to users, as seen on https://github.com/rfjakob/gocryptfs/issues/452#issuecomment-828836651
Diffstat (limited to 'internal/speed')
-rw-r--r--internal/speed/speed.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/speed/speed.go b/internal/speed/speed.go
index 6cfe511..e097c55 100644
--- a/internal/speed/speed.go
+++ b/internal/speed/speed.go
@@ -46,6 +46,8 @@ func Run() {
}
if b.preferred {
fmt.Printf("\t(selected in auto mode)\n")
+ } else if b.name == "XChaCha20-Poly1305-Go" {
+ fmt.Printf("\t(benchmark only, not selectable yet)\n")
} else {
fmt.Printf("\t\n")
}