Skip to content

C & Rust elliptic bindings: batchAffine, scalarMul, serial MSM and 32-bit Rust bindings#332

Merged
mratsim merged 4 commits intomasterfrom
elliptic-bindings
Jan 5, 2024
Merged

C & Rust elliptic bindings: batchAffine, scalarMul, serial MSM and 32-bit Rust bindings#332
mratsim merged 4 commits intomasterfrom
elliptic-bindings

Conversation

@mratsim
Copy link
Owner

@mratsim mratsim commented Jan 5, 2024

Missing C and Rust bindings

  • batch affine
  • scalar_mul
  • serial MSM (parallel MSM is aleady there
  • 32-bit Rust bindings

cc @Armantidas @sauliusgrigaitis

#331 will be rebased on top after merge.

@mratsim
Copy link
Owner Author

mratsim commented Jan 5, 2024

Seems like there is a Nim v2 codegen bug with {.noInit.} in templates.
image

The ` should be mangled as X60 but here it is not

image

Trying a simple repro doesn't work so there is probably a generic sandwich class bug involved nim-lang/Nim#11225.

Removing noInit fixes the issue.

@mratsim mratsim merged commit df9034b into master Jan 5, 2024
@mratsim mratsim deleted the elliptic-bindings branch January 5, 2024 07:57
mratsim added a commit that referenced this pull request Jan 10, 2024
@mratsim mratsim mentioned this pull request Jan 10, 2024
3 tasks
mratsim added a commit that referenced this pull request Jan 11, 2024
* c-api: add scalar mul on G1 and G2 - followup #332

* add conversion/codecs procs between bigints and field elements

* update Rust bindings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant