[go-nuts] some questions to use ScalarMult

2017-05-31 Thread
I am using ECC ScalarMult to get a point. When I use the amd64 accelerated version, the result is wrong; by using the generic version, the result is normal. My code is here: k, _ := hex.DecodeString("646d22e7aee42d44bd15cdf58006359283e1da83c2670b25d44906d03e9ed4eb") X, _ := new(big.Int).SetStr

[go-nuts] Re: some problems with ECDSA ScalarMult

2017-06-01 Thread
.Reader) aeskey2, _ := priv2.Curve.ScalarMult(X2, Y2, key2) fmt.Printf("to: %x\n", aeskey2) } 在 2017年6月1日星期四 UTC+8下午12:01:49,张伟写道: > > I am using ECC ScalarMult to get a point. When I use the amd64 accelerated > version, the result is wro