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 Hardware Formatting and Simplification #663

Merged
merged 32 commits into from
Mar 11, 2024

Conversation

davidharrishmc
Copy link
Contributor

Lots of work to format the crypto extension units, and some minor optimization.
Added a few missing test cases.

@davidharrishmc
Copy link
Contributor Author

The changes now share logic between AES middle/final rounds and between encrypt and decrypt and with RV64 key schedule instructions, reducing AES area by more than 50%.

There is still a bit of optimization to be done. One sbox should be shared between aes64e encryption and aes64ks1i key scheduling.

Also much of the sha logic can be shared between instructions, such as the XORs and sign extension.

@rosethompson rosethompson merged commit ef2c003 into openhwgroup:main Mar 11, 2024
1 check passed
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.

2 participants