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

✨ [cpu] add support for RISC-V scalar cryptography ISA extensions #1033

Merged
merged 18 commits into from
Sep 25, 2024

Conversation

stnolting
Copy link
Owner

@stnolting stnolting commented Sep 24, 2024

This PR adds a new CPU co-processor that implements parts of the RISC-V scalar cryptography ISA extension. The following sub-extensions are supported yet:

Zbkx - Crossbar Permutations

  • xperm8 xperm4

Zknh - NIST Suite: Hash Functions

  • sha256: sha256sig0 sha256sig1 sha256sum0 sha256sum1
  • sha512: sha512sig0h sha512sig0l sha512sig1h sha512sig1l sha512sum0r sha512sum1r

Zknd & Zkne - NIST Suite: AES Decryption and Encryption

  • decryption: aes32dsi aes32dsmi
  • encryption: aes32esi aes32esmi

Further RISC-V cryptographic ISA extension might be added in the future (-> #1034).

@stnolting stnolting added enhancement New feature or request help wanted Extra attention is needed HW Hardware-related labels Sep 24, 2024
@stnolting stnolting self-assigned this Sep 24, 2024
@stnolting stnolting changed the title ✨ [cpu] add support for RISC-V scalar crypto ISa extensions ✨ [cpu] add support for RISC-V scalar crypto ISA extensions Sep 24, 2024
@stnolting stnolting changed the title ✨ [cpu] add support for RISC-V scalar crypto ISA extensions ✨ [cpu] add support for RISC-V scalar cryptography ISA extensions Sep 25, 2024
@stnolting stnolting marked this pull request as ready for review September 25, 2024 17:18
@stnolting stnolting removed the help wanted Extra attention is needed label Sep 25, 2024
@stnolting stnolting merged commit fd79163 into main Sep 25, 2024
10 checks passed
@stnolting stnolting deleted the rv_scalar_crypto branch September 25, 2024 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request HW Hardware-related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant