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

Python implementation for bn254 (alt_bn128) pairing #16

Merged
merged 79 commits into from
Sep 11, 2023
Merged

Commits on Jul 28, 2023

  1. ecadd tests

    ilitteri committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    bce8cbe View commit details
    Browse the repository at this point in the history
  2. ecmul tests

    ilitteri committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    eb18443 View commit details
    Browse the repository at this point in the history
  3. Add test utils

    ilitteri committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    067c16e View commit details
    Browse the repository at this point in the history
  4. Add test suit generator

    ilitteri committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    36af2b6 View commit details
    Browse the repository at this point in the history
  5. Remove old tests

    ilitteri committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    1a8fa73 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2023

  1. Update tests

    ilitteri committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    69f44fc View commit details
    Browse the repository at this point in the history
  2. Fix ecadd

    ilitteri committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    00500c5 View commit details
    Browse the repository at this point in the history
  3. Fix ecmul

    ilitteri committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    f0db051 View commit details
    Browse the repository at this point in the history
  4. Handle modexp tests

    ilitteri committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    eb08ec9 View commit details
    Browse the repository at this point in the history
  5. Add modexp tests

    ilitteri committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    d795f87 View commit details
    Browse the repository at this point in the history
  6. Update call helper function

    ilitteri committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    9b3073b View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2023

  1. Fix helper function

    ilitteri committed Aug 2, 2023
    Configuration menu
    Copy the full SHA
    ca6645c View commit details
    Browse the repository at this point in the history
  2. Fix test utils

    ilitteri committed Aug 2, 2023
    Configuration menu
    Copy the full SHA
    032f93c View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2023

  1. Improve ecmul precompile

    IAvecilla committed Aug 4, 2023
    Configuration menu
    Copy the full SHA
    aaefd0a View commit details
    Browse the repository at this point in the history
  2. Add test helper

    ilitteri committed Aug 4, 2023
    Configuration menu
    Copy the full SHA
    2afbca8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f858171 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'add_eth_tests' of github.com:lambdaclass/zksync_era_pre…

    …compiles into add_eth_tests
    ilitteri committed Aug 4, 2023
    Configuration menu
    Copy the full SHA
    545e701 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0491085 View commit details
    Browse the repository at this point in the history
  6. Add Rust playground crate

    ilitteri committed Aug 4, 2023
    Configuration menu
    Copy the full SHA
    d084888 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    cba561e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b3ced8d View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2023

  1. ecAdd refactor

    ilitteri committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    69d4596 View commit details
    Browse the repository at this point in the history
  2. Montgomery fix

    ilitteri committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    ce87027 View commit details
    Browse the repository at this point in the history
  3. Add montgomery inv & modexp

    ilitteri committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    d8ef6d3 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2023

  1. Fix N'

    ilitteri committed Aug 8, 2023
    Configuration menu
    Copy the full SHA
    24732ab View commit details
    Browse the repository at this point in the history
  2. Fix REDC

    ilitteri committed Aug 8, 2023
    Configuration menu
    Copy the full SHA
    bb48215 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    36b5f3d View commit details
    Browse the repository at this point in the history
  4. Remove comments

    ilitteri committed Aug 8, 2023
    Configuration menu
    Copy the full SHA
    de3c03e View commit details
    Browse the repository at this point in the history
  5. Fix prints

    ilitteri committed Aug 8, 2023
    Configuration menu
    Copy the full SHA
    88dff03 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2023

  1. Configuration menu
    Copy the full SHA
    813d15b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e9590d9 View commit details
    Browse the repository at this point in the history
  3. Add EOL

    IAvecilla committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    8a59ba6 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2023

  1. Update modexp precompile

    IAvecilla committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    11c6a35 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2023

  1. Configuration menu
    Copy the full SHA
    5f4988d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2b73a7e View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2023

  1. modexpGasCost

    ilitteri committed Aug 13, 2023
    Configuration menu
    Copy the full SHA
    44f1ead View commit details
    Browse the repository at this point in the history
  2. Cleanup

    ilitteri committed Aug 13, 2023
    Configuration menu
    Copy the full SHA
    8a87322 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    15d43bc View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2023

  1. Fix modexp tests calldata

    ilitteri committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    6b93802 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2023

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

