Skip to content

Commit 8f5413e

Browse files
AGWAericchiang
authored andcommitted
Remove obsolete comments about Ed25519 support
1 parent 12c06a0 commit 8f5413e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

v2/piv/key.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -440,8 +440,6 @@ type Algorithm int
440440
// Algorithms supported by this package. Note that not all cards will support
441441
// every algorithm.
442442
//
443-
// AlgorithmEd25519 is currently only implemented by SoloKeys.
444-
//
445443
// For algorithm discovery, see: https://github.com/ericchiang/piv-go/issues/1
446444
const (
447445
AlgorithmEC256 Algorithm = iota + 1
@@ -1402,8 +1400,6 @@ func ykECDHX25519(tx *scTx, slot Slot, pub *ecdh.PublicKey, peer *ecdh.PublicKey
14021400
return sharedSecret, nil
14031401
}
14041402

1405-
// This function only works on SoloKeys prototypes and other PIV devices that choose
1406-
// to implement Ed25519 signatures under alg 0x22.
14071403
func skSignEd25519(tx *scTx, slot Slot, pub ed25519.PublicKey, digest []byte) ([]byte, error) {
14081404
// Adaptation of
14091405
// https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-73-4.pdf#page=118

0 commit comments

Comments
 (0)