ARMmbed / ARMmbed/mbed-os-example-tls

Benchmark readme file shows output of subset algorithms than actually tested

Open
#249 14 comments 0 reactions 0 assignees View on GitHub
Found in OOB IOTOSM-3111 Jira status: OPEN mirrored
Dominant language
C
Stars
31
Forks
49
PR merge metrics
No merged PRs in 30d

Description

The benchmark applications shows only subset of the algorithms, while the actual application tests all of the algorithms:
~~~
MD4 : 12039 KB/s
MD5 : 6889 KB/s
RIPEMD160 : 3787 KB/s
SHA-1 : 3744 KB/s
SHA-256 : 2066 KB/s
SHA-512 : 626 KB/s
ARC4 : 4323 KB/s
3DES : 161 KB/s
DES : 436 KB/s
3DES-CMAC : 153 KB/s
AES-CBC-128 : 824 KB/s
AES-CBC-192 : 701 KB/s
AES-CBC-256 : 611 KB/s
AES-CTR-128 : 825 KB/s
AES-CTR-192 : 702 KB/s
AES-CTR-256 : 610 KB/s
AES-GCM-128 : 360 KB/s
AES-GCM-192 : 335 KB/s
AES-GCM-256 : 312 KB/s
AES-CCM-128 : 363 KB/s
AES-CCM-192 : 314 KB/s
AES-CCM-256 : 277 KB/s
AES-CMAC-128 : 724 KB/s
AES-CMAC-192 : 627 KB/s
AES-CMAC-256 : 552 KB/s
AES-CMAC-PRF-128 : 723 KB/s
CAMELLIA-CBC-128 : 610 KB/s
CAMELLIA-CBC-192 : 469 KB/s
CAMELLIA-CBC-256 : 469 KB/s
BLOWFISH-CBC-128 : 1406 KB/s
BLOWFISH-CBC-192 : 1406 KB/s
BLOWFISH-CBC-256 : 1406 KB/s
CTR_DRBG (NOPR) : 593 KB/s
CTR_DRBG (PR) : 440 KB/s
HMAC_DRBG SHA-1 (NOPR) : 255 KB/s
HMAC_DRBG SHA-1 (PR) : 236 KB/s
HMAC_DRBG SHA-256 (NOPR) : 207 KB/s
HMAC_DRBG SHA-256 (PR) : 207 KB/s
RSA-2048 : 25 ms/ public
RSA-2048 : 973 ms/private
ECDSA-secp384r1 : 522 ms/sign
ECDSA-secp256r1 : 355 ms/sign
ECDSA-secp384r1 : 1004 ms/verify
ECDSA-secp256r1 : 688 ms/verify
ECDHE-secp384r1 : 958 ms/handshake
ECDHE-secp256r1 : 664 ms/handshake
ECDH-secp384r1 : 473 ms/handshake
ECDH-secp256r1 : 329 ms/handshake
ECDHE-Curve25519 : 564 ms/handshake
ECDH-Curve25519 : 290 ms/handshake
DONE
~~~

Contributor guide

Open the contributing guide

Research direction

Inspect the benchmark README and run the benchmark application to compare its documented output with the algorithms actually tested. Update the README's output listing so it represents the complete benchmark results, then rerun the benchmark to verify the documentation matches.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.