Nicholas Ward
c4b511baf4
addressed comments
2023-03-14 14:28:21 -07:00
Nicholas Ward
2000d308f8
addressed comments
2023-03-14 14:03:59 -07:00
Dmitry Vagner
18c83e77da
Merge branch 'main' of github.com:mir-protocol/plonky2 into non-inv
2023-03-08 09:44:21 -08:00
Nicholas Ward
6d997a6566
more tests
2023-03-07 17:47:09 -08:00
Nicholas Ward
f2538fff41
cleanup
2023-03-07 17:47:09 -08:00
Nicholas Ward
bac38f8276
fix
2023-03-07 17:47:09 -08:00
Nicholas Ward
3a019f99af
fix
2023-03-07 17:47:09 -08:00
Nicholas Ward
3662e41df7
fixes
2023-03-07 17:47:09 -08:00
Nicholas Ward
1100445d9c
cleanup
2023-03-07 17:47:09 -08:00
Nicholas Ward
4f41218229
cleanup
2023-03-07 17:47:09 -08:00
Nicholas Ward
0fdd93b8ce
cleanup
2023-03-07 17:47:09 -08:00
Nicholas Ward
f46694e74d
more thorough tests
2023-03-07 17:47:09 -08:00
Nicholas Ward
2aff3e10da
cleanup
2023-03-07 17:47:09 -08:00
Nicholas Ward
1d7c28ee1d
bug fixes
2023-03-07 17:47:09 -08:00
Nicholas Ward
c98bfb0b2c
cleanup
2023-03-07 17:47:09 -08:00
Nicholas Ward
af3dc287df
cleanup
2023-03-07 17:47:09 -08:00
Nicholas Ward
10893fe056
addmul test: use carry
2023-03-07 17:47:09 -08:00
Nicholas Ward
efd5e6ec9a
cleanup
2023-03-07 17:47:09 -08:00
Nicholas Ward
5477c7ddbe
fixes
2023-03-07 17:47:09 -08:00
Nicholas Ward
9976a4b040
addmul initial
2023-03-07 17:47:09 -08:00
Nicholas Ward
fa605d7b22
basic bignum
2023-03-07 17:47:09 -08:00
Nicholas Ward
0f55956ade
optimized initial hash value generation
2023-03-07 17:17:23 -08:00
Nicholas Ward
9d8d81b4b0
optimize hash generation further further
2023-03-07 16:19:15 -08:00
Nicholas Ward
70475a5a87
cleanup
2023-03-07 15:15:49 -08:00
Nicholas Ward
5f592e60dc
fixes
2023-03-07 15:15:49 -08:00
Daniel Lubarov
a6ac051952
Misc EVM fixes
2023-03-06 22:33:06 -08:00
Dmitry Vagner
13a8d670d0
loop test
2023-02-25 10:55:18 -08:00
Dmitry Vagner
b89e668b55
minor
2023-02-17 13:32:20 -08:00
Dmitry Vagner
e8865130de
put extract in interpreter
2023-02-16 20:00:39 -08:00
Dmitry Vagner
63f1fbfaea
fmt
2023-02-16 19:45:33 -08:00
Dmitry Vagner
be35111034
Merge branch 'main' of github.com:mir-protocol/plonky2 into non-inv
2023-02-16 19:31:16 -08:00
Dmitry Vagner
ea9846debf
format
2023-02-16 17:01:43 -08:00
Dmitry Vagner
da7a8879c4
make hash functions take a location pointer
2023-02-16 16:59:51 -08:00
Dmitry Vagner
4e4cfb06b3
function API / remove redundancy
2023-02-16 15:01:22 -08:00
Dmitry Vagner
53ab0ada11
remove blake storage
2023-02-15 19:11:22 -08:00
Dmitry Vagner
77a7af76c2
remove sha2 storage
2023-02-15 19:00:52 -08:00
Dmitry Vagner
abc762f7b4
cleaner arithmetic
2023-02-15 18:50:26 -08:00
Dmitry Vagner
731c29c43b
abstract
2023-02-15 18:47:33 -08:00
Dmitry Vagner
c6cf1dc56a
remove custom
2023-02-15 18:26:05 -08:00
Dmitry Vagner
bce867188c
simplify ripe md test
2023-02-15 18:18:26 -08:00
Dmitry Vagner
80e49caae1
segment virts
2023-02-13 14:04:43 -08:00
Dmitry Vagner
d320fbfbca
update curve add with ops
2023-02-13 13:21:47 -08:00
Dmitry Vagner
787cc8903b
change segment
2023-02-13 12:32:40 -08:00
Dmitry Vagner
2158c1d267
merge
2023-02-13 11:31:08 -08:00
wborgeaud
ac40bd5f5d
Optimize ecMul precompile (scalar multiplication on BN254) ( #852 )
...
* windowed mul
* Working
* Window of 4 bits
* Fix
* Comments
* Unroll loop
* Unroll loop
* remove global
* Minor
* Minor
* Implement `CALLVALUE, CALLDATALOAD, CALLDATASIZE, CALLDATACOPY` in interpreter
* Minor
* Doesn't work
* Minor
* Minor
* wnaf msm
* Working hardcoded values: 28657 opcodes
* Working wnaf
* Small wnaf optim
* Precompute works
* Working together
* Bump to 129 bits
* Working glv decomposition
* Working MSM with GLV
* Almost working
* Working
* ECC test folder
* Working with real sig data
* Fix tests + Clippy
* Minor
* Cleaning
* Comments
* Cleaning
* Smaller glv test file
* Print opcode count at the end of interpreter run
* More constants
* Add z3 proof that the GLV scalars are 129-bit or less
* Minor change to z3 proof
* Move files and renaming fns
* Testing
* Fix BN GLV
* BN precompute table
* Working precompute
* Working bn tests
* Working
* Minor
* Minor
* Use MULFP254
* Minor
* Merge conflicts
* Remove unused asm file
* ECC fns renaming (#874 )
* PR feedback
2023-02-13 20:11:32 +01:00
Dmitry Vagner
361d6d7262
tests and stacks
2023-02-07 18:53:58 -08:00
Dmitry Vagner
69afed9297
refactor
2023-02-07 14:54:07 -08:00
Dmitry Vagner
57146c83bc
miller loop test
2023-02-07 09:18:49 -08:00
Dmitry Vagner
61ac0eff46
fmt
2023-02-05 17:40:45 -08:00
Dmitry Vagner
0f030fae4a
naming for global labels
2023-02-05 17:40:04 -08:00