-
Notifications
You must be signed in to change notification settings - Fork 67
Remove MBEDTLS_SHA3_C config option
#266
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
Remove MBEDTLS_SHA3_C config option
#266
Conversation
11a3634 to
c87dffd
Compare
c87dffd to
2351aea
Compare
felixc-arm
left a comment
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 👍
|
@bjwtaylor Requesting a review from you since you're already reviewing the companion Mbed TLS PR. |
|
@gabor-mezei-arm check-names seems unhappy |
|
The deleted macro occurrence is located in the |
|
Merging a crypto PR that breaks the CI can be done, but it's a major hassle. Since the failure here is just in |
100% agreed, let's try avoiding that.
IMO when we're removing something on the crypto side, the logical order is to remove users on the mbedtls side, then on the crypto side. From a quick look, it seems to me this should be doable here: first merge Mbed-TLS/mbedtls#10145 (without the submodule update), then merge this one, and be done with it. I think this is a bit faster than what you were suggesting - which IIUC was (1) this PR with a dummy define, (2) 10145, (3) removing the dummy define, so 3 PRs total. |
mpg
left a comment
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.
Looking pretty good to me, except for one change I don't understand. I'm sure you had a reason for doing it, but it's not apparent to me, and also the change doesn't look logical to me. So I'm holding my approval until this is clarified (and quite possibly if the change is correct and I'm just missing why, I'll request a comment explaining it, so we don't stumble again on it later).
6f158c6 to
92d25c2
Compare
mpg
left a comment
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, thanks - just need to fix the code style to make the CI fully happy.
Signed-off-by: Gabor Mezei <[email protected]>
Signed-off-by: Gabor Mezei <[email protected]>
Signed-off-by: Gabor Mezei <[email protected]>
Signed-off-by: Gabor Mezei <[email protected]>
Signed-off-by: Gabor Mezei <[email protected]>
`MBEDTLS_PSA_BUILTIN_ALG_SHA3_*` is the correct replacement for the `MEBDTLS_SHA3_C` in SHA3 driver related tests. Signed-off-by: Gabor Mezei <[email protected]>
Signed-off-by: Gabor Mezei <[email protected]>
Signed-off-by: Gabor Mezei <[email protected]>
To manage the merge of the crypto repo changes let the mbedtls repo to use the legacy macros definition. Signed-off-by: Gabor Mezei <[email protected]>
Signed-off-by: Gabor Mezei <[email protected]>
8dd1a90 to
fc443ba
Compare
Adding a new component is not working because in the CI the |
|
I think we need to merge the new test component in the mbedtls repository first. (And until we disentangle configuration coverage testing somehow, the mbedtls repository needs to do complete testing of crypto configurations, even if they don't impact X.509 or TLS.) |
Done in Mbed-TLS/mbedtls#10201 |
fc443ba to
fb03124
Compare
felixc-arm
left a comment
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 now that the CI is green 🙂
mpg
left a comment
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, thanks!
Description
Remove
MBEDTLS_SHA3_Cconfig option and replace it's references withPSA_WANTmacros.Depends on: Mbed-TLS/mbedtls#10201
PR checklist
Please remove the segment/s on either side of the | symbol as appropriate, and add any relevant link/s to the end of the line.
If the provided content is part of the present PR remove the # symbol.
MBEDTLS_SHA3_Cconfig option mbedtls#10145