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 FIPS/SHA2 APIs #40

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Commits on Nov 24, 2022

  1. Refactor SHA2 api

    * Use abstract types for SHA2 state
      This allows to more easily replace SHA2 implementations
    * Define 'free'-style functions for hash state
      This allows potential heap-based SHA2 implementations to instantiate
      sha2 in SPHINCS+
    thomwiggers committed Nov 24, 2022
    Configuration menu
    Copy the full SHA
    27ddcd0 View commit details
    Browse the repository at this point in the history
  2. Refactor FIPS202 API

    * Uses opaque incremental hashing context
      Allows easier replacement of hashing primitives by different backing
      implementations.
    * Adds context release functions
      Allows heap-backed FIPS202 implementations.
    
    fips202.[ch] from PQClean
    thomwiggers committed Nov 24, 2022
    Configuration menu
    Copy the full SHA
    42cab3c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    636e2b5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    357af50 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bafee15 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2023

  1. Better align context.h

    clang-tidy suggested that this layout was more efficient.
    thomwiggers committed Jan 16, 2023
    Configuration menu
    Copy the full SHA
    c5054bd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0395953 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    98b58c1 View commit details
    Browse the repository at this point in the history