go-ethereum/accounts
Daniel Liu f8c67edb64 accounts/scwallet: use go-ethereum crypto instead of go-ecdh (#22212)
* accounts/scwallet: use go-ethereum crypto instead of go-ecdh

github.com/wsddn/go-ecdh is a wrapper package for ECDH functionality
with any elliptic curve.

Since 'generic' ECDH is not required in accounts/scwallet (the curve is
always secp256k1), we can just use the standard library functionality
and our own crypto libraries to perform ECDH and save a dependency.

* Update accounts/scwallet/securechannel.go

Co-authored-by: Guillaume Ballet <gballet@gmail.com>

* Use the correct key

Co-authored-by: Guillaume Ballet <gballet@gmail.com>
2025-01-24 16:18:30 +08:00
..
abi accounts/abi/bind: fix erroneous test (#22053) 2025-01-24 16:18:30 +08:00
keystore accounts/keystore: add missing function doc for SignText (#21914) 2025-01-24 16:18:30 +08:00
scwallet accounts/scwallet: use go-ethereum crypto instead of go-ecdh (#22212) 2025-01-24 16:18:30 +08:00
usbwallet accounts/usbwallet: fix ledger version check (#21733) 2025-01-24 16:18:30 +08:00
accounts.go accouts, core: fix some comments (#21617) 2025-01-24 16:18:30 +08:00
accounts_test.go accounts: support for external signer API (#18079) 2025-01-24 16:18:29 +08:00
errors.go accounts: replace passPHRASE with passWORD in any user interactions (#19932) 2025-01-24 16:18:29 +08:00
hd.go accounts: fix Ledger Live account derivation path (clef) (#21757) 2025-01-24 16:18:30 +08:00
hd_test.go accounts: fix Ledger Live account derivation path (clef) (#21757) 2025-01-24 16:18:30 +08:00
manager.go accounts: add walletsNoLock to avoid double read lock (#20655) 2025-01-24 16:18:29 +08:00
sort.go accounts: smartcard wallet without the dependency on libpcsclite (#19273) 2025-01-24 16:18:29 +08:00
url.go accounts: add unit tests for URL (#17182) 2025-01-24 16:18:28 +08:00
url_test.go accounts: add unit tests for URL (#17182) 2025-01-24 16:18:28 +08:00