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

ADSP CRC support and initial crypto files #2506

Open
wants to merge 2 commits into
base: adsp-main
Choose a base branch
from

Conversation

UtsavAgarwalADI
Copy link

PR Description

This PR adds the initial files for the crypto drivers with with functioning CRC and successful initialization of the pkte driver ONLY. Compilation warnings and general code quality after porting (from old kernel) are ignored at the moment for simplicity (will be accounted for in further PRs).

PR Type

  • Bug fix (a change that fixes an issue)
  • New feature (a change that adds new functionality)
  • Breaking change (a change that affects other repos or cause CIs to fail)

PR Checklist

  • I have conducted a self-review of my own code changes
  • I have tested the changes on the relevant hardware
  • I have updated the documentation outside this repo accordingly (if there is the case)

Signed-off-by: UtsavAgarwalADI <utsav.agarwal@analog.com>
@UtsavAgarwalADI UtsavAgarwalADI self-assigned this Jun 12, 2024
@UtsavAgarwalADI UtsavAgarwalADI force-pushed the adsp-main-crypto_support-crc branch 2 times, most recently from f68e725 to 2a37933 Compare June 12, 2024 09:59
- Correcting error handling
- Changing ahash_algs to ahash_engine_algs
	Since this is a hardware driven engine, it is more approriate
	to be using ahash_engine_algs

- Removing busy wait
	While loops now yield while waiting for device status

CRC tests now pass (for upto 4KB input)

	- Changing interrupt to threaded context
	- Removing unneeded function call

Signed-off-by: UtsavAgarwalADI <utsav.agarwal@analog.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant