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

Refactor SHA to use trait. Implement Digest traits for SHA #1908

Merged
merged 11 commits into from
Aug 19, 2024

Commits on Aug 13, 2024

  1. Configuration menu
    Copy the full SHA
    816db74 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fc63658 View commit details
    Browse the repository at this point in the history
  3. Save hash register for interleaving operation

    An example (wip) `sha_fuzz.rs` was added to test different functionalities of the SHA driver and to ensure proper functionning under all cases.
    AnthonyGrondin committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    e315c43 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3fa92bd View commit details
    Browse the repository at this point in the history
  5. fix(SHA): Buffer words until a full block before writing to memory

    This fixes interleaving operations by buffering words into the SHA context until a full block can be processed.
    AnthonyGrondin committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    3e2c1cb View commit details
    Browse the repository at this point in the history
  6. Fix(SHA): Use correct length padding for SHA384 and SHA512.

    - This fixes a long running issue with SHA384 and SHA512, where some digest of specific sizes wouldn't compute correctly, by changing the padding length of the size field.
    AnthonyGrondin committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    82a2ebf View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    cc8d2bf View commit details
    Browse the repository at this point in the history
  8. Remove completed TODO

    AnthonyGrondin committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    1ba7795 View commit details
    Browse the repository at this point in the history
  9. Remove SHA peripheral requirement.

    - Document safety of the SHA driver.
    AnthonyGrondin committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    1526f0b View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2024

  1. Configuration menu
    Copy the full SHA
    4d62d7f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ab58620 View commit details
    Browse the repository at this point in the history