diff options
author | Jakob Unterwurzacher | 2015-12-08 13:22:57 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2015-12-08 13:22:57 +0100 |
commit | f4ae0304aff2f721ebe6088aa4f4c83f872f1ee9 (patch) | |
tree | eb6ff6100c9530e93454302e0e9a61a0e6dbb5e1 /cryptfs/config_test | |
parent | c6a6641b58d4bd8fd9e64ad7a653eff9886ee6e2 (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/config_test')
0 files changed, 0 insertions, 0 deletions