-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move part of timing module out of the library and to test #4083
Comments
Moving this would probably involve splitting it, moving one bit to the SSL library (perhaps a new sub-module there), and for most of the rest, creating a new "Unix / Windows" platform layer, which would have to be designed and would probably require discussion before we even agree on what its goal should be. I think this would require more design work that we can afford for 3.0, and since we agreed to limit 3.0 to simple changes, I'm inclined to post-pone that one to 4.0 and just keep the timing module as it is for 3.0. |
As I wrote on the mailing list, I think that the fate of functions that the library needs (for DTLS) and functions that only test/sample programs need should be distinct considerations. For the functions that library needs, it wouldn't be much work to move them to I still think that we should move the benchmark-only functions to |
I have no objections to doing what you suggest in 3.0 if it we can agree on a design quickly enough (in particular, which functions should go where, and associated options to replace |
In this comment on |
Team decision: keep what's needed for DTLS, move the rest (benchmarking etc) out of the library. Exact list TBD. |
|
@gilles-peskine-arm , seems that the |
Yes, if something is only used in the benchmark program and not useful for DTLS, please move it to the benchmark program. If a function is no longer in the library then corresponding test code (in a test suite or in a self-test function) needs to be removed as well. |
Investigate options for removing the timing module.
Discussion on the list suggests that there are good arguments for moving at least parts of this out of the main library (although DTLS has uses for some of this, so we might want to keep some functionality in libmbedtls), but we still want the functionality in the example programs.
Mailing list discussion: https://lists.trustedfirmware.org/pipermail/mbed-tls/2020-April/000051.html
This is part of #4030
The text was updated successfully, but these errors were encountered: