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

Work on SHA256 and set of related improvements #528

Merged
merged 21 commits into from
Sep 1, 2023
Merged

Commits on Aug 22, 2023

  1. Fix dirty overload of Keccak function

    The Keccak function was overloaded with a set of options to generate
    JSON files. This commit separates this logic into `keccak_gen`, which
    hopefully can also be adopted as a pattern for upcoming work on
    `sm/sha256` and `sm/blake`.
    nadimkobeissi committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    27aa4e1 View commit details
    Browse the repository at this point in the history
  2. Add config files for hash function tests

    This commit makes it easier to run test vectors targeting hash
    functions.
    nadimkobeissi committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    267f810 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9e94fff View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2023

  1. Configuration menu
    Copy the full SHA
    e83a0fd View commit details
    Browse the repository at this point in the history
  2. Eliminate KeccakState in favor of GateState

    This replaces KeccakState with GateState, which we can then use for all
    future primitives that we implement as arithmetic gates (SHA256, BLAKE2,
    and others).
    nadimkobeissi committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    f2ceb04 View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2023

  1. Configuration menu
    Copy the full SHA
    fa4381a View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2023

  1. SHA256 JSON generation?

    Very unsure that this works correctly, need external review.
    nadimkobeissi committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    6d00f27 View commit details
    Browse the repository at this point in the history
  2. SHA256GateConfig

    nadimkobeissi committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    1973afd View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2023

  1. Disable non-functioning Keccak SM tests

    Confirmed as not functional with @fractasy on August 29th, 2023.
    nadimkobeissi committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    7a122a7 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2023

  1. Fix dirty overload of Keccak function

    The Keccak function was overloaded with a set of options to generate
    JSON files. This commit separates this logic into `keccak_gen`, which
    hopefully can also be adopted as a pattern for upcoming work on
    `sm/sha256` and `sm/blake`.
    nadimkobeissi committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    25dc2fd View commit details
    Browse the repository at this point in the history
  2. Add config files for hash function tests

    This commit makes it easier to run test vectors targeting hash
    functions.
    nadimkobeissi committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    3fa08ae View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    716ee0f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b0aaec4 View commit details
    Browse the repository at this point in the history
  5. Eliminate KeccakState in favor of GateState

    This replaces KeccakState with GateState, which we can then use for all
    future primitives that we implement as arithmetic gates (SHA256, BLAKE2,
    and others).
    nadimkobeissi committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    dbfe3b6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    78283e9 View commit details
    Browse the repository at this point in the history
  7. SHA256 JSON generation?

    Very unsure that this works correctly, need external review.
    nadimkobeissi committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    6e200c3 View commit details
    Browse the repository at this point in the history
  8. SHA256GateConfig

    nadimkobeissi committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    0d30e4b View commit details
    Browse the repository at this point in the history
  9. Disable non-functioning Keccak SM tests

    Confirmed as not functional with @fractasy on August 29th, 2023.
    nadimkobeissi committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    b165341 View commit details
    Browse the repository at this point in the history
  10. Prepare for rebase

    nadimkobeissi committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    1a3de93 View commit details
    Browse the repository at this point in the history
  11. Prepare for rebase

    nadimkobeissi committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    b3fa7e6 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    124c54c View commit details
    Browse the repository at this point in the history