aboutsummaryrefslogtreecommitdiff
path: root/cryptfs/kdf.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2015-12-08 13:22:57 +0100
committerJakob Unterwurzacher2015-12-08 13:22:57 +0100
commitf4ae0304aff2f721ebe6088aa4f4c83f872f1ee9 (patch)
treeeb6ff6100c9530e93454302e0e9a61a0e6dbb5e1 /cryptfs/kdf.go
parentc6a6641b58d4bd8fd9e64ad7a653eff9886ee6e2 (diff)
opensslGCM: preallocate buffer space, improves performance by 11%
Results of cryptfs/openssl_benchmark.bash : Before: BenchmarkEnc_OpenSSL_4k_AES256_nonce96-2 50000 31802 ns/op 127.28 MB/s BenchmarkEnc_OpenSSL_4k_AES256_nonce128-2 50000 32110 ns/op 126.06 MB/s After: BenchmarkEnc_OpenSSL_4k_AES256_nonce96-2 50000 28612 ns/op 141.47 MB/s BenchmarkEnc_OpenSSL_4k_AES256_nonce128-2 50000 28613 ns/op 141.47 MB/s
Diffstat (limited to 'cryptfs/kdf.go')
0 files changed, 0 insertions, 0 deletions