119 Commits

Author SHA1 Message Date
Robert Hambrock
d22a4e8c7a add attribution for 1Address in EC.sol 2021-10-24 14:12:36 +02:00
Robert Hambrock
cd7635fb36 temporarily disable pubkey verification in solidity
will debug later - first implement DLEQ proof exchange
2021-10-24 14:12:36 +02:00
Robert Hambrock
eccbf798ea add EC.sol and implement
currently replacing onchain implementation, but will ultimately coexist
2021-10-24 14:12:32 +02:00
Robert Hambrock
a007df7f86 add clone of https://github.com/1Address/ecsol/blob/master/contracts/EC.sol 2021-10-24 14:07:53 +02:00
Aleixo Sánchez
4a745b4487 Add sources & attribution 2021-10-24 13:13:01 +02:00
Aleixo Sánchez
ddef2c823b add secp tests 2021-10-24 12:41:01 +02:00
Aleixo Sánchez
f411f1b7ad add Hardhat project for Swap contract 2021-10-24 11:11:37 +02:00
Aleixo Sánchez
dc671597d0 only allow calling set_ready once 2021-10-24 10:41:10 +02:00
Aleixo Sánchez
a92e1bc84e Fix wrong bit being modified in pK 2021-10-24 03:20:28 +02:00
noot
e7ae8fed8c update Ed25519_alt.sol version 2021-10-23 20:46:54 -04:00
Aleixo Sánchez
66a99dc164 fix function visibility 2021-10-24 02:34:51 +02:00
Aleixo Sánchez
1fd7bda0ba fix function visibility 2021-10-24 02:34:16 +02:00
Aleixo Sánchez
33e96f9cf6 Fix finding LSB 2021-10-24 02:06:25 +02:00
Aleixo Sánchez
30a7bdcbca add alternative ed25519 implementation 2021-10-24 00:33:32 +02:00
Aleixo Sánchez
73b9463ab4 check pub key against cononical encoding 2021-10-23 19:13:07 +02:00
Aleixo Sánchez
20b89ff449 documentation 2021-10-23 18:24:21 +02:00
Aleixo Sánchez
630a32779c Fix leftover code 2021-10-23 18:17:52 +02:00
Aleixo Sánchez
b576296d49 compare points directly instead of hash 2021-10-23 18:12:35 +02:00
Aleixo Sánchez
f08858cc69 add .gitignore, renaming 2021-10-23 17:57:19 +02:00