Skip to content

Commit

Permalink
Merge pull request #3 from core-coin/feature/converters
Browse files Browse the repository at this point in the history
return false instead of panic in Ed448Verify
  • Loading branch information
error2215 authored Sep 2, 2021
2 parents 4e9e228 + 1b073e8 commit 28d4e7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion goldilocks.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func Ed448Verify(pubkey PublicKey, signature, message, context []byte, prehashed
p := NewPoint([16]uint32{}, [16]uint32{}, [16]uint32{}, [16]uint32{})

if !p.EdDSADecode(pubkey[:]) {
panic("Point is not on the curve!")
return false
}
var sig [114]byte
copy(sig[:], signature[:])
Expand Down

0 comments on commit 28d4e7b

Please sign in to comment.