Crypto Benchmark on MSP432 E4 MCU
ARM Cortex-M4F @ 120 MHz
This benchmark conducted on MSP432E401Y LaunchPad™ development kit for Ethernet SimpleLink™ (MSP-EXP432E401Y) will help you in qualifying performance of CycloneCRYPTO (Cryptography library), CycloneSSL (TLS 1.3 & DTLS 1.2 library), CycloneSSH (SSH library with SCP & SFTP protocols), CycloneIPSEC (IPsec/IKEv2 library) and CycloneTCP (TCP/IPv4/IPv6 stack with secure protocols like HTTPS, FTPS, MQTTS, Secure WebSocket, Secure CoAP, Secure Modbus/TCP, SNMPv3...) running on Texas Instruments MSP432 E4 microcontroller.
MSP432 E4 MCU also includes crypto hardware acceleration. In the following comparison charts, both hardware and software performance are presented in the relevant sections.
Cipher Algorithms
MSP432E4 @ 120 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using ARMCC with optimization level 3
Algorithm | Encryption (Software) |
Decryption (Software) |
Encryption (Hardware) |
Decryption (Hardware) |
---|---|---|---|---|
3DES-CBC | 0.16 MB/s | 0.16 MB/s | 10.277 MB/s | 10.288 MB/s |
3DES-CTR | 0.162 MB/s | 0.162 MB/s | 1.845 MB/s | 1.845 MB/s |
AES128-CBC | 0.735 MB/s | 0.739 MB/s | 13.037 MB/s | 13.02 MB/s |
AES192-CBC | 0.634 MB/s | 0.643 MB/s | 12.5 MB/s | 12.453 MB/s |
AES256-CBC | 0.558 MB/s | 0.569 MB/s | 12.004 MB/s | 11.947 MB/s |
AES128-CTR | 0.755 MB/s | 0.755 MB/s | 12.804 MB/s | 12.771 MB/s |
AES192-CTR | 0.649 MB/s | 0.649 MB/s | 12.254 MB/s | 12.224 MB/s |
AES256-CTR | 0.569 MB/s | 0.569 MB/s | 11.792 MB/s | 11.764 MB/s |
SM4-CBC | 0.835 MB/s | 0.781 MB/s | - | - |
SM4-CTR | 0.86 MB/s | 0.859 MB/s | - | - |
AEAD Algorithms
MSP432E4 @ 120 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using ARMCC with optimization level 3
Algorithm | Encryption (Software) |
Decryption (Software) |
Encryption (Hardware) |
Decryption (Hardware) |
---|---|---|---|---|
AES128-GCM | 0.472 MB/s | 0.471 MB/s | 12.437 MB/s | 12.453 MB/s |
AES192-GCM | 0.427 MB/s | 0.427 MB/s | 11.933 MB/s | 11.947 MB/s |
AES256-GCM | 0.391 MB/s | 0.39 MB/s | 11.481 MB/s | 11.494 MB/s |
AES128-CCM | 0.392 MB/s | 0.392 MB/s | - | - |
AES192-CCM | 0.333 MB/s | 0.334 MB/s | - | - |
AES256-CCM | 0.29 MB/s | 0.29 MB/s | - | - |
SM4-GCM | 0.511 MB/s | 0.511 MB/s | - | - |
SM4-CCM | 0.451 MB/s | 0.452 MB/s | - | - |
Ascon-AEAD128 | 1.295 MB/s | 1.307 MB/s | - | - |
ChaCha20Poly1305 | 1.072 MB/s | 1.071 MB/s | - | - |
Hash Algorithms
MSP432E4 @ 120 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using ARMCC with optimization level 3
Algorithm | Speed (Software) |
Speed (Hardware) |
---|---|---|
MD5 | 4.604 MB/s | 38.314 MB/s |
SHA-1 | 1.065 MB/s | 38.167 MB/s |
SHA-224 | 1.081 MB/s | 37.878 MB/s |
SHA-256 | 1.081 MB/s | 37.878 MB/s |
SHA-384 | 0.694 MB/s | - |
SHA-512 | 0.694 MB/s | - |
SHA3-224 | 0.539 MB/s | - |
SHA3-256 | 0.51 MB/s | - |
SHA3-384 | 0.393 MB/s | - |
SHA3-512 | 0.274 MB/s | - |
SM3 | 0.967 MB/s | - |
Ascon-Hash256 | 0.488 MB/s | - |
Signature Algorithms
MSP432E4 @ 120 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using ARMCC with optimization level 3
Algorithm | Generation (Software) |
Verification (Software) |
---|---|---|
RSA (1024 bits) | 170.3 ms | 29.7 ms |
RSA (2048 bits) | 852.9 ms | 104.7 ms |
DSA (1024 bits) | 95.8 ms | 197 ms |
DSA (2048 bits) | 420.5 ms | 882.9 ms |
EC Signature Algorithms
MSP432E4 @ 120 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using ARMCC with optimization level 3
Algorithm | Generation (Software) |
Verification (Software) |
---|---|---|
ECDSA (secp256r1) | 108.9 ms | 98.5 ms |
ECDSA (secp384r1) | 261.5 ms | 237.5 ms |
ECDSA (secp521r1) | 541.7 ms | 478.2 ms |
ECDSA (brainpoolP256r1) | 218.8 ms | 219.7 ms |
ECDSA (brainpoolP384r1) | 576.2 ms | 578.7 ms |
ECDSA (brainpoolP512r1) | 1199.2 ms | 1224.9 ms |
SM2 | 95.9 ms | 95.9 ms |
EdDSA (Ed25519) | 25.4 ms | 22.1 ms |
EdDSA (Ed448) | 135.1 ms | 112.3 ms |
Key Exchange Algorithms
MSP432E4 @ 120 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using ARMCC with optimization level 3
Algorithm | Public Key Generation (Software) |
Shared Secret Computation (Software) |
---|---|---|
Diffie-Hellman (1024 bits) | 329.9 ms | 330 ms |
Diffie-Hellman (2048 bits) | 2212.6 ms | 2212.7 ms |
EC Key Exchange Algorithms
MSP432E4 @ 120 MHz
- • Benchmark generated with CycloneCRYPTO 2.5.0
- • Compiled using ARMCC with optimization level 3
Algorithm | Public Key Generation (Software) |
Shared Secret Computation (Software) |
---|---|---|
ECDH (secp256r1) | 95.6 ms | 95.3 ms |
ECDH (secp384r1) | 226.7 ms | 226.3 ms |
ECDH (secp521r1) | 463.4 ms | 462.9 ms |
ECDH (brainpoolP256r1) | 203.6 ms | 203.4 ms |
ECDH (brainpoolP384r1) | 535.1 ms | 534.7 ms |
ECDH (brainpoolP512r1) | 1113 ms | 1112.3 ms |
ECDH (SM2) | 96 ms | 95.7 ms |
ECDH (X25519) | 13.3 ms | 13.2 ms |
ECDH (X448) | 61.8 ms | 61.7 ms |