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

FIX: Kyber KEM with a KDF + some nitpicks #2982

Merged
merged 5 commits into from
Jun 1, 2022
Merged

Commits on May 31, 2022

  1. Kyber_...Key::algo_name() always returns 'Kyber-r3' (without parameters)

    Previously, ::algo_name() contained the algorithm parameters (e.g. -90s-512)
    as well. This was impractical and did not align with other algorithms in the
    library. Instead, Kyber_...::mode() now gives acces to the specific algorithm
    parameters used.
    reneme committed May 31, 2022
    Configuration menu
    Copy the full SHA
    1c1d451 View commit details
    Browse the repository at this point in the history
  2. FIX: Use KEM_Encryption_with_KDF as base class for Kyber Encap/Decap

    Previously, the KEM operations would simply assume "Raw" and ignore KDF as well
    as provider parameters.
    reneme committed May 31, 2022
    Configuration menu
    Copy the full SHA
    708240c View commit details
    Browse the repository at this point in the history
  3. FIX: Allow using KEM_Enc/Dec with a "Raw" KDF

    This would have resulted in an exception before. Similar behaviour was already
    implemented for the key agreement public key operation.
    reneme committed May 31, 2022
    Configuration menu
    Copy the full SHA
    acf7473 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f82a5a0 View commit details
    Browse the repository at this point in the history
  5. FIX: encoding test failure with partial kyber support

    When either kyber or kyber_90s was disabled at build time we caused a test failure.
    reneme committed May 31, 2022
    Configuration menu
    Copy the full SHA
    0b2242a View commit details
    Browse the repository at this point in the history