From 794737fdd1004f95f448751cc36ad3864e6b5a46 Mon Sep 17 00:00:00 2001 From: cuiweixie Date: Tue, 13 Jan 2026 03:49:03 +0800 Subject: [PATCH] crypto/ecies: remove unused ecies --- crypto/ecies/ecies.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/crypto/ecies/ecies.go b/crypto/ecies/ecies.go index 76f934c72d..e346dc1e7e 100644 --- a/crypto/ecies/ecies.go +++ b/crypto/ecies/ecies.go @@ -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") )