Commit Graph

  • 9bacae30fb update readme exfinen 2022-08-20 17:35:46 +09:00
  • 76530df70d integrate inner product argument to range proof exfinen 2022-08-20 17:34:32 +09:00
  • 764f5cc888 add mul above order test exfinen 2022-08-20 17:04:18 +09:00
  • 7889afdee7 remove some &s exfinen 2022-08-20 16:56:10 +09:00
  • dcf89a93d4 add working bullet proof tests exfinen 2022-08-20 16:15:29 +09:00
  • d6f1132604 wip exfinen 2022-08-20 15:49:49 +09:00
  • 9738d8c315 wip exfinen 2022-08-20 12:22:11 +09:00
  • 097a5904df improve operator loading with macros exfinen 2022-08-20 11:47:31 +09:00
  • c5ad00582e wip exfinen 2022-08-19 23:11:56 +09:00
  • b59be87225 wip exfinen 2022-08-18 19:37:31 +09:00
  • be3f896a3b fix errors exfinen 2022-08-01 18:10:55 +09:00
  • bb7c898feb resolve conflicts exfinen 2022-08-01 18:09:08 +09:00
  • 017c283b07 clean up dsl for bulletproofs exfinen 2022-08-01 18:07:09 +09:00
  • 8d81e5f31e implement inner product range proof (not tested) exfinen 2022-07-30 13:36:34 +09:00
  • 85e206a597 wip exfinen 2022-07-29 20:36:49 +09:00
  • a3a4e0b5ed integrate from and to to slice Kazumune Masaki 2022-07-23 10:45:08 +09:00
  • 27a6c204aa improve readability of bullet_proofs Kazumune Masaki 2022-07-23 08:42:25 +09:00
  • 49c14f2598 fully use EcPoint(s) wrappers Kazumune Masaki 2022-07-22 15:44:42 +09:00
  • d362e51178 add vector_ops Kazumune Masaki 2022-07-22 15:41:02 +09:00
  • 5b90391729 add improved inner-product argument implemantation Kazumune Masaki 2022-07-20 19:28:08 +09:00
  • 9468d4da35 implement simplest inner product argument Kazumune Masaki 2022-07-20 10:23:33 +09:00
  • ad2bf97b33 wip Kazumune Masaki 2022-07-20 08:30:13 +09:00
  • 6e30ca0d16 rename f_n to f Kazumune Masaki 2022-07-20 07:29:13 +09:00
  • 7a1a9fcdcb fix errors Kazumune Masaki 2022-07-20 07:25:51 +09:00
  • d0b8158343 move ecdsa random field elem generator to field Kazumune Masaki 2022-07-20 07:24:01 +09:00
  • 864aea35d4 rename variable Kazumune Masaki 2022-07-20 06:18:34 +09:00
  • 5069ccdf78 rename variable Kazumune Masaki 2022-07-20 06:16:37 +09:00
  • eb687f97aa fix comment Kazumune Masaki 2022-06-04 21:11:05 +09:00
  • 2909207772 wip Kazumune Masaki 2022-06-04 19:48:07 +09:00
  • fefcabd5c6 implement ed25519 signature verification Kazumune Masaki 2022-06-04 11:30:23 +09:00
  • 9d280f7b20 add comment Kazumune Masaki 2022-06-04 09:03:37 +09:00
  • ae3116a6f2 implement ed25519 signature generation Kazumune Masaki 2022-06-04 09:01:36 +09:00
  • f258094112 rename variables and functions based on rfc8032 Kazumune Masaki 2022-06-04 06:03:14 +09:00
  • 45cc57141e add ed25519 pubkey gen Kazumune Masaki 2022-06-03 18:11:16 +09:00
  • fd1ad51514 wip Kazumune Masaki 2022-06-03 06:49:49 +09:00
  • c04ec635f8 remove debug output Kazumune Masaki 2022-06-03 06:48:06 +09:00
  • c68d230479 factor out x recovery logic as a function Kazumune Masaki 2022-06-03 06:45:24 +09:00
  • 484a0ffcd9 wip Kazumune Masaki 2022-06-02 19:25:11 +09:00
  • 6c6ec030f4 fix FieldElem.pow slowness issue Kazumune Masaki 2022-06-02 15:01:29 +09:00
  • 215d3d2867 let EcPoint constructor take references Kazumune Masaki 2022-06-02 11:17:14 +09:00
  • 903942917a add operator overloading for negate Kazumune Masaki 2022-06-02 11:11:39 +09:00
  • 36a4bc8449 wip Kazumune Masaki 2022-06-02 10:59:59 +09:00
  • 7d31950435 remove clone() from field calculation Kazumune Masaki 2022-06-02 10:58:13 +09:00
  • 7864bbe767 use ToBigUint for Field and FieldElem. implement operator overloading for references Kazumune Masaki 2022-06-02 10:38:38 +09:00
  • 76a1bb5a2c replace div with / Kazumune Masaki 2022-06-02 09:04:12 +09:00
  • 75d14208a7 replace times w/ * Kazumune Masaki 2022-06-02 08:59:54 +09:00
  • b89291505e eod wip Kazumune Masaki 2022-06-01 19:02:25 +09:00
  • cfe7c43d26 remove unnecessary f.elem(&xu8) Kazumune Masaki 2022-06-01 18:52:15 +09:00
  • 79f81a66ff replace sub w/ - Kazumune Masaki 2022-06-01 18:48:04 +09:00
  • 3200946643 replace sub w/ - (wip) Kazumune Masaki 2022-06-01 18:39:20 +09:00
  • e033ee67c3 works so far Kazumune Masaki 2022-06-01 18:37:12 +09:00
  • 0585adabb1 replace minus w/ - (1) Kazumune Masaki 2022-06-01 18:31:33 +09:00
  • 6eb90d5c2a rename add -> plus, sub -> minus, mul -> times Kazumune Masaki 2022-06-01 18:28:06 +09:00
  • bd84427eba add operator overload for + Kazumune Masaki 2022-06-01 18:11:13 +09:00
  • 748456b3d2 introduce safe_x to allow inv() and div() w/o unwrap when not needed Kazumune Masaki 2022-06-01 17:51:38 +09:00
  • 0f72af8f75 implement pow using binary method Kazumune Masaki 2022-06-01 17:31:22 +09:00
  • 26f0997195 remove mul_u32 function Kazumune Masaki 2022-06-01 15:03:51 +09:00
  • 99aa2f6d29 merge field and field_elem modules into field module Kazumune Masaki 2022-06-01 14:30:07 +09:00
  • 38563a8827 clean up field module Kazumune Masaki 2022-06-01 14:25:28 +09:00
  • 842139d344 clean up field module (wip) Kazumune Masaki 2022-06-01 09:56:30 +09:00
  • bcb63082c7 add ed25519_sha512 (wip) Kazumune Masaki 2022-05-31 18:43:17 +09:00
  • bb0363a677 remove From<u32> bound from PrimInt Kazumune Masaki 2022-05-30 17:51:34 +09:00
  • 8a07cd733b specify K and initial hash value directly as numbers Kazumune Masaki 2022-05-30 17:50:04 +09:00
  • 089ecb3177 rename functions Kazumune Masaki 2022-05-28 11:05:23 +09:00
  • fbd76171fa remove unused module Kazumune Masaki 2022-05-28 09:11:23 +09:00
  • b8f7e2174f factor out common code from sha256 and sha512 Kazumune Masaki 2022-05-28 09:06:49 +09:00
  • b5f2d89130 factor out common code from sha256 and sha512 wip Kazumune Masaki 2022-05-27 19:14:38 +09:00
  • effeb6fb12 use same helper function names to sha512 in sha256 Kazumune Masaki 2022-05-22 18:35:51 +09:00
  • 1d32b6afe7 add sha512 hasher Kazumune Masaki 2022-05-22 18:34:40 +09:00
  • 18886c0280 add generic hmac Kazumune Masaki 2022-05-08 12:30:31 +09:00
  • b8868df5b1 rename sigma functions Kazumune Masaki 2022-03-25 07:46:29 +09:00
  • eef8f43720 update readme Kazumune Masaki 2022-03-24 14:39:28 +09:00
  • 0cee2ba8e2 update readme Kazumune Masaki 2022-03-24 14:38:05 +09:00
  • a54aa2c40c update readme Kazumune Masaki 2022-03-24 06:24:08 +09:00
  • fa3c4695a2 wip Kazumune Masaki 2022-03-24 06:22:45 +09:00
  • abdb922341 wip Kazumune Masaki 2022-03-23 21:48:08 +09:00
  • 205b13df66 remove unused lines Kazumune Masaki 2022-03-23 21:43:42 +09:00
  • e21d9ca70b drop unneeded tests Kazumune Masaki 2022-03-23 18:57:36 +09:00
  • b0927476c1 drop external sha implementation Kazumune Masaki 2022-03-23 18:57:02 +09:00
  • acb6e1ab14 wip Kazumune Masaki 2022-03-23 18:56:22 +09:00
  • 40b55d0964 update readme Kazumune Masaki 2022-03-23 18:38:50 +09:00
  • 788b4edeb8 add hasher trait. add working sha256 hasher Kazumune Masaki 2022-03-23 18:38:18 +09:00
  • e461c06627 wip Kazumune Masaki 2022-03-23 10:21:24 +09:00
  • 3e93a7b740 make initial hash value and k256 const values Kazumune Masaki 2022-03-23 10:20:32 +09:00
  • b5a9d98168 wip Kazumune Masaki 2022-03-22 19:32:39 +09:00
  • 3a7cad012b add sha256 (wip) Kazumune Masaki 2022-03-21 18:11:00 +09:00
  • c04437c95b remove test_ prefix from tests. add sha256 (wip) Kazumune Masaki 2022-03-21 08:12:32 +09:00
  • 0529485a33 revert test Kazumune Masaki 2022-03-19 13:27:10 +09:00
  • 83048797f6 remove unnecesssary computation from jacobian add ops Kazumune Masaki 2022-03-19 13:26:41 +09:00
  • 57b8239282 update readme Kazumune Masaki 2022-03-18 14:15:13 +09:00
  • f0e6636c2b add jacobian add operations Kazumune Masaki 2022-03-18 14:13:12 +09:00
  • 0cfb4b5d7c add jacobian add ops (wip) Kazumune Masaki 2022-03-17 19:23:47 +09:00
  • bf76b09168 update readme Kazumune Masaki 2022-03-17 08:14:27 +09:00
  • 983bdfdbc6 fix comment Kazumune Masaki 2022-03-16 19:04:12 +09:00
  • 1b82740fc8 add ECDSA sign/verify tests Kazumune Masaki 2022-03-16 18:52:40 +09:00
  • 775d53717a simplify EcPoint. add ecdsa sign/verify w/o tests. Kazumune Masaki 2022-03-16 17:52:18 +09:00
  • 48215b8209 add ecdsa sign and verify (wip) Kazumune Masaki 2022-03-15 19:14:46 +09:00
  • eac69de778 wip Kazumune Masaki 2022-03-14 18:18:33 +09:00
  • 313c5cec8e wip Kazumune Masaki 2022-03-14 18:17:38 +09:00
  • 76fdce03ca wip Kazumune Masaki 2022-03-14 18:13:22 +09:00