SPRACV1B February 2022 – January 2024 AM2434 , AM6411 , AM6412 , AM6421 , AM6441 , AM6442
The AM64x Linux SDK includes openssl cryptographic library that can used by applications and is used by for example 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 should be used. Table 3-2 shows a set of selected benchmarks of software observed performance run on AM64x. Command run was openssl speed -elapsed -evp <cryptographic mode> -multi 2. This is utilizing both A53 cores using two threads.
Frame Size (bytes) | ||||||
---|---|---|---|---|---|---|
16 | 64 | 256 | 1024 | 8192 | 16384 | |
aes-128-gcm | 855 | 2438 | 4671 | 6004 | 6656 | 6637 |
aes-256-gcm | 811 | 2256 | 4057 | 5241 | 5624 | 5658 |
aes-128-ctr | 87 | 190 | 725 | 2446 | 7513 | 8836 |
sha256 | 559 | 1672 | 3865 | 5812 | 6860 | 6866 |
sha512 | 153 | 614 | 976 | 1390 | 1584 | 1617 |
chacha20-poly1305 | 494 | 1067 | 2091 | 2380 | 2541 | 2540 |
Further benchmarks for public key cryptography are shown in Table 3-3. Test can be run with command openssl speed -elapsed <algorithm> -multi 2 .
RSA | size | 512 | 1024 | 2048 | 3072 | 4096 |
sign/second | 5254 | 1174 | 181 | 59 | 21 | |
verify/second | 67996 | 23579 | 6777 | 3138 | 1523 | |
ECDSA | curve | nistp224 | nistp256 | nistp521 | nistk233 | nistb233 |
sign/second | 310 | 1074 | 71 | 241 | 237 | |
verify/second | 501 | 2717 | 103 | 130 | 128 |