Documentation ¶
Overview ¶
Package prefer_openssl tries to determine if we should prefer openssl on the platform we are running on.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PreferOpenSSL ¶
func PreferOpenSSL() bool
PreferOpenSSL tells us if OpenSSL is faster than Go GCM on this machine. Go GCM is faster when the CPU has AES instructions and Go is v1.6 or higher on amd64.
See https://github.com/rfjakob/gocryptfs/issues/23#issuecomment-218286502 for benchmarks.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.