Commits on Aug 16, 2023

  1. Update Montgomery precompile

    ilitteri committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    4f45d16 View commit details
    Browse the repository at this point in the history
  2. Rename montgomery lib

    ilitteri committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    365468d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b9b6c46 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fca4c7d View commit details
    Browse the repository at this point in the history
  5. Add alt_bn128 pairing script

    ilitteri committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    acb0fa1 View commit details
    Browse the repository at this point in the history
  6. Finish quadratic extension field arithmetics

    Co-authored-by: Nacho Avecilla <nachoavecilla@gmail.com>
    ilitteri and IAvecilla committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    17505b3 View commit details
    Browse the repository at this point in the history
  7. Fix Montgomery lib

    Co-authored-by: Nacho Avecilla <nachoavecilla@gmail.com>
    ilitteri and IAvecilla committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    1b06688 View commit details
    Browse the repository at this point in the history
  8. Implement double and addition steps

    Co-authored-by: Nacho Avecilla <nachoavecilla@gmail.com>
    ilitteri and IAvecilla committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    d7d4cf9 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2023

  1. Arithmetics over Fp2 in Python (#14)

    * Finish fp2 arithmetic
    
    * Add more precomputed values
    
    * Fix fp2 inv
    
    * Add EOF
    
    * Rename module
    ilitteri authored Aug 17, 2023
    Configuration menu
    Copy the full SHA
    6d59006 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7cfed2d View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2023

  1. Fix point at infinity

    ilitteri committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    ce27c79 View commit details
    Browse the repository at this point in the history
  2. Rename lib

    ilitteri committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    1696048 View commit details
    Browse the repository at this point in the history
  3. Arithmetics over Fp6 in Python (#15)

    * Finish fp2 arithmetic
    
    * Add more precomputed values
    
    * Add arithmetic operations for fp6
    
    * Update constant name
    
    Co-authored-by: Ivan Litteri <67517699+ilitteri@users.noreply.github.com>
    
    * Replace epsilon for XI
    
    * Change script name
    
    * Add multiplication by xi in fp2 and fp6
    
    * Add alternative inverse method
    
    * Fix inverse operation
    
    ---------
    
    Co-authored-by: Iván Litteri <ilitteri@fi.uba.ar>
    Co-authored-by: Ivan Litteri <67517699+ilitteri@users.noreply.github.com>
    3 people authored Aug 22, 2023
    Configuration menu
    Copy the full SHA
    ba369b1 View commit details
    Browse the repository at this point in the history
  4. Fp12 arithmetic (#21)

    * WIP
    
    * add fp12 arithmetics
    
    * fix typo
    
    * add addition tests
    
    * add sub test
    
    * rename gamma function
    
    * add mul tests
    
    * fix function call
    
    * fix typo
    
    * mul fixes
    
    * fix mul by 1
    
    * fix square
    
    * fix fp12 inverse
    
    * add multiply by 2 asserts
    
    * add EOF
    
    ---------
    
    Co-authored-by: Iván Litteri <ilitteri@fi.uba.ar>
    ColoCarletti and ilitteri authored Aug 22, 2023
    Configuration menu
    Copy the full SHA
    b7a030d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    dd7ed95 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2023

  1. Add jacobian coordinates in Python (#22)

    * Rename file
    
    * Add implementation for jacobian projective coordinates
    
    * Fix fp12 merge error
    
    * Fix addition
    
    * Rename function to check inifinity and add extra comments
    IAvecilla authored Aug 24, 2023
    Configuration menu
    Copy the full SHA
    a7652f4 View commit details
    Browse the repository at this point in the history
  2. Fp2, Fp6 and Fp12 arithmetics in Yul (#23)

    * Add fp2 arithmetics
    
    * Add fp6 arithmetics
    
    * Rename funcs
    
    * Fix compilation errors in fp6 operations
    
    * Add tests for inverse and sub for fp2
    
    * Fix square and multiplication for fp6
    
    * Add tests for add, mul, sub and square in fp6
    
    * add fp12 arithmetic
    
    * Fix inverse in fp6
    
    * Add tests for inverse in fp6
    
    * add fp12 tests
    
    * add inverse test for fp12
    
    * changes mul for sub
    
    ---------
    
    Co-authored-by: Iván Litteri <ilitteri@fi.uba.ar>
    Co-authored-by: Joaquin Carletti <joaquin.carletti@lambdaclass.com>
    3 people authored Aug 24, 2023
    Configuration menu
    Copy the full SHA
    a83b64d View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2023

  1. Configuration menu
    Copy the full SHA
    e77146a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c698633 View commit details
    Browse the repository at this point in the history
  3. Refactor for line evaluation functions (#29)

    * Move point doubling and line evaluation to pairing file
    
    * Change return type in point adding and line evaluation to match with doubling
    
    * Remove incorrect parameter
    
    * Change name to match with other pairing function
    IAvecilla authored Aug 25, 2023
    Configuration menu
    Copy the full SHA
    ec141a3 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2023

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

Commits on Aug 29, 2023

  1. Improve fp6 and fp12 arithmetics return type (#35)

    * Change fp6 return type to single tuple
    
    * change return to single tuple
    
    ---------
    
    Co-authored-by: Joaquin Carletti <joaquin.carletti@lambdaclass.com>
    IAvecilla and ColoCarletti authored Aug 29, 2023
    Configuration menu
    Copy the full SHA
    3c91ddb View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2023

  1. add millers loop (#30)

    * add millers loop basics
    
    * add PI functions to loop
    
    * add neg of a G2 point
    
    * add loop counter
    
    * fix return of negate funciton
    
    * fix loop_counter values
    
    * rename utils file
    
    * fix imports
    
    * change constants to fp6 file
    
    * fix miller loop set up
    
    * add comment
    
    * fix comment
    
    * fix typo
    ColoCarletti authored Aug 30, 2023
    Configuration menu
    Copy the full SHA
    8c6f24f View commit details
    Browse the repository at this point in the history
  2. Add Final exponentiation (#32)

    * Add ten in montgomery form as constant
    
    * Add frobenius operations
    
    * Add negate operation for fp6
    
    * Add conjugate operation for fp2
    
    * Add operations in fp2 used in final exponentiation
    
    * Add final exponentiation function
    
    * Fix return types to match with new changes
    
    * Add corrections to n_square function
    
    * Use montgomery for gamma factors and add frobenius tests
    
    * Add test for cyclotomic square
    
    * Add another final exponentiation implementation and test
    IAvecilla authored Aug 30, 2023
    Configuration menu
    Copy the full SHA
    31057fb View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2023

  1. Configuration menu
    Copy the full SHA
    526dbee View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2bf9833 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2023

  1. Add pairing tests for python implementation (#36)

    * Add function utils to check elements in curve and twisted curve
    
    * Add conditional for g2 from affine
    
    * Add tests for conjugate in fp12 and fp2
    
    * Fix miller loop errors
    
    * Add pair function
    
    * Add pairing test from eth tests
    
    * Correct NAF representation
    
    * Change exponentiation impl to be able to test it correctly
    
    * Correct point doubling and miller loop
    
    * Add test for point doubling and line evaluation
    
    * add addition tests
    
    * Add tests for frobenius
    
    * Add line evaluation test after point addition
    
    * Add point doubling and adding functions for projective coordinates
    
    * Fix in miller loop function
    
    * Add test refactors with new functions
    
    * Fix constant for fp12
    
    * Add functions for g2 in projective and affine
    
    * Fix NAF representation
    
    * add eth tests
    
    * add tests names
    
    * add expt
    
    * change final_exp
    
    * fix fp6 square
    
    * Delete test generator for pairing in python
    
    * Delete unnecesary comments
    
    * Delete unused exponentiation function
    
    * Delete unused import and old todo
    
    * Improve naming of doubling and addition steps in miller loop
    
    ---------
    
    Co-authored-by: Joaquin Carletti <joaquin.carletti@lambdaclass.com>
    IAvecilla and ColoCarletti authored Sep 8, 2023
    Configuration menu
    Copy the full SHA
    6540a34 View commit details
    Browse the repository at this point in the history
  2. Frobenius Operator in Yul (#43)

    * Implement Frobenius operator in Yul
    
    * Fix Frobenius functions returns
    
    * Fix Frobenius functions returns
    
    * Add tests
    
    * Update comment
    ilitteri authored Sep 8, 2023
    Configuration menu
    Copy the full SHA
    a069ac5 View commit details
    Browse the repository at this point in the history
  3. add mix addition in yul (#45)

    * Add function utils to check elements in curve and twisted curve
    
    * Add conditional for g2 from affine
    
    * Add tests for conjugate in fp12 and fp2
    
    * Fix miller loop errors
    
    * Add pair function
    
    * Add pairing test from eth tests
    
    * Correct NAF representation
    
    * Change exponentiation impl to be able to test it correctly
    
    * Correct point doubling and miller loop
    
    * Add test for point doubling and line evaluation
    
    * add addition tests
    
    * Add tests for frobenius
    
    * Add line evaluation test after point addition
    
    * Add point doubling and adding functions for projective coordinates
    
    * Fix in miller loop function
    
    * Add test refactors with new functions
    
    * Fix constant for fp12
    
    * Add functions for g2 in projective and affine
    
    * Fix NAF representation
    
    * add eth tests
    
    * add tests names
    
    * add expt
    
    * change final_exp
    
    * fix fp6 square
    
    * Delete test generator for pairing in python
    
    * Delete unnecesary comments
    
    * Delete unused exponentiation function
    
    * Delete unused import and old todo
    
    * Improve naming of doubling and addition steps in miller loop
    
    * add mix addition in yul
    
    * fix function
    
    * Update precompiles/Playground.yul
    
    Co-authored-by: Ivan Litteri <67517699+ilitteri@users.noreply.github.com>
    
    ---------
    
    Co-authored-by: IAvecilla <iavecilla@fi.uba.ar>
    Co-authored-by: Iván Litteri <ilitteri@fi.uba.ar>
    Co-authored-by: Ivan Litteri <67517699+ilitteri@users.noreply.github.com>
    4 people authored Sep 8, 2023
    Configuration menu
    Copy the full SHA
    2a5cf36 View commit details
    Browse the repository at this point in the history
  4. Add cyclotomicSquare and nSquare (#47)

    * Add function utils to check elements in curve and twisted curve
    
    * Add conditional for g2 from affine
    
    * Add tests for conjugate in fp12 and fp2
    
    * Fix miller loop errors
    
    * Add pair function
    
    * Add pairing test from eth tests
    
    * Correct NAF representation
    
    * Change exponentiation impl to be able to test it correctly
    
    * Correct point doubling and miller loop
    
    * Add test for point doubling and line evaluation
    
    * add addition tests
    
    * Add tests for frobenius
    
    * Add line evaluation test after point addition
    
    * Add point doubling and adding functions for projective coordinates
    
    * Fix in miller loop function
    
    * Add test refactors with new functions
    
    * Fix constant for fp12
    
    * Add functions for g2 in projective and affine
    
    * Fix NAF representation
    
    * add eth tests
    
    * add tests names
    
    * add expt
    
    * change final_exp
    
    * fix fp6 square
    
    * Delete test generator for pairing in python
    
    * Delete unnecesary comments
    
    * Delete unused exponentiation function
    
    * Delete unused import and old todo
    
    * Improve naming of doubling and addition steps in miller loop
    
    * add cyclotomic square
    
    * fix assignments
    
    * add nSquare
    
    ---------
    
    Co-authored-by: IAvecilla <iavecilla@fi.uba.ar>
    Co-authored-by: Iván Litteri <ilitteri@fi.uba.ar>
    3 people authored Sep 8, 2023
    Configuration menu
    Copy the full SHA
    fb0a627 View commit details
    Browse the repository at this point in the history
  5. Add t exponentiation for fp12 in Yul (#48)

    * Add function utils to check elements in curve and twisted curve
    
    * Add conditional for g2 from affine
    
    * Add tests for conjugate in fp12 and fp2
    
    * Fix miller loop errors
    
    * Add pair function
    
    * Add pairing test from eth tests
    
    * Correct NAF representation
    
    * Change exponentiation impl to be able to test it correctly
    
    * Correct point doubling and miller loop
    
    * Add test for point doubling and line evaluation
    
    * add addition tests
    
    * Add tests for frobenius
    
    * Add line evaluation test after point addition
    
    * Add point doubling and adding functions for projective coordinates
    
    * Fix in miller loop function
    
    * Add test refactors with new functions
    
    * Fix constant for fp12
    
    * Add functions for g2 in projective and affine
    
    * Fix NAF representation
    
    * add eth tests
    
    * add tests names
    
    * add expt
    
    * change final_exp
    
    * fix fp6 square
    
    * Delete test generator for pairing in python
    
    * Delete unnecesary comments
    
    * Delete unused exponentiation function
    
    * Delete unused import and old todo
    
    * Improve naming of doubling and addition steps in miller loop
    
    * Add implementation for exponentiation by t for fp12
    
    ---------
    
    Co-authored-by: Joaquin Carletti <joaquin.carletti@lambdaclass.com>
    Co-authored-by: Iván Litteri <ilitteri@fi.uba.ar>
    3 people authored Sep 8, 2023
    Configuration menu
    Copy the full SHA
    853c658 View commit details
    Browse the repository at this point in the history
  6. Add final exp in yul (#49)

    * Add function utils to check elements in curve and twisted curve
    
    * Add conditional for g2 from affine
    
    * Add tests for conjugate in fp12 and fp2
    
    * Fix miller loop errors
    
    * Add pair function
    
    * Add pairing test from eth tests
    
    * Correct NAF representation
    
    * Change exponentiation impl to be able to test it correctly
    
    * Correct point doubling and miller loop
    
    * Add test for point doubling and line evaluation
    
    * add addition tests
    
    * Add tests for frobenius
    
    * Add line evaluation test after point addition
    
    * Add point doubling and adding functions for projective coordinates
    
    * Fix in miller loop function
    
    * Add test refactors with new functions
    
    * Fix constant for fp12
    
    * Add functions for g2 in projective and affine
    
    * Fix NAF representation
    
    * add eth tests
    
    * add tests names
    
    * add expt
    
    * change final_exp
    
    * fix fp6 square
    
    * Delete test generator for pairing in python
    
    * Delete unnecesary comments
    
    * Delete unused exponentiation function
    
    * Delete unused import and old todo
    
    * Improve naming of doubling and addition steps in miller loop
    
    * add final exponentiation
    
    * Update precompiles/Playground.yul
    
    Co-authored-by: Ivan Litteri <67517699+ilitteri@users.noreply.github.com>
    
    ---------
    
    Co-authored-by: IAvecilla <iavecilla@fi.uba.ar>
    Co-authored-by: Ivan Litteri <67517699+ilitteri@users.noreply.github.com>
    3 people authored Sep 8, 2023
    Configuration menu
    Copy the full SHA
    4b20a2a View commit details
    Browse the repository at this point in the history
  7. Point doubling step of the miller loop in Yul (#46)

    * Add function utils to check elements in curve and twisted curve
    
    * Add conditional for g2 from affine
    
    * Add tests for conjugate in fp12 and fp2
    
    * Fix miller loop errors
    
    * Add pair function
    
    * Add pairing test from eth tests
    
    * Correct NAF representation
    
    * Change exponentiation impl to be able to test it correctly
    
    * Correct point doubling and miller loop
    
    * Add test for point doubling and line evaluation
    
    * add addition tests
    
    * Add tests for frobenius
    
    * Add line evaluation test after point addition
    
    * Add point doubling and adding functions for projective coordinates
    
    * Fix in miller loop function
    
    * Add test refactors with new functions
    
    * Fix constant for fp12
    
    * Add functions for g2 in projective and affine
    
    * Fix NAF representation
    
    * add eth tests
    
    * add tests names
    
    * add expt
    
    * change final_exp
    
    * fix fp6 square
    
    * Delete test generator for pairing in python
    
    * Delete unnecesary comments
    
    * Delete unused exponentiation function
    
    * Delete unused import and old todo
    
    * Improve naming of doubling and addition steps in miller loop
    
    * Add implementation for point doubling step of the miller loop
    
    * Fix fp2 neg function parameters
    
    * Fix typo in parameters to return
    
    * Add precomputation for inverse of two
    
    ---------
    
    Co-authored-by: Joaquin Carletti <joaquin.carletti@lambdaclass.com>
    IAvecilla and ColoCarletti authored Sep 8, 2023
    Configuration menu
    Copy the full SHA
    ed3b7d3 View commit details
    Browse the repository at this point in the history
  8. G2 Twist in Yul (#50)

    * Add basic functionality for G2 Twist
    
    * Rename neg to g2Neg
    ilitteri authored Sep 8, 2023
    Configuration menu
    Copy the full SHA
    35b257d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    e86dc55 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2023

  1. Configuration menu
    Copy the full SHA
    0ac466a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2230552 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9c80888 View commit details
    Browse the repository at this point in the history
  4. ecPairing common tests for all Ethereum implementations (#51)

    * Add ecpairing official tests
    
    * Change tests path for test generator script
    
    ---------
    
    Co-authored-by: IAvecilla <nachoavecilla@gmail.com>
    ilitteri and IAvecilla authored Sep 11, 2023
    Configuration menu
    Copy the full SHA
    b8abf9c View commit details
    Browse the repository at this point in the history