crypto/ecies: remove unused ecies

This commit is contained in:
cuiweixie 2026-01-13 03:49:03 +08:00
parent 127d1f42bb
commit 794737fdd1

View file

@ -45,7 +45,6 @@ import (
)
var (
ErrImport = errors.New("ecies: failed to import key")
ErrInvalidCurve = errors.New("ecies: invalid elliptic curve")
ErrInvalidPublicKey = errors.New("ecies: invalid public key")
ErrSharedKeyIsPointAtInfinity = errors.New("ecies: shared key is point at infinity")
@ -140,7 +139,6 @@ func (prv *PrivateKey) GenerateShared(pub *PublicKey, skLen, macLen int) (sk []b
}
var (
ErrSharedTooLong = errors.New("ecies: shared secret is too long")
ErrInvalidMessage = errors.New("ecies: invalid message")
)