dcrd/dcrec
Dave Collins 79f15b7f72
edwards: More strict pubkey parsing.
This modifies the public key parsing method to make it more strict by
rejecting public keys that are not exactly the required length as
opposed to silently truncating or padding them and adds tests
accordingly.

This helps prevent misuse by callers and makes it behave more
consistently with the secp256k1 public key parsing.

Note that this does not affect consensus code since the only place it is
called is during the signature verification opcode where the consensus
rules ensure the the key is the correct length before parsing it.
2022-01-13 11:28:48 -06:00
..
edwards edwards: More strict pubkey parsing. 2022-01-13 11:28:48 -06:00
secp256k1 secp256k1: Correct 96-bit accum double overflow. 2021-11-03 06:56:47 -05:00
common.go multi: Address some golint complaints. 2018-10-10 19:50:06 -05:00
go.mod multi: Don't use deprecated ioutil package. 2021-09-01 06:09:37 -05:00