00:05:19 | kinlo_: | kinlo_ is now known as kinlo |
00:07:12 | pigeons_: | pigeons_ is now known as pigeons |
00:07:30 | otoburb_: | otoburb_ is now known as Guest14307 |
00:09:43 | Keefe_: | Keefe_ is now known as Keefe |
00:22:02 | paavo_: | paavo_ is now known as paavo |
00:24:04 | otoburb: | otoburb is now known as Guest32946 |
00:38:55 | Pan0ram1x: | Pan0ram1x is now known as Guest76036 |
00:39:33 | andrew__1: | andrew__1 is now known as justanotheruser |
00:40:05 | OneFixt_: | OneFixt_ is now known as OneFixt |
00:45:49 | otoburb_: | otoburb_ is now known as otoburb |
03:29:25 | helo_: | helo_ is now known as helowtf |
03:29:28 | helowtf: | helowtf is now known as helo |
04:03:24 | wallet42: | wallet42 is now known as Guest90364 |
04:03:24 | wallet421: | wallet421 is now known as wallet42 |
09:35:00 | gmaxwell: | Epic ECC fail, some random PHPECC code linked in #bitcoin |
09:35:26 | gmaxwell: | implements a generic point addition that should work on Weierstrass curves. |
09:35:41 | gmaxwell: | starts off with this gem: |
09:35:59 | gmaxwell: | if (gmp_Utils::gmp_mod2(gmp_cmp($p1->x, $p2->x), $p1->curve->getPrime()) == 0) { |
09:36:03 | gmaxwell: | if (gmp_Utils::gmp_mod2(gmp_add($p1->y, $p2->y), $p1->curve->getPrime()) == 0) { |
09:36:12 | gmaxwell: | cmp()% Fp wtf?! |
09:38:25 | dsnrk: | at the risk of revealing my complete lack of knowledge with EC; what's the end result? |
09:38:38 | gmaxwell: | I think its actually harmless by chance but its still a WTF |
09:39:41 | otoburb_: | otoburb_ is now known as Guest98694 |
09:40:27 | gmaxwell: | dsnrk: what it's trying to do is tell if p1 == p2 or if p1 == -p2 in the first case the x,y will match, in the latter case x will match but the sum of the y's mod Fp will be 0. |
09:45:29 | lclc_: | lclc_ is now known as lclc |
10:09:52 | michagogo_: | michagogo_ is now known as michagogo |
10:32:07 | michagogo_: | michagogo_ is now known as Guest4849 |
10:54:25 | luke-jr_: | luke-jr_ is now known as Luke-Jr |
10:57:29 | wallet421: | wallet421 is now known as wallet42 |
12:00:21 | Guest4849: | Guest4849 is now known as michagogo |