SPRAD45B July 2022 – December 2024 AM623 , AM625
The AM62x Linux SDK includes an openssl cryptographic library that can used by applications. The library is also used by some HTTPS, ssh, and netconf implementations to get access to optimized implementation of cryptographic functions. For the highest performance, the higher-level interface provided by the EVP library needs to be used. A set of selected benchmarks of software observed performance run on AM62x is shown in Table 2-4. Command run was openssl speed -elapsed -evp <cryptographic mode> -multi 4. This is utilizing all four A53 cores using four threads.
Frame Size (bytes) | ||||||
---|---|---|---|---|---|---|
16 | 64 | 256 | 1024 | 8192 | 16384 | |
aes-128-gcm | 2080 | 5944 | 11300 | 14772 | 16084 | 16128 |
aes-256-gcm | 1956 | 5453 | 9966 | 12684 | 13668 | 13720 |
aes-128-ctr | 215 | 481 | 1815 | 6181 | 21258 | 25584 |
sha256 | 14 | 58 | 227 | 868 | 5144 | 8193 |
sha512 | 14 | 57 | 203 | 655 | 1717 | 1932 |
chacha20-poly1305 | 1196 | 2550 | 5101 | 5824 | 6154 | 6173 |
Further quad A53 core benchmarks for public key cryptography are shown in Table 2-5. Tests can be run with command openssl speed -elapsed <algorithm> -multi 4 .
RSA | size | 512 | 1024 | 2048 | 3072 | 4096 |
sign/second | 13469 | 2892 | 443 | 146 | 65 | |
verify/second | 166015 | 57372 | 16521 | 7646 | 4382 | |
ECDSA | curve | nistp224 | nistp256 | nistp521 | nistk233 | nistb233 |
sign/second | 927 | 4075 | 185 | 706 | 690 | |
verify/second | 1468 | 6735 | 260 | 378 | 370 |