29 KiB
STM Benchmarks
STM32H753ZI
Supports RNG, AES CBC/GCM and SHA-2 acceleration. Note: HW RNG on for all tests
Board: NUCLEO-H753ZI CPU: Cortex-M7 at 480 MHz IDE: STM32CubeIDE RTOS: FreeRTOS
STM32H753ZI (STM Crypto/Hash Acceleration, -Os, SP-ASM Cortex-M)
------------------------------------------------------------------------------
wolfSSL version 4.4.1
------------------------------------------------------------------------------
wolfCrypt Benchmark (block bytes 1024, min 1.0 sec each)
RNG 875 KB took 1.019 seconds, 858.685 KB/s
AES-128-CBC-enc 10 MB took 1.000 seconds, 10.400 MB/s
AES-128-CBC-dec 10 MB took 1.000 seconds, 10.327 MB/s
AES-192-CBC-enc 10 MB took 1.000 seconds, 10.425 MB/s
AES-192-CBC-dec 10 MB took 1.000 seconds, 10.278 MB/s
AES-256-CBC-enc 10 MB took 1.000 seconds, 10.376 MB/s
AES-256-CBC-dec 10 MB took 1.000 seconds, 10.278 MB/s
AES-128-GCM-enc 9 MB took 1.000 seconds, 8.789 MB/s
AES-128-GCM-dec 9 MB took 1.000 seconds, 8.716 MB/s
AES-192-GCM-enc 9 MB took 1.000 seconds, 8.740 MB/s
AES-192-GCM-dec 9 MB took 1.000 seconds, 8.691 MB/s
AES-256-GCM-enc 9 MB took 1.000 seconds, 8.765 MB/s
AES-256-GCM-dec 9 MB took 1.000 seconds, 8.691 MB/s
CHACHA 4 MB took 1.000 seconds, 4.443 MB/s
CHA-POLY 3 MB took 1.004 seconds, 3.040 MB/s
POLY1305 13 MB took 1.000 seconds, 12.671 MB/s
SHA-256 9 MB took 1.000 seconds, 8.691 MB/s
HMAC-SHA256 8 MB took 1.000 seconds, 8.496 MB/s
RSA 2048 public 82 ops took 1.019 sec, avg 12.427 ms, 80.471 ops/sec
RSA 2048 private 4 ops took 1.749 sec, avg 437.250 ms, 2.287 ops/sec
DH 2048 key gen 5 ops took 1.000 sec, avg 200.000 ms, 5.000 ops/sec
DH 2048 agree 6 ops took 1.200 sec, avg 200.000 ms, 5.000 ops/sec
ECC 256 key gen 121 ops took 1.000 sec, avg 8.264 ms, 121.000 ops/sec
ECDHE 256 agree 56 ops took 1.016 sec, avg 18.143 ms, 55.118 ops/sec
ECDSA 256 sign 78 ops took 1.007 sec, avg 12.910 ms, 77.458 ops/sec
ECDSA 256 verify 36 ops took 1.004 sec, avg 27.889 ms, 35.857 ops/sec
Benchmark complete
Benchmark Test: Return code 0
STM32H753ZI (No HW Crypto, -Os, FastMath)
------------------------------------------------------------------------------
wolfSSL version 4.4.1
------------------------------------------------------------------------------
wolfCrypt Benchmark (block bytes 1024, min 1.0 sec each)
RNG 1 MB took 1.015 seconds, 1.010 MB/s
AES-128-CBC-enc 1 MB took 1.012 seconds, 1.399 MB/s
AES-128-CBC-dec 1 MB took 1.000 seconds, 1.318 MB/s
AES-192-CBC-enc 1 MB took 1.019 seconds, 1.198 MB/s
AES-192-CBC-dec 1 MB took 1.012 seconds, 1.134 MB/s
AES-256-CBC-enc 1 MB took 1.000 seconds, 1.050 MB/s
AES-256-CBC-dec 1 MB took 1.012 seconds, 0.989 MB/s
AES-128-GCM-enc 75 KB took 1.125 seconds, 66.667 KB/s
AES-128-GCM-dec 75 KB took 1.125 seconds, 66.667 KB/s
AES-192-GCM-enc 75 KB took 1.149 seconds, 65.274 KB/s
AES-192-GCM-dec 75 KB took 1.149 seconds, 65.274 KB/s
AES-256-GCM-enc 75 KB took 1.161 seconds, 64.599 KB/s
AES-256-GCM-dec 75 KB took 1.165 seconds, 64.378 KB/s
CHACHA 5 MB took 1.000 seconds, 4.858 MB/s
CHA-POLY 3 MB took 1.003 seconds, 3.140 MB/s
POLY1305 13 MB took 1.000 seconds, 12.671 MB/s
SHA-256 3 MB took 1.004 seconds, 2.845 MB/s
HMAC-SHA256 3 MB took 1.004 seconds, 2.821 MB/s
RSA 2048 public 38 ops took 1.012 sec, avg 26.632 ms, 37.549 ops/sec
RSA 2048 private 2 ops took 3.267 sec, avg 1633.500 ms, 0.612 ops/sec
DH 2048 key gen 4 ops took 1.184 sec, avg 296.000 ms, 3.378 ops/sec
DH 2048 agree 2 ops took 1.259 sec, avg 629.500 ms, 1.589 ops/sec
ECC 256 key gen 4 ops took 1.070 sec, avg 267.500 ms, 3.738 ops/sec
ECDHE 256 agree 4 ops took 1.070 sec, avg 267.500 ms, 3.738 ops/sec
ECDSA 256 sign 4 ops took 1.082 sec, avg 270.500 ms, 3.697 ops/sec
ECDSA 256 verify 6 ops took 1.016 sec, avg 169.333 ms, 5.906 ops/sec
Benchmark complete
Benchmark Test: Return code 0
STM32WB55
Supports RNG, ECC P-256, AES-CBC and SHA-256 acceleration. Note: SP math beats PKA HW. HW RNG on for all tests
Board: P-NUCLEO-WB55 (MB1355C-02) CPU: Cortex-M4 at 64 MHz IDE: STM32CubeIDE RTOS: FreeRTOS
STM32WB55 (STM AES-CBC/Hash Acceleration, -Os, SP-ASM Cortex-M)
------------------------------------------------------------------------------
wolfSSL version 4.4.1
------------------------------------------------------------------------------
wolfCrypt Benchmark (block bytes 1024, min 1.0 sec each)
RNG 375 KB took 1.008 seconds, 372.024 KB/s
AES-128-CBC-enc 4 MB took 1.000 seconds, 3.882 MB/s
AES-128-CBC-dec 4 MB took 1.000 seconds, 3.955 MB/s
AES-256-CBC-enc 4 MB took 1.004 seconds, 3.550 MB/s
AES-256-CBC-dec 4 MB took 1.004 seconds, 3.599 MB/s
AES-128-GCM-enc 50 KB took 1.800 seconds, 27.778 KB/s
AES-128-GCM-dec 50 KB took 1.804 seconds, 27.716 KB/s
AES-256-GCM-enc 50 KB took 1.828 seconds, 27.352 KB/s
AES-256-GCM-dec 50 KB took 1.831 seconds, 27.307 KB/s
CHACHA 2 MB took 1.008 seconds, 1.574 MB/s
CHA-POLY 1 MB took 1.004 seconds, 1.046 MB/s
POLY1305 5 MB took 1.000 seconds, 4.663 MB/s
SHA-256 1000 KB took 1.015 seconds, 985.222 KB/s
HMAC-SHA256 975 KB took 1.000 seconds, 975.000 KB/s
RSA 2048 public 28 ops took 1.016 sec, avg 36.286 ms, 27.559 ops/sec
RSA 2048 private 2 ops took 2.522 sec, avg 1261.000 ms, 0.793 ops/sec
DH 2048 key gen 2 ops took 1.184 sec, avg 592.000 ms, 1.689 ops/sec
DH 2048 agree 2 ops took 1.181 sec, avg 590.500 ms, 1.693 ops/sec
ECC 256 key gen 37 ops took 1.008 sec, avg 27.243 ms, 36.706 ops/sec
ECDHE 256 agree 18 ops took 1.071 sec, avg 59.500 ms, 16.807 ops/sec
ECDSA 256 sign 14 ops took 1.130 sec, avg 80.714 ms, 12.389 ops/sec
ECDSA 256 verify 8 ops took 1.305 sec, avg 163.125 ms, 6.130 ops/sec
Benchmark complete
Benchmark Test: Return code 0
STM32WB55 (STM PKA only, -Os, FastMath)
------------------------------------------------------------------------------
wolfSSL version 4.4.1
------------------------------------------------------------------------------
wolfCrypt Benchmark (block bytes 1024, min 1.0 sec each)
RNG 375 KB took 1.008 seconds, 372.024 KB/s
AES-128-CBC-enc 600 KB took 1.020 seconds, 588.235 KB/s
AES-128-CBC-dec 575 KB took 1.007 seconds, 571.003 KB/s
AES-192-CBC-enc 525 KB took 1.043 seconds, 503.356 KB/s
AES-192-CBC-dec 500 KB took 1.028 seconds, 486.381 KB/s
AES-256-CBC-enc 450 KB took 1.027 seconds, 438.169 KB/s
AES-256-CBC-dec 425 KB took 1.000 seconds, 425.000 KB/s
AES-128-GCM-enc 50 KB took 1.819 seconds, 27.488 KB/s
AES-128-GCM-dec 50 KB took 1.820 seconds, 27.473 KB/s
AES-192-GCM-enc 50 KB took 1.855 seconds, 26.954 KB/s
AES-192-GCM-dec 50 KB took 1.851 seconds, 27.012 KB/s
AES-256-GCM-enc 50 KB took 1.874 seconds, 26.681 KB/s
AES-256-GCM-dec 50 KB took 1.875 seconds, 26.667 KB/s
CHACHA 2 MB took 1.004 seconds, 1.581 MB/s
CHA-POLY 1 MB took 1.000 seconds, 1.050 MB/s
POLY1305 5 MB took 1.000 seconds, 4.663 MB/s
SHA-256 1000 KB took 1.016 seconds, 984.252 KB/s
HMAC-SHA256 1000 KB took 1.024 seconds, 976.562 KB/s
RSA 2048 public 14 ops took 1.121 sec, avg 80.071 ms, 12.489 ops/sec
RSA 2048 private 2 ops took 9.428 sec, avg 4714.000 ms, 0.212 ops/sec
DH 2048 key gen 2 ops took 1.807 sec, avg 903.500 ms, 1.107 ops/sec
DH 2048 agree 2 ops took 3.643 sec, avg 1821.500 ms, 0.549 ops/sec
ECC 256 key gen 9 ops took 1.024 sec, avg 113.778 ms, 8.789 ops/sec
ECDHE 256 agree 10 ops took 1.129 sec, avg 112.900 ms, 8.857 ops/sec
ECDSA 256 sign 14 ops took 1.157 sec, avg 82.643 ms, 12.100 ops/sec
ECDSA 256 verify 8 ops took 1.282 sec, avg 160.250 ms, 6.240 ops/sec
Benchmark complete
Benchmark Test: Return code 0
STM32WB55 (No HW Crypto, -Os, FastMath)
------------------------------------------------------------------------------
wolfSSL version 4.4.1
------------------------------------------------------------------------------
wolfCrypt Benchmark (block bytes 1024, min 1.0 sec each)
RNG 375 KB took 1.004 seconds, 373.506 KB/s
AES-128-CBC-enc 600 KB took 1.024 seconds, 585.937 KB/s
AES-128-CBC-dec 575 KB took 1.008 seconds, 570.437 KB/s
AES-192-CBC-enc 525 KB took 1.047 seconds, 501.433 KB/s
AES-192-CBC-dec 500 KB took 1.028 seconds, 486.381 KB/s
AES-256-CBC-enc 450 KB took 1.028 seconds, 437.743 KB/s
AES-256-CBC-dec 450 KB took 1.055 seconds, 426.540 KB/s
AES-128-GCM-enc 50 KB took 1.816 seconds, 27.533 KB/s
AES-128-GCM-dec 50 KB took 1.820 seconds, 27.473 KB/s
AES-192-GCM-enc 50 KB took 1.851 seconds, 27.012 KB/s
AES-192-GCM-dec 50 KB took 1.851 seconds, 27.012 KB/s
AES-256-GCM-enc 50 KB took 1.875 seconds, 26.667 KB/s
AES-256-GCM-dec 50 KB took 1.874 seconds, 26.681 KB/s
CHACHA 2 MB took 1.004 seconds, 1.581 MB/s
CHA-POLY 1 MB took 1.012 seconds, 1.061 MB/s
POLY1305 5 MB took 1.004 seconds, 4.693 MB/s
SHA-256 1000 KB took 1.016 seconds, 984.252 KB/s
HMAC-SHA256 1000 KB took 1.023 seconds, 977.517 KB/s
RSA 2048 public 14 ops took 1.141 sec, avg 81.500 ms, 12.270 ops/sec
RSA 2048 private 2 ops took 9.498 sec, avg 4749.000 ms, 0.211 ops/sec
DH 2048 key gen 2 ops took 1.839 sec, avg 919.500 ms, 1.088 ops/sec
DH 2048 agree 2 ops took 3.674 sec, avg 1837.000 ms, 0.544 ops/sec
ECC 256 key gen 1 ops took 1.130 sec, avg 1130.000 ms, 0.885 ops/sec
ECDHE 256 agree 2 ops took 2.251 sec, avg 1125.500 ms, 0.888 ops/sec
ECDSA 256 sign 2 ops took 2.275 sec, avg 1137.500 ms, 0.879 ops/sec
ECDSA 256 verify 2 ops took 1.490 sec, avg 745.000 ms, 1.342 ops/sec
Benchmark complete
Benchmark Test: Return code 0
STM32F437
Supports RNG, AES-CBC/GCM and SHA-256 acceleration. Note: HW RNG on for all tests
Board: STM32F437I-EVAL CPU: Cortex-M4 at 160 MHz IDE: STM32CubeIDE RTOS: FreeRTOS
STM32F437 (STM Crypto/Hash Acceleration, -Os, SP-ASM Cortex-M)
------------------------------------------------------------------------------
wolfSSL version 4.4.1
------------------------------------------------------------------------------
wolfCrypt Benchmark (block bytes 1024, min 1.0 sec each)
RNG 500 KB took 1.000 seconds, 500.000 KB/s
AES-128-CBC-enc 9 MB took 1.000 seconds, 8.716 MB/s
AES-128-CBC-dec 9 MB took 1.004 seconds, 8.681 MB/s
AES-192-CBC-enc 9 MB took 1.000 seconds, 8.740 MB/s
AES-192-CBC-dec 9 MB took 1.000 seconds, 8.667 MB/s
AES-256-CBC-enc 9 MB took 1.000 seconds, 8.740 MB/s
AES-256-CBC-dec 9 MB took 1.004 seconds, 8.681 MB/s
AES-128-GCM-enc 8 MB took 1.000 seconds, 7.837 MB/s
AES-128-GCM-dec 8 MB took 1.000 seconds, 7.812 MB/s
AES-192-GCM-enc 8 MB took 1.000 seconds, 7.812 MB/s
AES-192-GCM-dec 8 MB took 1.000 seconds, 7.788 MB/s
AES-256-GCM-enc 8 MB took 1.000 seconds, 7.837 MB/s
AES-256-GCM-dec 8 MB took 1.000 seconds, 7.764 MB/s
CHACHA 4 MB took 1.000 seconds, 4.150 MB/s
CHA-POLY 3 MB took 1.004 seconds, 2.821 MB/s
POLY1305 13 MB took 1.000 seconds, 12.646 MB/s
SHA-256 7 MB took 1.000 seconds, 7.446 MB/s
HMAC-SHA256 7 MB took 1.000 seconds, 7.251 MB/s
RSA 2048 public 74 ops took 1.000 sec, avg 13.514 ms, 74.000 ops/sec
RSA 2048 private 4 ops took 1.933 sec, avg 483.250 ms, 2.069 ops/sec
DH 2048 key gen 5 ops took 1.075 sec, avg 215.000 ms, 4.651 ops/sec
DH 2048 agree 6 ops took 1.282 sec, avg 213.667 ms, 4.680 ops/sec
ECC 256 key gen 123 ops took 1.004 sec, avg 8.163 ms, 122.510 ops/sec
ECDHE 256 agree 58 ops took 1.019 sec, avg 17.569 ms, 56.919 ops/sec
ECDSA 256 sign 82 ops took 1.016 sec, avg 12.390 ms, 80.709 ops/sec
ECDSA 256 verify 38 ops took 1.015 sec, avg 26.711 ms, 37.438 ops/sec
Benchmark complete
Benchmark Test: Return code 0
STM32F437 (No HW Crypto, -Os, FastMath)
------------------------------------------------------------------------------
wolfSSL version 4.4.1
------------------------------------------------------------------------------
wolfCrypt Benchmark (block bytes 1024, min 1.0 sec each)
RNG 1 MB took 1.024 seconds, 0.978 MB/s
AES-128-CBC-enc 1 MB took 1.012 seconds, 1.303 MB/s
AES-128-CBC-dec 1 MB took 1.004 seconds, 1.264 MB/s
AES-192-CBC-enc 1 MB took 1.012 seconds, 1.110 MB/s
AES-192-CBC-dec 1 MB took 1.016 seconds, 1.081 MB/s
AES-256-CBC-enc 1000 KB took 1.011 seconds, 989.120 KB/s
AES-256-CBC-dec 975 KB took 1.008 seconds, 967.262 KB/s
AES-128-GCM-enc 75 KB took 1.024 seconds, 73.242 KB/s
AES-128-GCM-dec 75 KB took 1.024 seconds, 73.242 KB/s
AES-192-GCM-enc 75 KB took 1.043 seconds, 71.908 KB/s
AES-192-GCM-dec 75 KB took 1.047 seconds, 71.633 KB/s
AES-256-GCM-enc 75 KB took 1.059 seconds, 70.822 KB/s
AES-256-GCM-dec 75 KB took 1.058 seconds, 70.888 KB/s
CHACHA 4 MB took 1.004 seconds, 4.158 MB/s
CHA-POLY 3 MB took 1.004 seconds, 2.821 MB/s
POLY1305 13 MB took 1.000 seconds, 12.598 MB/s
SHA-256 3 MB took 1.004 seconds, 2.602 MB/s
HMAC-SHA256 3 MB took 1.000 seconds, 2.588 MB/s
RSA 2048 public 34 ops took 1.039 sec, avg 30.559 ms, 32.724 ops/sec
RSA 2048 private 2 ops took 3.635 sec, avg 1817.500 ms, 0.550 ops/sec
DH 2048 key gen 3 ops took 1.039 sec, avg 346.333 ms, 2.887 ops/sec
DH 2048 agree 2 ops took 1.416 sec, avg 708.000 ms, 1.412 ops/sec
ECC 256 key gen 3 ops took 1.248 sec, avg 416.000 ms, 2.404 ops/sec
ECDHE 256 agree 4 ops took 1.662 sec, avg 415.500 ms, 2.407 ops/sec
ECDSA 256 sign 4 ops took 1.691 sec, avg 422.750 ms, 2.365 ops/sec
ECDSA 256 verify 4 ops took 1.091 sec, avg 272.750 ms, 3.666 ops/sec
Benchmark complete
Benchmark Test: Return code 0
STM32L4A6Z
Supports RNG, AES-CBC/GCM and SHA-256 acceleration. Note: HW RNG on for all tests
Board: NUCLEO-L4A6ZG CPU: Cortex-M4 at 80 MHz IDE: STM32CubeIDE RTOS: FreeRTOS
STM32L4A6Z (STM Crypto/Hash Acceleration, -Os, SP-ASM Cortex-M)
------------------------------------------------------------------------------
wolfSSL version 4.4.1
------------------------------------------------------------------------------
wolfCrypt Benchmark (block bytes 1024, min 1.0 sec each)
RNG 250 KB took 1.083 seconds, 230.840 KB/s
AES-128-CBC-enc 4 MB took 1.000 seconds, 4.175 MB/s
AES-128-CBC-dec 3 MB took 1.000 seconds, 3.442 MB/s
AES-256-CBC-enc 3 MB took 1.000 seconds, 3.247 MB/s
AES-256-CBC-dec 3 MB took 1.008 seconds, 2.664 MB/s
AES-128-GCM-enc 4 MB took 1.000 seconds, 3.589 MB/s
AES-128-GCM-dec 4 MB took 1.004 seconds, 3.575 MB/s
AES-256-GCM-enc 3 MB took 1.004 seconds, 2.869 MB/s
AES-256-GCM-dec 3 MB took 1.000 seconds, 2.856 MB/s
CHACHA 2 MB took 1.008 seconds, 2.010 MB/s
CHA-POLY 1 MB took 1.004 seconds, 1.337 MB/s
POLY1305 6 MB took 1.000 seconds, 6.030 MB/s
SHA-256 4 MB took 1.004 seconds, 3.623 MB/s
HMAC-SHA256 4 MB took 1.000 seconds, 3.540 MB/s
RSA 2048 public 36 ops took 1.020 sec, avg 28.333 ms, 35.294 ops/sec
RSA 2048 private 2 ops took 2.031 sec, avg 1015.500 ms, 0.985 ops/sec
DH 2048 key gen 3 ops took 1.353 sec, avg 451.000 ms, 2.217 ops/sec
DH 2048 agree 4 ops took 1.804 sec, avg 451.000 ms, 2.217 ops/sec
ECC 256 key gen 33 ops took 1.011 sec, avg 30.636 ms, 32.641 ops/sec
ECDHE 256 agree 16 ops took 1.078 sec, avg 67.375 ms, 14.842 ops/sec
ECDSA 256 sign 24 ops took 1.012 sec, avg 42.167 ms, 23.715 ops/sec
ECDSA 256 verify 12 ops took 1.165 sec, avg 97.083 ms, 10.300 ops/sec
Benchmark complete
Benchmark Test: Return code 0
STM32L4A6Z (No HW Crypto, -Os, FastMath)
------------------------------------------------------------------------------
wolfSSL version 4.4.1
------------------------------------------------------------------------------
wolfCrypt Benchmark (block bytes 1024, min 1.0 sec each)
RNG 450 KB took 1.048 seconds, 429.389 KB/s
AES-128-CBC-enc 625 KB took 1.008 seconds, 620.040 KB/s
AES-128-CBC-dec 675 KB took 1.008 seconds, 669.643 KB/s
AES-192-CBC-enc 550 KB took 1.023 seconds, 537.634 KB/s
AES-192-CBC-dec 575 KB took 1.012 seconds, 568.182 KB/s
AES-256-CBC-enc 475 KB took 1.004 seconds, 473.108 KB/s
AES-256-CBC-dec 500 KB took 1.008 seconds, 496.032 KB/s
AES-128-GCM-enc 50 KB took 1.440 seconds, 34.722 KB/s
AES-128-GCM-dec 50 KB took 1.435 seconds, 34.843 KB/s
AES-192-GCM-enc 50 KB took 1.466 seconds, 34.106 KB/s
AES-192-GCM-dec 50 KB took 1.463 seconds, 34.176 KB/s
AES-256-GCM-enc 50 KB took 1.482 seconds, 33.738 KB/s
AES-256-GCM-dec 50 KB took 1.478 seconds, 33.829 KB/s
CHACHA 2 MB took 1.008 seconds, 2.010 MB/s
CHA-POLY 1 MB took 1.008 seconds, 1.332 MB/s
POLY1305 6 MB took 1.000 seconds, 6.006 MB/s
SHA-256 1 MB took 1.000 seconds, 1.123 MB/s
HMAC-SHA256 1 MB took 1.008 seconds, 1.114 MB/s
RSA 2048 public 16 ops took 1.028 sec, avg 64.250 ms, 15.564 ops/sec
RSA 2048 private 2 ops took 7.491 sec, avg 3745.500 ms, 0.267 ops/sec
DH 2048 key gen 2 ops took 1.440 sec, avg 720.000 ms, 1.389 ops/sec
DH 2048 agree 2 ops took 2.882 sec, avg 1441.000 ms, 0.694 ops/sec
ECC 256 key gen 2 ops took 1.918 sec, avg 959.000 ms, 1.043 ops/sec
ECDHE 256 agree 2 ops took 1.914 sec, avg 957.000 ms, 1.045 ops/sec
ECDSA 256 sign 2 ops took 1.941 sec, avg 970.500 ms, 1.030 ops/sec
ECDSA 256 verify 2 ops took 1.294 sec, avg 647.000 ms, 1.546 ops/sec
Benchmark complete
Benchmark Test: Return code 0
STM32L562E
Supports RNG, AES-CBC/GCM and SHA-256 acceleration. Note: HW RNG on for all tests
Board: STM32L562E-DK CPU: Cortex-M33 at 110 MHz IDE: STM32CubeIDE RTOS: FreeRTOS
STM32L562E (STM AES-CBC/Hash Acceleration, -Os, SP-ASM Cortex-M)
------------------------------------------------------------------------------
wolfSSL version 4.4.1
------------------------------------------------------------------------------
wolfCrypt Benchmark (block bytes 1024, min 1.0 sec each)
RNG 150 KB took 1.105 seconds, 135.747 KB/s
AES-128-CBC-enc 4 MB took 1.000 seconds, 4.468 MB/s
AES-128-CBC-dec 4 MB took 1.000 seconds, 4.297 MB/s
AES-256-CBC-enc 4 MB took 1.000 seconds, 3.857 MB/s
AES-256-CBC-dec 4 MB took 1.004 seconds, 3.745 MB/s
AES-128-GCM-enc 4 MB took 1.000 seconds, 3.662 MB/s
AES-128-GCM-dec 4 MB took 1.004 seconds, 3.648 MB/s
AES-256-GCM-enc 3 MB took 1.004 seconds, 3.258 MB/s
AES-256-GCM-dec 3 MB took 1.000 seconds, 3.247 MB/s
CHACHA 1 MB took 1.008 seconds, 1.138 MB/s
CHA-POLY 825 KB took 1.023 seconds, 806.452 KB/s
POLY1305 4 MB took 1.000 seconds, 3.711 MB/s
SHA-256 2 MB took 1.000 seconds, 1.855 MB/s
HMAC-SHA256 2 MB took 1.008 seconds, 1.817 MB/s
RSA 2048 public 20 ops took 1.106 sec, avg 55.300 ms, 18.083 ops/sec
RSA 2048 private 2 ops took 3.804 sec, avg 1902.000 ms, 0.526 ops/sec
DH 2048 key gen 2 ops took 1.772 sec, avg 886.000 ms, 1.129 ops/sec
DH 2048 agree 2 ops took 1.773 sec, avg 886.500 ms, 1.128 ops/sec
ECC 256 key gen 36 ops took 1.011 sec, avg 28.083 ms, 35.608 ops/sec
ECDHE 256 agree 18 ops took 1.086 sec, avg 60.333 ms, 16.575 ops/sec
ECDSA 256 sign 22 ops took 1.004 sec, avg 45.636 ms, 21.912 ops/sec
ECDSA 256 verify 12 ops took 1.133 sec, avg 94.417 ms, 10.591 ops/sec
Benchmark complete
Benchmark Test: Return code 0
STM32L562E (STM PKA ECC/AES-CBC/Hash Acceleration, -Os, SP-ASM Cortex-M)
------------------------------------------------------------------------------
wolfSSL version 4.4.1
------------------------------------------------------------------------------
wolfCrypt Benchmark (block bytes 1024, min 1.0 sec each)
RNG 150 KB took 1.105 seconds, 135.747 KB/s
AES-128-CBC-enc 4 MB took 1.000 seconds, 4.468 MB/s
AES-128-CBC-dec 4 MB took 1.000 seconds, 4.297 MB/s
AES-256-CBC-enc 4 MB took 1.000 seconds, 3.857 MB/s
AES-256-CBC-dec 4 MB took 1.004 seconds, 3.745 MB/s
AES-128-GCM-enc 4 MB took 1.000 seconds, 3.662 MB/s
AES-128-GCM-dec 4 MB took 1.004 seconds, 3.648 MB/s
AES-256-GCM-enc 3 MB took 1.004 seconds, 3.258 MB/s
AES-256-GCM-dec 3 MB took 1.000 seconds, 3.247 MB/s
CHACHA 1 MB took 1.008 seconds, 1.138 MB/s
CHA-POLY 825 KB took 1.023 seconds, 806.452 KB/s
POLY1305 4 MB took 1.000 seconds, 3.711 MB/s
SHA-256 2 MB took 1.000 seconds, 1.855 MB/s
HMAC-SHA256 2 MB took 1.008 seconds, 1.817 MB/s
RSA 2048 public 20 ops took 1.106 sec, avg 55.300 ms, 18.083 ops/sec
RSA 2048 private 2 ops took 3.804 sec, avg 1902.000 ms, 0.526 ops/sec
DH 2048 key gen 2 ops took 1.772 sec, avg 886.000 ms, 1.129 ops/sec
DH 2048 agree 2 ops took 1.773 sec, avg 886.500 ms, 1.128 ops/sec
ECC 256 key gen 11 ops took 1.067 sec, avg 97.000 ms, 10.309 ops/sec
ECDHE 256 agree 12 ops took 1.130 sec, avg 94.167 ms, 10.619 ops/sec
ECDSA 256 sign 22 ops took 1.071 sec, avg 48.682 ms, 20.542 ops/sec
ECDSA 256 verify 12 ops took 1.125 sec, avg 93.750 ms, 10.667 ops/sec
Benchmark complete
Benchmark Test: Return code 0
STM32L562E (No HW Crypto, -Os, FastMath)
------------------------------------------------------------------------------
wolfSSL version 4.4.1
------------------------------------------------------------------------------
wolfCrypt Benchmark (block bytes 1024, min 1.0 sec each)
RNG 75 KB took 1.274 seconds, 58.870 KB/s
AES-128-CBC-enc 475 KB took 1.036 seconds, 458.494 KB/s
AES-128-CBC-dec 450 KB took 1.007 seconds, 446.872 KB/s
AES-192-CBC-enc 400 KB took 1.024 seconds, 390.625 KB/s
AES-192-CBC-dec 400 KB took 1.047 seconds, 382.044 KB/s
AES-256-CBC-enc 350 KB took 1.023 seconds, 342.131 KB/s
AES-256-CBC-dec 350 KB took 1.051 seconds, 333.016 KB/s
AES-128-GCM-enc 25 KB took 1.310 seconds, 19.084 KB/s
AES-128-GCM-dec 25 KB took 1.306 seconds, 19.142 KB/s
AES-192-GCM-enc 25 KB took 1.330 seconds, 18.797 KB/s
AES-192-GCM-dec 25 KB took 1.329 seconds, 18.811 KB/s
AES-256-GCM-enc 25 KB took 1.341 seconds, 18.643 KB/s
AES-256-GCM-dec 25 KB took 1.345 seconds, 18.587 KB/s
CHACHA 1 MB took 1.012 seconds, 1.230 MB/s
CHA-POLY 850 KB took 1.000 seconds, 850.000 KB/s
POLY1305 4 MB took 1.004 seconds, 3.672 MB/s
SHA-256 750 KB took 1.020 seconds, 735.294 KB/s
HMAC-SHA256 750 KB took 1.031 seconds, 727.449 KB/s
RSA 2048 public 10 ops took 1.086 sec, avg 108.600 ms, 9.208 ops/sec
RSA 2048 private 2 ops took 12.894 sec, avg 6447.000 ms, 0.155 ops/sec
DH 2048 key gen 1 ops took 1.200 sec, avg 1200.000 ms, 0.833 ops/sec
DH 2048 agree 2 ops took 4.867 sec, avg 2433.500 ms, 0.411 ops/sec
ECC 256 key gen 1 ops took 1.514 sec, avg 1514.000 ms, 0.661 ops/sec
ECDHE 256 agree 2 ops took 3.028 sec, avg 1514.000 ms, 0.661 ops/sec
ECDSA 256 sign 2 ops took 3.066 sec, avg 1533.000 ms, 0.652 ops/sec
ECDSA 256 verify 2 ops took 1.973 sec, avg 986.500 ms, 1.014 ops/sec
Benchmark complete
Benchmark Test: Return code 0
STM32F777
Supports RNG, AES-CBC/GCM and SHA-256 acceleration. Note: HW RNG on for all tests
Board: Custom STM32F777 CPU: Cortex-M7 at 216 MHz IDE: STM32CubeIDE RTOS: FreeRTOS
STM32F777 (STM AES-CBC/Hash Acceleration, -Os, SP-ASM Cortex-M)
------------------------------------------------------------------------------
wolfSSL version 4.4.1
------------------------------------------------------------------------------
wolfCrypt Benchmark (block bytes 1024, min 1.0 sec each)
RNG 525 KB took 1.012 seconds, 518.775 KB/s
AES-128-CBC-enc 8 MB took 1.000 seconds, 8.350 MB/s
AES-128-CBC-dec 8 MB took 1.000 seconds, 8.203 MB/s
AES-192-CBC-enc 8 MB took 1.000 seconds, 8.325 MB/s
AES-192-CBC-dec 8 MB took 1.000 seconds, 8.179 MB/s
AES-256-CBC-enc 8 MB took 1.000 seconds, 8.325 MB/s
AES-256-CBC-dec 8 MB took 1.000 seconds, 8.154 MB/s
AES-128-GCM-enc 6 MB took 1.000 seconds, 6.494 MB/s
AES-128-GCM-dec 6 MB took 1.000 seconds, 6.494 MB/s
AES-192-GCM-enc 6 MB took 1.000 seconds, 6.470 MB/s
AES-192-GCM-dec 6 MB took 1.000 seconds, 6.494 MB/s
AES-256-GCM-enc 6 MB took 1.000 seconds, 6.494 MB/s
AES-256-GCM-dec 6 MB took 1.000 seconds, 6.494 MB/s
CHACHA 4 MB took 1.004 seconds, 4.182 MB/s
CHA-POLY 3 MB took 1.004 seconds, 2.505 MB/s
POLY1305 9 MB took 1.000 seconds, 9.204 MB/s
SHA-256 3 MB took 1.000 seconds, 3.467 MB/s
HMAC-SHA256 3 MB took 1.004 seconds, 3.404 MB/s
RSA 2048 public 54 ops took 1.028 sec, avg 19.037 ms, 52.529 ops/sec
RSA 2048 private 2 ops took 1.262 sec, avg 631.000 ms, 1.585 ops/sec
DH 2048 key gen 4 ops took 1.220 sec, avg 305.000 ms, 3.279 ops/sec
DH 2048 agree 4 ops took 1.215 sec, avg 303.750 ms, 3.292 ops/sec
ECC 256 key gen 130 ops took 1.000 sec, avg 7.692 ms, 130.000 ops/sec
ECDHE 256 agree 60 ops took 1.003 sec, avg 16.717 ms, 59.821 ops/sec
ECDSA 256 sign 70 ops took 1.024 sec, avg 14.629 ms, 68.359 ops/sec
ECDSA 256 verify 36 ops took 1.015 sec, avg 28.194 ms, 35.468 ops/sec
Benchmark complete
Benchmark Test: Return code 0
STM32F777 (No HW Crypto, -Os, FastMath)
------------------------------------------------------------------------------
wolfSSL version 4.4.1
------------------------------------------------------------------------------
wolfCrypt Benchmark (block bytes 1024, min 1.0 sec each)
RNG 700 KB took 1.016 seconds, 688.976 KB/s
AES-128-CBC-enc 1 MB took 1.019 seconds, 1.006 MB/s
AES-128-CBC-dec 950 KB took 1.000 seconds, 950.000 KB/s
AES-192-CBC-enc 900 KB took 1.016 seconds, 885.827 KB/s
AES-192-CBC-dec 825 KB took 1.011 seconds, 816.024 KB/s
AES-256-CBC-enc 800 KB took 1.028 seconds, 778.210 KB/s
AES-256-CBC-dec 725 KB took 1.008 seconds, 719.246 KB/s
AES-128-GCM-enc 50 KB took 1.223 seconds, 40.883 KB/s
AES-128-GCM-dec 50 KB took 1.220 seconds, 40.984 KB/s
AES-192-GCM-enc 50 KB took 1.251 seconds, 39.968 KB/s
AES-192-GCM-dec 50 KB took 1.247 seconds, 40.096 KB/s
AES-256-GCM-enc 50 KB took 1.267 seconds, 39.463 KB/s
AES-256-GCM-dec 50 KB took 1.263 seconds, 39.588 KB/s
CHACHA 4 MB took 1.000 seconds, 4.175 MB/s
CHA-POLY 2 MB took 1.000 seconds, 2.417 MB/s
POLY1305 10 MB took 1.000 seconds, 10.132 MB/s
SHA-256 2 MB took 1.000 seconds, 1.782 MB/s
HMAC-SHA256 2 MB took 1.004 seconds, 1.775 MB/s
RSA 2048 public 22 ops took 1.067 sec, avg 48.500 ms, 20.619 ops/sec
RSA 2048 private 2 ops took 5.549 sec, avg 2774.500 ms, 0.360 ops/sec
DH 2048 key gen 3 ops took 1.483 sec, avg 494.333 ms, 2.023 ops/sec
DH 2048 agree 2 ops took 1.866 sec, avg 933.000 ms, 1.072 ops/sec
ECC 256 key gen 1 ops took 1.090 sec, avg 1090.000 ms, 0.917 ops/sec
ECDHE 256 agree 2 ops took 2.180 sec, avg 1090.000 ms, 0.917 ops/sec
ECDSA 256 sign 2 ops took 2.208 sec, avg 1104.000 ms, 0.906 ops/sec
ECDSA 256 verify 2 ops took 1.463 sec, avg 731.500 ms, 1.367 ops/sec
Benchmark complete
Benchmark Test: Return code 0