-
Notifications
You must be signed in to change notification settings - Fork 45
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
[aes] Connect EDN interface #700
[aes] Connect EDN interface #700
Conversation
Update: I've now reworked the firwmare interface as proposed @mojtaba-bisheh . There are now 9 distinct 32-bit registers that firmware writes to provide a new 288-bit seed for the Trivium stream cipher primitive. |
8bbe49f
to
196f2f7
Compare
Hi @mojtaba-bisheh |
We need to process it through our internal tools to verify it passes all tests. If you don’t have access to our pipeline, I can handle it for you. |
Hi @mojtaba-bisheh , thanks for your feedback. I don't have access yet, if you could help that would be very much appreciated. |
please merge main into this PR to resolve hash conflict. then, I will take care of it |
Sorry @mojtaba-bisheh for asking: do you mean to rebase this on main? Can you please provide a list of commands? I am currently traveling and will need to hop on a plane soon. |
Signed-off-by: Pirmin Vogel <vogelpi@lowrisc.org>
Signed-off-by: Pirmin Vogel <vogelpi@lowrisc.org>
196f2f7
to
15962fc
Compare
980d7d4
into
chipsalliance:msft-daily-20250228
* [aes] Connect EDN interface Signed-off-by: Pirmin Vogel <vogelpi@lowrisc.org> * [aes] Reseed entropy interface in AES smoketest Signed-off-by: Pirmin Vogel <vogelpi@lowrisc.org> --------- Signed-off-by: Pirmin Vogel <vogelpi@lowrisc.org>
This PR connects the entropy distribution network (EDN) interface of AES to a Trivium stream cipher primitive which can be reseeded by firmware. The stream cipher primitive is required to decouple AES from firmware as AES can repeatedly request fresh entropy via the EDN interface while doing encryptions/decryptions. This entropy is required for the internal masking SCA countermeasure.