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

SM3 example code #15

Closed
2 tasks
ben-marshall opened this issue Jun 30, 2020 · 1 comment · Fixed by #68
Closed
2 tasks

SM3 example code #15

ben-marshall opened this issue Jun 30, 2020 · 1 comment · Fixed by #68
Assignees
Labels
benchmarking Todo with the benchmarking flow.

Comments

@ben-marshall
Copy link
Member

  • Implement a baseline RV32/RV64 version of SM3
  • Implement an accelerated version of SM3 using the proposed instructions.
@ben-marshall ben-marshall added the benchmarking Todo with the benchmarking flow. label Jun 30, 2020
@mjosaarinen
Copy link
Collaborator

mjosaarinen commented Jul 3, 2020

You're free to use the quantitive SM3 code I wrote in March. SM3 doesn't seem to benefit much (at all?) from RV64 -- there's only one hash size. The breakup of the functions matches that I used for SHA2 and SHA3 in the https://github.com/mjosaarinen/lwsha_isa/ repo.

@ben-marshall ben-marshall added this to Implementation Examples in RISC-V Scalar Cryptography Extensions Jul 31, 2020
@ben-marshall ben-marshall self-assigned this Aug 3, 2020
RISC-V Scalar Cryptography Extensions automation moved this from Implementation Examples to Finished Tasks Feb 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
benchmarking Todo with the benchmarking flow.
Projects
Development

Successfully merging a pull request may close this issue.

2 participants