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

drivers: entropy: add maxq10xx #83797

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

Conversation

maass-hamburg
Copy link
Collaborator

add maxq10xx entropy device.

@m-byte
Copy link
Contributor

m-byte commented Jan 10, 2025

This looks weird to me. IMHO, the MAXQ10xx is a multi function device, not just a random number generator. Therefore, it should be implemented as such.

add maxq10xx entropy device.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
add maxq10xx mfd device to tests

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
@ozersa
Copy link
Collaborator

ozersa commented Jan 17, 2025

This looks weird to me. IMHO, the MAXQ10xx is a multi function device, not just a random number generator. Therefore, it should be implemented as such.

Agreed, maxq10xx family is secure authenticator that supports multiple function, the implementation of them shall not be restrict it for TRNG. I think there might be a new driver class folder like: "drivers/auth" for authenticator OR existing crypto driver interface be extended then used as crypto device.

@maass-hamburg
Copy link
Collaborator Author

@ozersa I already changed it to mfd. so that the crypto or auth driver can be added later

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.

5 participants