mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-10-11 18:39:05 +00:00
49 lines
1.2 KiB
Python
49 lines
1.2 KiB
Python
|
|
# extmod/modtrezorcrypto/modtrezorcrypto-blake2b.h
|
|
def blake2b(data: bytes=None, key: bytes=None) -> Blake2b:
|
|
'''
|
|
Creates a hash context object.
|
|
'''
|
|
|
|
# extmod/modtrezorcrypto/modtrezorcrypto-sha3-256.h
|
|
def sha3_256(data: bytes=None) -> Sha3_256:
|
|
'''
|
|
Creates a hash context object.
|
|
'''
|
|
|
|
# extmod/modtrezorcrypto/modtrezorcrypto-sha512.h
|
|
def sha512(data: bytes=None) -> Sha512:
|
|
'''
|
|
Creates a hash context object.
|
|
'''
|
|
|
|
# extmod/modtrezorcrypto/modtrezorcrypto-sha256.h
|
|
def sha256(data: bytes=None) -> Sha256:
|
|
'''
|
|
Creates a hash context object.
|
|
'''
|
|
|
|
# extmod/modtrezorcrypto/modtrezorcrypto-ripemd160.h
|
|
def ripemd160(data: bytes=None) -> Ripemd160:
|
|
'''
|
|
Creates a hash context object.
|
|
'''
|
|
|
|
# extmod/modtrezorcrypto/modtrezorcrypto-sha3-512.h
|
|
def sha3_512(data: bytes=None) -> Sha3_512:
|
|
'''
|
|
Creates a hash context object.
|
|
'''
|
|
|
|
# extmod/modtrezorcrypto/modtrezorcrypto-sha1.h
|
|
def sha1(data: bytes=None) -> Sha1:
|
|
'''
|
|
Creates a hash context object.
|
|
'''
|
|
|
|
# extmod/modtrezorcrypto/modtrezorcrypto-blake2s.h
|
|
def blake2s(data: bytes=None, key: bytes=None) -> Blake2s:
|
|
'''
|
|
Creates a hash context object.
|
|
'''
|