eembc / securemark-tls Goto Github PK
View Code? Open in Web Editor NEWThe official repository for EEMBC's SecureMark™-TLS cryptography benchmark.
License: Other
The official repository for EEMBC's SecureMark™-TLS cryptography benchmark.
License: Other
mbedTLS is moving to 3.x. The original version of SecureMark had a reference port for 2.24. Update this to the final 2.x mbedTLS.
The current definition of the th_ecdh
DUT API opens up for doing the time-intensive calculation at init time instead of the function that's being called during profiling. Is that intended?
I'd suggest supplying the public key to derive against in the calc_secret
function instead of during init to enforce actually doing the operation on each iteration.
The th_
functions often pass down parameters that don't change, and are specific to the context. They should be removed from the parameter list and left up to the dev to store in a local context. For example th_sha_*
functions send the same enum indicating the SHA size to every function call. Same goes for ECC group, and RSA id.
securemark-tls/profile/th_api/th_aes.c
Line 38 in 52b3cd8
Isn't the amount of rounds dictated by the key length (supplied in a different parameter?). I have yet to see an accelerator which allows specifying a custom amount of rounds, since the amount of rounds for a given keysize is actually specified by the spec.
In version 1.0.x, after the timing loop in ee_aes128_ecb, the code does not call de-init. This does not impact mbedtls but it does impact PSA.
A workaround branch will be created for 1.0.x.
securemark-tls/profile/th_api/th_aes.c
Line 35 in 8370042
aes cmac not support?
In the self-hosted example, main.c
defines a wrapper for each primitive which is nearly identical to the firmware bench_*
primitives found in profile/ee_bench.c
. It appears the only thing missing is a return CRC from the bench_
code, and a subtle manipulation of the timestamp logic.
This would significantly reduce the size of main.c
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.