-
Notifications
You must be signed in to change notification settings - Fork 84
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
Porting combined errors from mbedtls changes #372
Conversation
Benchmark for 1755351Click to view benchmark
|
From CI, it seems |
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.
I saw some unaligned spaces. And Rustfmt CI is failed. Please run
cargo fmt -p mbedtls
cargo fmt -p mbedtls-platform-support
cargo fmt -p mbedtls-sys-auto
to ensure everything is formated
Benchmark for caeb784Click to view benchmark
|
Benchmark for a24ebf5Click to view benchmark
|
Benchmark for 92f7c2eClick to view benchmark
|
Benchmark for 744d058Click to view benchmark
|
Benchmark for c98f301Click to view benchmark
|
Benchmark for 0171e72Click to view benchmark
|
Benchmark for ac5f25fClick to view benchmark
|
Benchmark for 051834eClick to view benchmark
|
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,
@@ -27,7 +27,7 @@ mod wrapper_macros; | |||
// API | |||
// ============== | |||
pub mod bignum; | |||
mod error; | |||
pub mod error; |
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.
I'm not in favor of this module export, but also part of the original PR
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.
Thanks for the PR
Benchmark for 16f6773Click to view benchmark
|
Due to downgrade back to v2.28 (from ~3.X), the enhancement in PR #271 was lost in the mbedtls 2.8 branch being used.
we need to port these combined errors from mbedtls changes back to the mbedtls 2.8 branch and build with the latest upgrade in rust toolchain version to apply the enhancement.
This PR ports said changes to a latest branch forked from mbedtls master and builds the same on latest rustc 1.83.0-nightly (26d8e9255 2024-10-11) version.
https://fortanix.atlassian.net/browse/PROD-9297