From b7681cf73ca841bab9e06d279c8ef3941b543420 Mon Sep 17 00:00:00 2001 From: Fang Date: Tue, 4 Sep 2018 18:08:00 +0200 Subject: [PATCH] Make ++ecdsa-raw-recover accept unmodified signature Continuation of b2365dbd4 --- sys/zuse.hoon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/zuse.hoon b/sys/zuse.hoon index 1a557d209..00036580f 100644 --- a/sys/zuse.hoon +++ b/sys/zuse.hoon @@ -4209,7 +4209,7 @@ ++ ecdsa-raw-recover :: get pubkey from sig |= [has=@uvI sig=[v=@ r=@ s=@]] ^- pont - ?> ?&((lte 27 v.sig) (lte v.sig 34)) + ?> (lte v.sig 7) =/ x r.sig =/ ysq (sum.p b (exp.p 3 x)) :: omits A=0 =/ bet (exp.p (div +(^p) 4) ysq)