mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-21 20:26:41 +00:00
crypto/ecies: remove unused ecies
This commit is contained in:
parent
127d1f42bb
commit
794737fdd1
1 changed files with 0 additions and 2 deletions
|
|
@ -45,7 +45,6 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
ErrImport = errors.New("ecies: failed to import key")
|
|
||||||
ErrInvalidCurve = errors.New("ecies: invalid elliptic curve")
|
ErrInvalidCurve = errors.New("ecies: invalid elliptic curve")
|
||||||
ErrInvalidPublicKey = errors.New("ecies: invalid public key")
|
ErrInvalidPublicKey = errors.New("ecies: invalid public key")
|
||||||
ErrSharedKeyIsPointAtInfinity = errors.New("ecies: shared key is point at infinity")
|
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 (
|
var (
|
||||||
ErrSharedTooLong = errors.New("ecies: shared secret is too long")
|
|
||||||
ErrInvalidMessage = errors.New("ecies: invalid message")
|
ErrInvalidMessage = errors.New("ecies: invalid message")
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue