summaryrefslogtreecommitdiff
path: root/crypto/ecdsa.go
AgeCommit message (Collapse)Author
2023-10-28A bunch of linting and refactorings (#1893)Dave Henderson
2022-05-06a few tweaksDave Henderson
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
2022-05-06LintJesper B. Rosenkilde
2022-05-06Add ECDSA generation functions to crypto funcsJesper B. Rosenkilde
ECDSAGenerateKey takes one of Go's supported named NIST curves and an argument and returns a newly generated EC private key PEM encoded. ECDSADerivePublicKey takes a PEM encoded EC private key and derives the corresponding public key, which is returned PEM encoded.