Skip to content

OpenTitan: AES: Update the AES implementation#2629

Merged
bors[bot] merged 4 commits into
tock:masterfrom
alistair23:alistair/ot-aes
Jul 1, 2021
Merged

OpenTitan: AES: Update the AES implementation#2629
bors[bot] merged 4 commits into
tock:masterfrom
alistair23:alistair/ot-aes

Conversation

@alistair23

Copy link
Copy Markdown
Contributor

Pull Request Overview

This updates the implemention to remove all infinite loops, use callbacks and update to the current OpenTitan bitstream addresses and registers.

Testing Strategy

Running the Tock AES tests.

TODO or Help Wanted

Documentation Updated

  • Updated the relevant files in /docs, or no updates are required.

Formatting

  • Ran make prepush.

Set the AES mode before setting th key. This is required for OT AES to
work.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
@github-actions github-actions Bot added the WG-OpenTitan In the purview of the OpenTitan working group. label Jun 23, 2021
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Comment thread chips/earlgrey/src/aes.rs Outdated
Comment thread chips/earlgrey/src/aes.rs Outdated
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
@alistair23 alistair23 requested a review from bradjc June 28, 2021 08:46
@alistair23 alistair23 mentioned this pull request Jun 28, 2021
2 tasks

@ppannuto ppannuto left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It would be good to fix the HIL, but in the now, I guess the panics are better than incorrect behavior.

@bradjc bradjc left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@bradjc bradjc added the last-call Final review period for a pull request. label Jun 28, 2021
@alistair23

Copy link
Copy Markdown
Contributor Author

This is ready to go

@bradjc

bradjc commented Jul 1, 2021

Copy link
Copy Markdown
Contributor

bors r+

@bors

bors Bot commented Jul 1, 2021

Copy link
Copy Markdown
Contributor

@bors bors Bot merged commit 5d73541 into tock:master Jul 1, 2021
@alistair23 alistair23 deleted the alistair/ot-aes branch July 1, 2021 23:13
bors Bot added a commit that referenced this pull request Jul 6, 2021
2634: OpenTitan: Run tests r=bradjc a=alistair23

### Pull Request Overview

This PR builds on #2629 and adds tests for the OpenTitan board.

### Testing Strategy

This PR!

### TODO or Help Wanted

### Documentation Updated

- [X] Updated the relevant files in `/docs`, or no updates are required.

### Formatting

- [X] Ran `make prepush`.


Co-authored-by: Alistair Francis <alistair.francis@wdc.com>
sirchnik pushed a commit to sirchnik/tock that referenced this pull request May 12, 2026
2629: OpenTitan: AES: Update the AES implementation r=bradjc a=alistair23

### Pull Request Overview

This updates the implemention to remove all infinite loops, use callbacks and update to the current OpenTitan bitstream addresses and registers.

### Testing Strategy

Running the Tock AES tests.

### TODO or Help Wanted

### Documentation Updated

- [X] Updated the relevant files in `/docs`, or no updates are required.

### Formatting

- [X] Ran `make prepush`.


Co-authored-by: Alistair Francis <alistair.francis@wdc.com>
sirchnik pushed a commit to sirchnik/tock that referenced this pull request May 12, 2026
2634: OpenTitan: Run tests r=bradjc a=alistair23

### Pull Request Overview

This PR builds on tock#2629 and adds tests for the OpenTitan board.

### Testing Strategy

This PR!

### TODO or Help Wanted

### Documentation Updated

- [X] Updated the relevant files in `/docs`, or no updates are required.

### Formatting

- [X] Ran `make prepush`.


Co-authored-by: Alistair Francis <alistair.francis@wdc.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

last-call Final review period for a pull request. WG-OpenTitan In the purview of the OpenTitan working group.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants