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

EC: Avoid Montgomery encoding in point arithmetic test data files. #1770

Merged
merged 2 commits into from
Oct 26, 2023

Commits on Oct 25, 2023

  1. Cherry-pick BoringSSL 50418af: Add some EC base point multiplication …

    …test vectors.
    
    `git cherry-pick 50418af`.
    
    Bring in the test vector generator unmodified.
    davidben authored and briansmith committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    fef7108 View commit details
    Browse the repository at this point in the history
  2. EC: Add scalar base point multiplication test case generator.

    Add a new scalar base point multiplication test case generator that
    where the points are *not* Montgomery-encoded. This way we don't need
    to generate different test data files when the Montgomery encoding
    for a curve isn't the same for 32-bit and 64-bit targets (P-521).
    
    This version of the generator produces the test cases for all the
    scalars that the current P-256 and P-384 tests generate, in the same
    format; the only exception is that the point is not
    Montgomery-encoded.
    briansmith committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    ac6738e View commit details
    Browse the repository at this point in the history