*BSDThis forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I had did a performance test on AES encryption but i don't know how to interpret it.
Please enlighten on the subject. Thanks.
Quote:
# openssl speed aes-128-cbc aes-192-cbc aes-256-cbc
Doing aes-128 cbc for 3s on 16 size blocks: 8067111 aes-128 cbc's in 3.04s
Doing aes-128 cbc for 3s on 64 size blocks: 2454909 aes-128 cbc's in 3.02s
Doing aes-128 cbc for 3s on 256 size blocks: 667281 aes-128 cbc's in 3.03s
Doing aes-128 cbc for 3s on 1024 size blocks: 154994 aes-128 cbc's in 3.04s
Doing aes-128 cbc for 3s on 8192 size blocks: 19244 aes-128 cbc's in 3.01s
Doing aes-192 cbc for 3s on 16 size blocks: 6967546 aes-192 cbc's in 3.01s
Doing aes-192 cbc for 3s on 64 size blocks: 2067574 aes-192 cbc's in 3.01s
Doing aes-192 cbc for 3s on 256 size blocks: 546756 aes-192 cbc's in 3.02s
Doing aes-192 cbc for 3s on 1024 size blocks: 128865 aes-192 cbc's in 3.02s
Doing aes-192 cbc for 3s on 8192 size blocks: 16102 aes-192 cbc's in 3.01s
Doing aes-256 cbc for 3s on 16 size blocks: 6259429 aes-256 cbc's in 3.01s
Doing aes-256 cbc for 3s on 64 size blocks: 1779879 aes-256 cbc's in 3.01s
Doing aes-256 cbc for 3s on 256 size blocks: 459021 aes-256 cbc's in 3.04s
Doing aes-256 cbc for 3s on 1024 size blocks: 101346 aes-256 cbc's in 3.01s
Doing aes-256 cbc for 3s on 8192 size blocks: 12327 aes-256 cbc's in 3.01s
LibreSSL 2.1
built on: date not available
options:bn(64,32) rc4(1x,char) des(ptr,risc1,16,long) aes(partial) idea(int) blowfish(idx)
compiler: information not available
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
aes-128 cbc 42458.48k 52024.56k 56377.54k 52208.51k 52374.37k
aes-192 cbc 37036.79k 43961.71k 46347.53k 43694.62k 43823.12k
aes-256 cbc 33272.71k 37844.60k 38654.40k 34477.84k 33549.10k
The raw data:
Doing aes-256 cbc for 3s on 16 size blocks: 6259429 aes-256 cbc's in 3.01s
Doing aes-256 cbc for 3s on 64 size blocks: 1779879 aes-256 cbc's in 3.01s
Doing aes-256 cbc for 3s on 256 size blocks: 459021 aes-256 cbc's in 3.04s
Doing aes-256 cbc for 3s on 1024 size blocks: 101346 aes-256 cbc's in 3.01s
Doing aes-256 cbc for 3s on 8192 size blocks: 12327 aes-256 cbc's in 3.01s
It processed 6259429 x 16 bytes in 3.01s = 33272712 bytes/sec = 33272 KB/sec (or 32492 KiB/sec)
The table below shows the values calculated as above for 16, 64, 256, 1K, and 8K blocks in units of 1000 bytes/sec:
aes-256 cbc 33272.71k 37844.60k 38654.40k 34477.84k 33549.10k
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.