Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
openssl speed test
uname -a
Linux ES57 5.2.1-1-ARCH #1 SMP Sun Jul 14 19:29:00 UTC 2019 aarch64 GNU/Linux
---
Machine: Type: ARM Device System: Raspberry Pi 3 Model B details: N/A serial: 00000000f8fc87f8
CPU: Topology: Quad Core model: N/A variant: cortex-a53 bits: 64 type: MCP arch: ARMv8 rev: 4
openssl speed -evp aes-128-cbc
Doing aes-128-cbc for 3s on 16 size blocks: 3395014 aes-128-cbc's in 2.99s
Doing aes-128-cbc for 3s on 64 size blocks: 1140884 aes-128-cbc's in 2.99s
Doing aes-128-cbc for 3s on 256 size blocks: 314357 aes-128-cbc's in 2.99s
Doing aes-128-cbc for 3s on 1024 size blocks: 80605 aes-128-cbc's in 2.99s
Doing aes-128-cbc for 3s on 8192 size blocks: 10154 aes-128-cbc's in 2.99s
Doing aes-128-cbc for 3s on 16384 size blocks: 5079 aes-128-cbc's in 2.99s
OpenSSL 1.1.1c 28 May 2019
built on: Sat Jun 1 16:37:43 2019 UTC
options:bn(64,64) rc4(char) des(int) aes(partial) idea(int) blowfish(ptr)
compiler: gcc -fPIC -pthread -Wa,--noexecstack -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -Wa,--noexecstack -D_FORTIFY_SOURCE=2 -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DVPAES_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM -DNDEBUG -D_FORTIFY_SOURCE=2
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes
aes-128-cbc 18167.30k 24420.26k 26914.85k 27605.19k 27819.92k 27830.88k
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
uname -a
Linux BB12 4.19.57-1-ARCH #1 SMP PREEMPT Fri Jul 5 19:10:19 UTC 2019 armv7l GNU/Linux
---
Machine: Type: ARM Device System: Raspberry Pi 3 Model B Rev 1.2 details: BCM2835 rev: a02082 serial: 00000000f8fc87f8
CPU: Topology: Quad Core model: ARMv7 v7l variant: cortex-a53 bits: 32 type: MCP arch: v7l rev: 4
openssl speed -evp aes-128-cbc
Doing aes-128-cbc for 3s on 16 size blocks: 6221812 aes-128-cbc's in 3.00s
Doing aes-128-cbc for 3s on 64 size blocks: 2138372 aes-128-cbc's in 3.00s
Doing aes-128-cbc for 3s on 256 size blocks: 594207 aes-128-cbc's in 3.00s
Doing aes-128-cbc for 3s on 1024 size blocks: 152805 aes-128-cbc's in 3.00s
Doing aes-128-cbc for 3s on 8192 size blocks: 19259 aes-128-cbc's in 3.00s
Doing aes-128-cbc for 3s on 16384 size blocks: 9634 aes-128-cbc's in 3.00s
OpenSSL 1.1.1c 28 May 2019
built on: Sat Jun 1 16:37:46 2019 UTC
options:bn(64,32) rc4(char) des(long) aes(partial) idea(int) blowfish(ptr)
compiler: gcc -fPIC -pthread -Wa,--noexecstack -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector-strong -fno-plt -Wa,--noexecstack -D_FORTIFY_SOURCE=2 -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector-strong -fno-plt -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -DOPENSSL_USE_NODELETE -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DPOLY1305_ASM -DNDEBUG -D_FORTIFY_SOURCE=2
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes
aes-128-cbc 33183.00k 45618.60k 50705.66k 52157.44k 52589.91k 52614.49k
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.