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