Commit Graph

52 Commits

Author SHA1 Message Date
ido
a2f221dda1 integrated lsb mult and msb mult into mod mult. 2023-05-24 21:45:46 +03:00
ido
c166b6d4d5 MSB multiplier + test 2023-05-23 16:46:24 +03:00
ido
ecc3970c12 removed constant 2023-05-22 11:50:41 +03:00
ido
a20f603f6f ingo mp mult 2023-05-22 11:48:31 +03:00
ido
32a178bc27 LSB mult works 2023-05-18 15:33:47 +03:00
ido
8d094bd5fb LSB mult almost works 2023-05-15 19:56:57 +03:00
DmytroTym
08c34a5183 Fix for local machines GoogleTest and CMake (#70) (#73)
GoogleTest fix, updated readme

Co-authored-by: Vitalii Hnatyk <vhnatyk@gmail.com>
2023-05-15 15:23:06 +03:00
DmytroTym
e1b0131503 New api (#64)
New API based on data staying on device
2023-05-08 10:25:17 +03:00
Shlomtz
a9d3ba9a5b Update README.md (#68) 2023-04-30 16:06:26 +03:00
Vitalii Hnatyk
9765a740ed flattened 2 of 3 loops in batch ntt template (#61)
* flattened 2 of 3 loops in batch ntt template
2023-04-03 12:40:36 +02:00
HadarIngonyama
20379db546 Msm optimize sorting (#60)
merge indices sort
2023-04-03 12:39:03 +02:00
HadarIngonyama
3a3b20459d Msm final acc optimization (#59)
update final accumulation
2023-04-03 11:16:15 +03:00
Vitalii Hnatyk
ceedb8937b removed redundant mult (#58) 2023-03-28 19:26:58 +03:00
HadarIngonyama
01e0ac9333 Batched large msm (#56)
Batched large msm (#56)
2023-03-28 17:38:11 +03:00
DmytroTym
27b3bf4c19 Matrix-vector multiplication (#54)
* Host functionality, tests

* Addressed comments; extra tests added

* Tests; fixed generator

* Matrix-vector multiplication on CUDA added
2023-03-28 11:32:38 +03:00
DmytroTym
93b370a77c Unit tests for primitives (#51)
* Added a complete test suite for finite field and elliptic curve primitives
* Fixed BLS12-381 generator
2023-03-24 12:13:17 +02:00
DmytroTym
557bc6ff9f Host functionality, tests (#42)
Host functionality added, googletests introduced, some renaming and readme fixes
2023-03-20 17:17:21 +02:00
Vitalii Hnatyk
96e3e564e8 wrapper update (#35)
* changes for wrapper

* removed  transmute

* typo fixed

* eq test moved to point
2023-03-16 21:10:45 +02:00
Vitalii Hnatyk
c05c7f11fe Linking quick fix (#34)
* Linking quick fix

(cherry picked from commit fc3fa4dff7202b5d97a04ef1fafe428e0c1e06e1)

* fix typo

* fix typo

---------

Co-authored-by: ingo_deploy <deploy@ingonyama.com>
Co-authored-by: Leon Hibnik <107353745+LeonHibnik@users.noreply.github.com>
2023-03-16 13:27:38 +02:00
guy-ingo
2e6f13376b batch mode ntt (#29)
* Update bls12_381.cuh

change twiddle factors to match root of unity used in ethereum danksharding implementation

* add batch mode

* fix batch mode

* update batch mode

* update ntt.cuh
2023-03-15 17:07:54 +02:00
Vitalii Hnatyk
ad6e77a16d apputils refactor (#27)
* build scheme

* appUtils refactor/added eq
2023-03-15 16:31:05 +02:00
Vitalii Hnatyk
4519da4c40 build scheme (#22) 2023-03-15 13:43:04 +02:00
Jeremy Felder
db43edb64b [FEAT]: Build Workflow + Templates (#15) 2023-03-14 11:58:27 +02:00
HadarIngonyama
00231723b9 fix short msm size (#14) 2023-03-13 11:59:52 +02:00
robik75
a76f30f100 fix build errors (#9) 2023-03-13 09:30:40 +02:00
guy-ingo
887524177a Merge pull request #8 from ingonyama-zk/fix/ntt
Refactor support for ntt sizes
2023-03-12 13:24:05 +02:00
Guy Weissenberg
a58813ba3c add hardcoded roots of unity up to 2^32 2023-03-12 09:27:16 +00:00
Guy Weissenberg
bdb721ba14 small refactor 2023-03-09 12:31:22 +00:00
Guy Weissenberg
7d9dfccb78 refactor support for ntt sizes 2023-03-09 12:04:10 +00:00
Leon Hibnik
5aa29be0ea Merge pull request #7 from ingonyama-zk/fix/build_ve
fix build, clean, upd gitignore
2023-03-09 13:10:37 +02:00
Jeremy Felder
d1a42322e3 Update readme build and comment out unreachable code 2023-03-09 12:57:22 +02:00
Leon Hibnik
516b21ce01 fix build, clean, upd gitignore 2023-03-09 12:06:17 +02:00
Leon Hibnik
429b5c2061 Revert "fix build, remove cargo.lock, upd gitignore"
This reverts commit dcc0f8f3e9.
2023-03-09 11:49:54 +02:00
Leon Hibnik
dcc0f8f3e9 fix build, remove cargo.lock, upd gitignore 2023-03-09 11:43:46 +02:00
Leon Hibnik
630674836f Merge pull request #6 from ingonyama-zk/fix/ntt
twiddle factors bug fix
2023-03-09 11:35:14 +02:00
guy-ingo
f9c31b772f bug fix
Set the number of twiddles to 4096, as this is the order of the hard coded root of unity + Remove unnecessary files.
2023-03-09 11:32:05 +02:00
Leon Hibnik
2c7977ac4f Merge pull request #5 from ingonyama-zk/fix/msm
fix inclueds and syncthreads
2023-03-09 11:16:09 +02:00
HadarIngonyama
7fa1416e10 fix inclueds and syncthreads 2023-03-09 10:54:24 +02:00
Shlomtz
995f7c0293 Merge pull request #4 from punk5736/patch-1
Update README
2023-03-08 17:43:26 +02:00
George Olive
b52df69e4c Update README
Fix typo
2023-03-08 09:42:17 -06:00
Leon Hibnik
3d947a2db4 Merge pull request #2 from ingonyama-zk/add/gitignore
Add gitignore
2023-03-08 15:34:44 +02:00
Jeremy Felder
a8f7829748 add gitignore, remove whitespace 2023-03-08 15:33:32 +02:00
Shlomtz
4c94223180 Merge pull request #1 from ingonyama-zk/fix/cleanup
Flattening and condensing repo
2023-03-08 15:30:49 +02:00
Shlomtz
6d624c6e60 Merge branch 'main' into fix/cleanup 2023-03-08 15:30:41 +02:00
Shlomtz
7a88354dfc Update README.md 2023-03-08 15:27:14 +02:00
Jeremy Felder
ffa82606bc flattening and condensing 2023-03-08 15:25:14 +02:00
Shlomtz
31320414f5 Delete .DS_Store 2023-03-08 14:49:00 +02:00
omer shlomovits
3c9852e0ea init 2023-03-08 14:48:16 +02:00
Shlomtz
fe654e9dfb Update README.md 2023-03-08 14:01:33 +02:00
Shlomtz
d710d1d17d Update README.md 2023-03-08 13:58:30 +02:00