Skip to content

Instantly share code, notes, and snippets.

@rcombs

rcombs/stdin Secret

Created October 19, 2015 08:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rcombs/a02c280533ad11e72876 to your computer and use it in GitHub Desktop.
Save rcombs/a02c280533ad11e72876 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.580 +- 0.171
lavu_c AES-128-ECB size: 1048576 runs: 1024 time: 46.807 +- 6.120
crypto AES-128-ECB size: 1048576 runs: 1024 time: 0.612 +- 1.857
gcrypt AES-128-ECB size: 1048576 runs: 1024 time: 1.494 +- 0.880
tomcrypt AES-128-ECB size: 1048576 runs: 1024 time: 10.142 +- 1.438
lavu_aesni AES-192-ECB size: 1048576 runs: 1024 time: 0.865 +- 0.165
lavu_c AES-192-ECB size: 1048576 runs: 1024 time: 53.717 +- 5.203
crypto AES-192-ECB size: 1048576 runs: 1024 time: 0.536 +- 0.072
gcrypt AES-192-ECB size: 1048576 runs: 1024 time: 1.389 +- 0.222
tomcrypt AES-192-ECB size: 1048576 runs: 1024 time: 10.915 +- 1.027
lavu_aesni AES-256-ECB size: 1048576 runs: 1024 time: 0.992 +- 0.257
lavu_c AES-256-ECB size: 1048576 runs: 1024 time: 61.822 +- 5.332
crypto AES-256-ECB size: 1048576 runs: 1024 time: 0.662 +- 0.194
gcrypt AES-256-ECB size: 1048576 runs: 1024 time: 1.608 +- 0.223
tomcrypt AES-256-ECB size: 1048576 runs: 1024 time: 12.994 +- 1.797
lavu_aesni AES-128-CBC size: 1048576 runs: 1024 time: 3.218 +- 0.688
lavu_c AES-128-CBC size: 1048576 runs: 1024 time: 48.470 +- 7.142
crypto AES-128-CBC size: 1048576 runs: 1024 time: 2.954 +- 0.330
gcrypt AES-128-CBC size: 1048576 runs: 1024 time: 3.456 +- 0.429
tomcrypt AES-128-CBC size: 1048576 runs: 1024 time: 9.965 +- 0.906
lavu_aesni AES-192-CBC size: 1048576 runs: 1024 time: 3.587 +- 0.552
lavu_c AES-192-CBC size: 1048576 runs: 1024 time: 54.712 +- 4.302
crypto AES-192-CBC size: 1048576 runs: 1024 time: 3.640 +- 0.572
gcrypt AES-192-CBC size: 1048576 runs: 1024 time: 4.263 +- 0.618
tomcrypt AES-192-CBC size: 1048576 runs: 1024 time: 11.903 +- 1.515
lavu_aesni AES-256-CBC size: 1048576 runs: 1024 time: 4.192 +- 0.544
lavu_c AES-256-CBC size: 1048576 runs: 1024 time: 62.207 +- 4.126
crypto AES-256-CBC size: 1048576 runs: 1024 time: 4.114 +- 0.704
gcrypt AES-256-CBC size: 1048576 runs: 1024 time: 4.931 +- 1.786
tomcrypt AES-256-CBC size: 1048576 runs: 1024 time: 13.779 +- 2.353
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment