File tree Expand file tree Collapse file tree 3 files changed +10
-11
lines changed Expand file tree Collapse file tree 3 files changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ func (id ID) Get() C.EllCurve {
4747 return C .Weierstrass .New (string (id ), f ,
4848 f .Elt ("-3" ),
4949 f .Elt ("0x051953eb9618e1c9a1f929a21a0b68540eea2da725b99b315f3b8b489918ef109e156193951ec7e937b1652c0bd3bb1bf073573df883d2c34f1ef451fd46b503f00" ),
50- str2bigInt ("0x7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd15b6c64746fc85f736b8af5e7ec53f04fbd8c4569a8f1f4540ea2435f5180d6b " ),
50+ str2bigInt ("0x1fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa51868783bf2f966b7fcc0148f709a5d03bb5c9b8899c47aebb6fb71e91386409 " ),
5151 big .NewInt (1 ))
5252 case SECP256K1 :
5353 f := GF .P256K1 .Get ()
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ module github.com/armfazh/h2c-go-ref
33go 1.11
44
55require (
6- github.com/armfazh/tozan-ecc v0.1.2
7- golang.org/x/crypto v0.0.0-20200602180216-279210d13fed
8- golang.org/x/sys v0.0.0-20200602225109-6fdc65e7d980 // indirect
6+ github.com/armfazh/tozan-ecc v0.1.3
7+ golang.org/x/crypto v0.0.0-20201124201722-c8d3bf9c5392
98)
Original file line number Diff line number Diff line change 1- github.com/armfazh/tozan-ecc v0.1.2 h1:mhwrQnxiKqlDUdU5v6o6IBXF+CUPhuLAEIAH1gdIAf0 =
2- github.com/armfazh/tozan-ecc v0.1.2 /go.mod h1:u25eZC5Z8uJFQxJxGBz1Blfii/7m3DfmwX0vFnwtG9I =
1+ github.com/armfazh/tozan-ecc v0.1.3 h1:g3OKE0KR4L/GZaoQYzsOUdg97Ey5lZRl1i1fD/QkUUw =
2+ github.com/armfazh/tozan-ecc v0.1.3 /go.mod h1:u25eZC5Z8uJFQxJxGBz1Blfii/7m3DfmwX0vFnwtG9I =
33golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 /go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w =
4- golang.org/x/crypto v0.0.0-20200602180216-279210d13fed h1:g4KENRiCMEx58Q7/ecwfT0N2o8z35Fnbsjig/Alf2T4 =
5- golang.org/x/crypto v0.0.0-20200602180216-279210d13fed /go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto =
4+ golang.org/x/crypto v0.0.0-20201124201722-c8d3bf9c5392 h1:xYJJ3S178yv++9zXV/hnr29plCAGO9vAFG9dorqaFQc =
5+ golang.org/x/crypto v0.0.0-20201124201722-c8d3bf9c5392 /go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I =
66golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3 /go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg =
77golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a /go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY =
8- golang.org/x/sys v0.0.0-20190412213103-97732733099d /go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs =
9- golang.org/x/sys v0.0.0-20200602225109-6fdc65e7d980 h1:OjiUf46hAmXblsZdnoSXsEUSKU8r1UEzcL5RVZ4gO9Y =
10- golang.org/x/sys v0.0.0-20200602225109-6fdc65e7d980 /go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs =
8+ golang.org/x/sys v0.0.0-20191026070338-33540a1f6037 h1:YyJpGZS1sBuBCzLAR1VEpK193GlqGZbnPFnPV/5Rsb4 =
9+ golang.org/x/sys v0.0.0-20191026070338-33540a1f6037 /go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs =
10+ golang.org/x/term v0.0.0-20201117132131-f5c789dd3221 /go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw =
1111golang.org/x/text v0.3.0 /go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ =
You can’t perform that action at this time.
0 commit comments