diff options
author | Jakob Unterwurzacher | 2015-09-06 10:38:43 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2015-09-06 10:42:34 +0200 |
commit | 58d1e24b7c4eb69376dd0ec230c42ea9aeb70f2d (patch) | |
tree | ac99fc15a5ab2f34fc85ac13188ffa6e4dc11815 /main.go | |
parent | ad3a1a88994bbf54e95295d70f7424b67894da3e (diff) |
Add OpenSSL support for file content encryption/decryption
This brings streaming read performance from 30MB/s to 81MB/s
(similar improvement for writes)
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -11,6 +11,7 @@ import ( const ( PROGRAM_NAME = "gocryptfs" + USE_OPENSSL = true ) func main() { @@ -22,7 +23,7 @@ func main() { // Create the file system object var key [16]byte - cfs := frontend.NewFS(key, conf.GetShadowDir()) + cfs := frontend.NewFS(key, conf.GetShadowDir(), USE_OPENSSL) // Mount the file system mountOpts := []fuse.MountOption{ |