Hello,
The source code is distributed under "EEMBC Benchmark License Agreements"
EEMBC Benchmark License Agreements are contracts that allow qualified college and university faculty members and their research teams to use the EEMBC benchmarks for processor/compiler and system research under an academically-oriented fee structure(eembc.org). EEMBC stands for Embedded Microprocessor Benchmark Consortium, a nonprofit organization that develops industry-standard benchmarks for the hardware and software used in various applications(eembc.org). EEMBC Benchmark License Agreements require the licensees to maintain the confidentiality and applicability of the EEMBC code and to provide feedback and contributions to the consortium(eembc.org)(github.com).
It is not clear if we may port and distribute this benchmark project independently to everybody as part of our SDK. Any clarification?
Thank you,
Andrej Butok
From: Stephan Koch via mbed-tls mbed-tls@lists.trustedfirmware.org Sent: Tuesday, May 16, 2023 5:46 PM To: Ruchika Gupta ruchika.gupta_1@nxp.com; psa-crypto@lists.trustedfirmware.org; mbed-tls@lists.trustedfirmware.org Subject: [mbed-tls] Re: [psa-crypto] Benchmark application for PSA crypto API's
Hi Ruchika,
as an addition to the previous answers, there is also the SecureMark-TLS benchmark from EEMBC that "Analyzes the costs associated with implementing TLS on an edge device using a common IoT cyphersuite comprised of ECC & ECDSA on the NIST secp256r1 curve, SHA256, and AES128-CCM/ECB", see: https://www.eembc.org/securemark/ https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.eembc .org%2Fsecuremark%2F&data=05%7C01%7Candrey.butok%40nxp.com%7C8555015851cb4c6 9178208db5624b42d%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C6381984878626 91396%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik 1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=e%2B25vB1CBB5PCVnUaeeH4vH5IJ73zyy 8TyKv%2B9Joxck%3D&reserved=0
It provides profiles to run benchmarks against Mbed TLS API, PSA Crypto API, and wolfSSL, see sources here: https://github.com/eembc/securemark-tls/tree/main/examples/selfhosted/profil e https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.co m%2Feembc%2Fsecuremark-tls%2Ftree%2Fmain%2Fexamples%2Fselfhosted%2Fprofile&d ata=05%7C01%7Candrey.butok%40nxp.com%7C8555015851cb4c69178208db5624b42d%7C68 6ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C638198487862691396%7CUnknown%7CTWFp bGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7 C3000%7C%7C%7C&sdata=dn%2FQk7M6D4wpqbtSSr8KHC%2FFWereDbRBvKV9bkdKR1Q%3D&rese rved=0
The chosen cipher-suite is similar to the TF-M medium profile and it allows estimates of speed and power consumption for TLS on microcontrollers. It also allows to add - manually - footprint data.
Best
Stephan
From: Ruchika Gupta via psa-crypto <psa-crypto@lists.trustedfirmware.org mailto:psa-crypto@lists.trustedfirmware.org > Reply to: Ruchika Gupta <ruchika.gupta_1@nxp.com mailto:ruchika.gupta_1@nxp.com > Date: Tuesday, 16 May 2023 at 13:40 To: "mbed-tls@lists.trustedfirmware.org mailto:mbed-tls@lists.trustedfirmware.org " <mbed-tls@lists.trustedfirmware.org mailto:mbed-tls@lists.trustedfirmware.org >, "psa-crypto@lists.trustedfirmware.org mailto:psa-crypto@lists.trustedfirmware.org " <psa-crypto@lists.trustedfirmware.org mailto:psa-crypto@lists.trustedfirmware.org > Subject: [psa-crypto] Benchmark application for PSA crypto API's
Hi,
For mbedtls API's, there is a benchmark application available. Are there any plans to implement benchmark application for PSA crypto APIs ?
Regards,
Ruchika