-
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 #4640
Move part of timing module out of the library #4640
Conversation
f6a917f
to
d2591c9
Compare
Signed-off-by: TRodziewicz <tomasz.rodziewicz@mobica.com>
Signed-off-by: TRodziewicz <tomasz.rodziewicz@mobica.com>
Signed-off-by: TRodziewicz <tomasz.rodziewicz@mobica.com>
Signed-off-by: TRodziewicz <tomasz.rodziewicz@mobica.com>
Signed-off-by: TRodziewicz <tomasz.rodziewicz@mobica.com>
d2591c9
to
9c90226
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me apart from some documentation issues.
docs/3.0-migration-guide.d/move_part_of_timing_module_out_of_the_library.md
Outdated
Show resolved
Hide resolved
docs/3.0-migration-guide.d/move_part_of_timing_module_out_of_the_library.md
Outdated
Show resolved
Hide resolved
Signed-off-by: TRodziewicz <tomasz.rodziewicz@mobica.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, optional very minor comment
library/timing.c
Outdated
#else /* _WIN32 && !EFIX64 && !EFI32 */ | ||
|
||
/** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possibly nicer to move the comment block and the first line of the function (i.e. the line "unsigned long mbedtls_timing_get_timer...") up outside of the #if defined ... blocks, so that it is clearly describing both implementations rather than just the non-WIndows case. This is very minor though.
Out of curiosity I was having a look at what remains in |
Signed-off-by: TRodziewicz <tomasz.rodziewicz@mobica.com>
963bb81
Signed-off-by: TRodziewicz tomasz.rodziewicz@mobica.com
Description
mbedtls_timing_hardclock()
: move tobenchmark.c
.mbedtls_hardclock_poll()
: remove.mbedtls_timing_get_timer()
: add warning “may change without notice”mbedtls_set_alarm()
: move tobenchmark.c
.mbedtls_timing_self_test()
: remove.Fixes #4083
Status
IN DEVELOPMENT
Requires Backporting
NO
Migrations
NO
Todos