2016-05-05 19:41:03 +00:00
|
|
|
#TREZOR OS API
|
|
|
|
|
|
|
|
Syntax used below is a valid Python function declaration with type hints defined in [PEP 0484](https://www.python.org/dev/peps/pep-0484/).
|
|
|
|
|
|
|
|
##trezor.crypto
|
|
|
|
|
|
|
|
###trezor.crypto.base58
|
|
|
|
|
|
|
|
@src/trezor/crypto/base58.py
|
|
|
|
|
|
|
|
###trezor.crypto.curve
|
|
|
|
|
2016-05-05 20:12:26 +00:00
|
|
|
####trezor.crypto.curve.ed25519
|
|
|
|
|
2016-05-05 19:41:03 +00:00
|
|
|
@extmod/modtrezorcrypto/modtrezorcrypto-ed25519.h
|
|
|
|
|
2016-05-05 20:12:26 +00:00
|
|
|
####trezor.crypto.curve.nist256p1
|
|
|
|
|
2016-05-05 19:41:03 +00:00
|
|
|
@extmod/modtrezorcrypto/modtrezorcrypto-nist256p1.h
|
|
|
|
|
2016-05-05 20:12:26 +00:00
|
|
|
####trezor.crypto.curve.secp256k1
|
|
|
|
|
2016-05-05 19:41:03 +00:00
|
|
|
@extmod/modtrezorcrypto/modtrezorcrypto-secp256k1.h
|
|
|
|
|
|
|
|
###trezor.crypto.hashlib
|
|
|
|
|
2016-05-05 20:12:26 +00:00
|
|
|
####trezor.crypto.hashlib.ripemd160
|
|
|
|
|
2016-05-05 19:41:03 +00:00
|
|
|
@extmod/modtrezorcrypto/modtrezorcrypto-ripemd160.h
|
|
|
|
|
2016-05-05 20:12:26 +00:00
|
|
|
####trezor.crypto.hashlib.sha256
|
|
|
|
|
2016-05-05 19:41:03 +00:00
|
|
|
@extmod/modtrezorcrypto/modtrezorcrypto-sha256.h
|
|
|
|
|
2016-05-05 20:12:26 +00:00
|
|
|
####trezor.crypto.hashlib.sha512
|
|
|
|
|
2016-05-05 19:41:03 +00:00
|
|
|
@extmod/modtrezorcrypto/modtrezorcrypto-sha512.h
|
|
|
|
|
2016-05-05 20:12:26 +00:00
|
|
|
####trezor.crypto.hashlib.sha3_256
|
|
|
|
|
2016-05-05 19:41:03 +00:00
|
|
|
@extmod/modtrezorcrypto/modtrezorcrypto-sha3-256.h
|
|
|
|
|
2016-05-05 20:12:26 +00:00
|
|
|
####trezor.crypto.hashlib.sha3_512
|
|
|
|
|
2016-05-05 19:41:03 +00:00
|
|
|
@extmod/modtrezorcrypto/modtrezorcrypto-sha3-512.h
|
|
|
|
|
|
|
|
###trezor.crypto.hmac
|
|
|
|
|
|
|
|
@src/trezor/crypto/hmac.py
|
|
|
|
|
|
|
|
##trezor.msg
|
|
|
|
|
|
|
|
@extmod/modtrezormsg/modtrezormsg.c
|
|
|
|
|
|
|
|
##trezor.ui
|
|
|
|
|
|
|
|
@src/trezor/ui.py
|
|
|
|
|
|
|
|
###trezor.ui.display
|
|
|
|
|
|
|
|
@extmod/modtrezorui/modtrezorui-display.h
|
2016-05-05 20:44:47 +00:00
|
|
|
|
|
|
|
###trezor.utils
|
|
|
|
|
|
|
|
@extmod/modtrezorutils/modtrezorutils.c
|