prefer_openssl

package
v1.4.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2018 License: MIT Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL