We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64de55e commit 015c708Copy full SHA for 015c708
internal/generator/ecdsa/template/ecdsa.test.go.tmpl
@@ -111,6 +111,7 @@ func TestNonMalleability(t *testing.T) {
111
r.Add(r, frMod)
112
buf := r.Bytes()
113
copy(bsig[sizeFr:], buf[:])
114
+ big.NewInt(1).FillBytes(bsig[:sizeFr])
115
116
var sig Signature
117
_, err := sig.SetBytes(bsig)
internal/generator/edwards/eddsa/template/eddsa.test.go.tmpl
@@ -79,6 +79,7 @@ func TestNonMalleability(t *testing.T) {
79
o.Add(&cp.Order, o)
80
buf := o.Bytes()
81
82
83
84
85
0 commit comments