mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-07-10 00:28:07 +00:00

- core/bitcoin: move common files to the app's root - core/bitcoin: use require_confirm instead of confirm - core: move bitcoin unrelated functions from 'bitcoin' to a new 'misc' app - core/bitcoin: use relative imports inside the app - core: rename wallet app to bitcoin - core/wallet: replace SigningErrors and the other exception classes with wire.Errors
10 lines
363 B
Python
10 lines
363 B
Python
from trezor import wire
|
|
from trezor.messages import MessageType
|
|
|
|
|
|
def boot() -> None:
|
|
wire.add(MessageType.GetEntropy, __name__, "get_entropy")
|
|
wire.add(MessageType.SignIdentity, __name__, "sign_identity")
|
|
wire.add(MessageType.GetECDHSessionKey, __name__, "get_ecdh_session_key")
|
|
wire.add(MessageType.CipherKeyValue, __name__, "cipher_key_value")
|