-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Revert "tinycrypt: deprecate the library" #81034
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
Conversation
dkalowsk
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.
...:sigh:...
valeriosetti
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.
I agree. #79931 is taking longer than I expected (sorry) and also preceding PRs are still not merged, so it's safer to postpone this. I'll keep working on the deprecation so that it can happen ASAP after 4.0.
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.
This is reverting all of #79566, but none of #79653.
#79653 introduced the deprecation of CONFIG_CRYPTO_TINYCRYPT_SHIM. I guess it needs to be reverted as well (dbda464).
Also, the migration guide/release notes entries added in #79653 should be modified so that they don't say things like Following the deprecation of the TinyCrypt library (but rather something like Due to the upcoming deprecation of the TinyCrypt library).
|
Question: instead of removing all the changes to
This would help users understanding changes like #79653 |
@valeriosetti oh no worries, I get this is a tangled mess. Thanks for taking it on! |
|
@ceolin , can we get this in today? |
|
why is this in draft? |
@tomi-font We don't need to revert those other changes. The crypto driver is its own feature / driver class, we can deprecate it regardless of TinyCrypt. Regarding the release notes about it, I can change to not mention the deprecation but I don't see a reason to do it since it is well known that TinyCrypt deprecation is coming. |
This reverts commit 5e225e0. Based on zephyrproject-rtos#79931 and TSC discussions, it was decided that TinyCrypt will be deprecated *AFTER* 4.0. Signed-off-by: Flavio Ceolin <[email protected]>
Add an information about upcoming TinyCrypt deprecation. Signed-off-by: Flavio Ceolin <[email protected]>
|
@valeriosetti thanks for checking it. Would you mind take another look ? |
my mistake :/ |
|
Marked this as a Blocker as we want to make sure this gets in before we release 4.0 |
|
This is mostly fine as is, but I think it would still be good to fix the relevant migration guide entries:
|
This reverts commit 5e225e0.
Based on #79931 and TSC discussions, it was decided that TinyCrypt will be deprecated AFTER 4.0.