Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.

Add BW6-767 curve and update BW6-761 to use the new bw6 model #156

Merged
merged 16 commits into from
Sep 1, 2023

Commits on Mar 8, 2023

  1. Rework bw6-761 to bw6-767

    use bls12-381 instead of 377 for test imports
    
    fix the inline comments with correct name and params
    
    
    Set the right base field
    
    
    Equation for base curve is y2 = x3 + 1
    
    
    fill in pairing params
    
    
    adapt sage scripts with correct moduli
    
    
    calculate the correct cubic non residue
    
    
    correct the parameter B in the curve equation
    
    
    remove the specialized method for mult by nonresidue
    
    nonresidue is two, so default will be doubling
    
    calculate more correct parameters for fq3
    
    `TRACE_MINUS_ONE_DIV_TWO` and `QUADRATIC_NONRESIDUE_TO_T`
    
    compute the right fq3 & fp6 frobenious coefficients
    
    
    calculate the cofactor for g1
    
    
    use the g1 generator from gnark's fork
    
    
    use the right g2 equation
    
    
    g2 cofactor is slightly smaller than g1 cofactor
    
    
    get the g2 generators from gnark's fork
    
    
    update g1 and g2 curve info in the comments
    
    
    fill in `COFACTOR_INV` value for g1
    
    
    fill in `COFACTOR_INV` value for g2
    mmagician committed Mar 8, 2023
    Configuration menu
    Copy the full SHA
    53186b7 View commit details
    Browse the repository at this point in the history
  2. update module description

    author information
    2-adicity of the scalar field
    mmagician committed Mar 8, 2023
    Configuration menu
    Copy the full SHA
    0dd4410 View commit details
    Browse the repository at this point in the history
  3. update changelog

    mmagician committed Mar 8, 2023
    Configuration menu
    Copy the full SHA
    50c3f46 View commit details
    Browse the repository at this point in the history
  4. remove trailing comma

    mmagician committed Mar 8, 2023
    Configuration menu
    Copy the full SHA
    3f553d8 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2023

  1. remove todo

    mmagician committed Mar 11, 2023
    Configuration menu
    Copy the full SHA
    d4e1ce6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a46d781 View commit details
    Browse the repository at this point in the history
  3. Revert "2nd loop count is x^3 - x^2 - x"

    This reverts commit 2b323db.
    mmagician committed Mar 11, 2023
    Configuration menu
    Copy the full SHA
    6d078a1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    22104eb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e45dbe5 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2023

  1. 1. Generic BW6 params added to BW6-761

    2. Curve specific hard part of the final exp moved from algebra
    swasilyev committed Mar 27, 2023
    Configuration menu
    Copy the full SHA
    d21c553 View commit details
    Browse the repository at this point in the history
  2. 1. Generic BW6 params added to BW6-767

    2. Miller loop params changed to the "unoptimized" version
    swasilyev committed Mar 27, 2023
    Configuration menu
    Copy the full SHA
    2bdb26d View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2023

  1. cargo fmt

    swasilyev committed Mar 28, 2023
    Configuration menu
    Copy the full SHA
    3a20ff6 View commit details
    Browse the repository at this point in the history
  2. changelog updated

    swasilyev committed Mar 28, 2023
    Configuration menu
    Copy the full SHA
    49ec7ac View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2023

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

Commits on Aug 30, 2023

  1. Configuration menu
    Copy the full SHA
    6299b62 View commit details
    Browse the repository at this point in the history
  2. imports fixed

    swasilyev committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    0029711 View commit details
    Browse the repository at this point in the history