Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.

Commit 7b3dc30

Browse files
authored
Zkllvm compatibility of non native edwards curve op components (#190)
Update inrerfaces of non native edwards curve operations components to be compatible with zkllvm #167
1 parent f394b57 commit 7b3dc30

File tree

7 files changed

+1483
-632
lines changed

7 files changed

+1483
-632
lines changed

.github/workflows/run_tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ jobs:
9292
blueprint_algebra_fields_plonk_non_native_division_remainder_test,
9393
blueprint_non_native_plonk_scalar_non_native_range_test,
9494
blueprint_non_native_plonk_bool_scalar_multiplication_test,
95+
blueprint_non_native_plonk_add_mul_zkllvm_compatible_test,
9596
blueprint_hashes_plonk_decomposition_test,
9697
blueprint_hashes_plonk_sha256_process_test,
9798
blueprint_hashes_plonk_sha512_process_test,

include/nil/blueprint/components/algebra/curves/edwards/plonk/non_native/complete_addition.hpp

Lines changed: 377 additions & 230 deletions
Large diffs are not rendered by default.

include/nil/blueprint/components/algebra/curves/edwards/plonk/non_native/doubling.hpp

Lines changed: 302 additions & 203 deletions
Large diffs are not rendered by default.

include/nil/blueprint/components/algebra/curves/edwards/plonk/non_native/variable_base_multiplication.hpp

Lines changed: 207 additions & 90 deletions
Large diffs are not rendered by default.

include/nil/blueprint/components/algebra/curves/edwards/plonk/non_native/variable_base_multiplication_per_bit.hpp

Lines changed: 178 additions & 109 deletions
Large diffs are not rendered by default.

test/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ set(NON_NATIVE_TESTS_FILES
6565
"algebra/fields/plonk/non_native/comparison_flag"
6666
"algebra/fields/plonk/non_native/division_remainder"
6767
"non_native/plonk/bool_scalar_multiplication"
68+
"non_native/plonk/add_mul_zkllvm_compatible"
6869
"non_native/plonk/scalar_non_native_range"
6970
)
7071

test/non_native/plonk/add_mul_zkllvm_compatible.cpp

Lines changed: 417 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)