Skip to content

Instantly share code, notes, and snippets.

@rcombs

rcombs/stdin Secret

Created October 13, 2015 00:32
Show Gist options
  • Save rcombs/2a91ab246c3a99c15b3a to your computer and use it in GitHub Desktop.
Save rcombs/2a91ab246c3a99c15b3a to your computer and use it in GitHub Desktop.
$ tools/crypto_bench -a aes-128-cbc,aes-192-cbc,aes-256-cbc,aes-128-ecb,aes-192-ecb,aes-256-ecb
lavu_aesni AES-128-ECB size: 1048576 runs: 1024 time: 0.708 +- 0.539
lavu AES-128-ECB size: 1048576 runs: 1024 time: 45.130 +- 4.585
crypto AES-128-ECB size: 1048576 runs: 1024 time: 15.430 +- 1.432
gcrypt AES-128-ECB size: 1048576 runs: 1024 time: 1.123 +- 0.224
tomcrypt AES-128-ECB size: 1048576 runs: 1024 time: 9.038 +- 0.790
lavu_aesni AES-192-ECB size: 1048576 runs: 1024 time: 0.841 +- 0.136
lavu AES-192-ECB size: 1048576 runs: 1024 time: 52.202 +- 5.065
crypto AES-192-ECB size: 1048576 runs: 1024 time: 19.022 +- 2.222
gcrypt AES-192-ECB size: 1048576 runs: 1024 time: 1.400 +- 0.417
tomcrypt AES-192-ECB size: 1048576 runs: 1024 time: 11.473 +- 1.572
lavu_aesni AES-256-ECB size: 1048576 runs: 1024 time: 0.947 +- 0.150
lavu AES-256-ECB size: 1048576 runs: 1024 time: 60.924 +- 4.920
crypto AES-256-ECB size: 1048576 runs: 1024 time: 21.584 +- 1.769
gcrypt AES-256-ECB size: 1048576 runs: 1024 time: 1.601 +- 0.168
tomcrypt AES-256-ECB size: 1048576 runs: 1024 time: 12.528 +- 1.154
lavu_aesni AES-128-CBC size: 1048576 runs: 1024 time: 2.983 +- 0.551
lavu AES-128-CBC size: 1048576 runs: 1024 time: 46.714 +- 5.081
crypto AES-128-CBC size: 1048576 runs: 1024 time: 14.802 +- 1.391
gcrypt AES-128-CBC size: 1048576 runs: 1024 time: 3.480 +- 0.416
tomcrypt AES-128-CBC size: 1048576 runs: 1024 time: 9.497 +- 0.718
lavu_aesni AES-192-CBC size: 1048576 runs: 1024 time: 3.455 +- 0.589
lavu AES-192-CBC size: 1048576 runs: 1024 time: 56.759 +- 7.456
crypto AES-192-CBC size: 1048576 runs: 1024 time: 18.564 +- 1.993
gcrypt AES-192-CBC size: 1048576 runs: 1024 time: 4.326 +- 0.951
tomcrypt AES-192-CBC size: 1048576 runs: 1024 time: 13.412 +- 4.379
lavu_aesni AES-256-CBC size: 1048576 runs: 1024 time: 4.430 +- 0.730
lavu AES-256-CBC size: 1048576 runs: 1024 time: 66.387 +- 6.516
crypto AES-256-CBC size: 1048576 runs: 1024 time: 22.466 +- 2.577
gcrypt AES-256-CBC size: 1048576 runs: 1024 time: 5.034 +- 0.807
tomcrypt AES-256-CBC size: 1048576 runs: 1024 time: 14.417 +- 2.150
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment