Skip to content
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

crypto: Add support for ECB to the TinyCrypt shim #69479

Conversation

rettichschnidi
Copy link
Contributor

  • Add support for ECB to the TinyCrypt shim
  • Improve the test coverage slightly for both shims

@rettichschnidi rettichschnidi marked this pull request as ready for review February 27, 2024 10:32
@rettichschnidi rettichschnidi changed the title Extend TinyCrypt crypto shim crypto: tc shim: Add ECB support Feb 28, 2024
@rettichschnidi
Copy link
Contributor Author

Is there anything I can do to get this PR moving forward?

Copy link
Member

@ceolin ceolin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Zephyr is activelly moving towards PSA crypto and these drivers will go away. I suggest looking into this path. More in #43712

@rettichschnidi
Copy link
Contributor Author

rettichschnidi commented Mar 25, 2024

Zephyr is activelly moving towards PSA crypto and these drivers will go away. I suggest looking into this path. More in #43712

Thanks a lot for the heads up, will keep in mind.

However, until a PSA API makes it into mainline (it seems like it will need some time?), is there any chance this PR (or any other new features in the crypto driver) could be merged?

@rettichschnidi rettichschnidi force-pushed the gardena/rs/extend-crypto-shims branch 2 times, most recently from b73a8ee to 0d297e5 Compare May 8, 2024 03:18
@rettichschnidi rettichschnidi changed the title crypto: tc shim: Add ECB support crypto: Extend shims May 26, 2024
@rettichschnidi rettichschnidi force-pushed the gardena/rs/extend-crypto-shims branch from 0d297e5 to ae26487 Compare May 26, 2024 19:14
@rettichschnidi rettichschnidi changed the title crypto: Extend shims crypto: Add support for ECB to the TinyCrypt shim May 27, 2024
@rettichschnidi
Copy link
Contributor Author

@ceolin @nashif @kartben Could you please have a look at this?

This adds ECB support to the TinyCrypt crypto shim.

Testing coverage is provided in a separate commit.

Signed-off-by: Reto Schneider <[email protected]>
This ensures that the crypto shims actually perform correctly for the
algorithms they support.

Signed-off-by: Reto Schneider <[email protected]>
This ensures that the ECB support does not get broken.

Signed-off-by: Reto Schneider <[email protected]>
rettichschnidi added a commit to husqvarnagroup/zephyr that referenced this pull request Sep 25, 2024
This adds ECB support to the TinyCrypt crypto shim.

Testing coverage is provided in a separate commit.

Upstream: zephyrproject-rtos#69479

Signed-off-by: Reto Schneider <[email protected]>

(cherry picked from commit 28d2b80)
@rettichschnidi
Copy link
Contributor Author

Giving up because deprecation is happening (#79566).

@rettichschnidi rettichschnidi deleted the gardena/rs/extend-crypto-shims branch October 8, 2024 20:55
@tomi-font
Copy link
Collaborator

@rettichschnidi FYI the PSA Crypto API is already (and has already been for some time) available in Zephyr, and supports ECB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants