regenerate mocks

This commit is contained in:
Pavol Rusnak 2016-10-03 15:47:54 +02:00
parent 97522be434
commit 031550a5ed
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
5 changed files with 32 additions and 20 deletions

View File

@ -5,18 +5,6 @@ def ripemd160(data: bytes=None) -> Ripemd160:
Creates a hash context object. 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-sha512.h
def sha512(data: bytes=None) -> Sha512:
'''
Creates a hash context object.
'''
# ../extmod/modtrezorcrypto/modtrezorcrypto-sha256.h # ../extmod/modtrezorcrypto/modtrezorcrypto-sha256.h
def sha256(data: bytes=None) -> Sha256: def sha256(data: bytes=None) -> Sha256:
''' '''
@ -28,3 +16,15 @@ def sha3_256(data: bytes=None) -> Sha3_256:
''' '''
Creates a hash context object. 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-sha512.h
def sha512(data: bytes=None) -> Sha512:
'''
Creates a hash context object.
'''

View File

@ -1,4 +1,16 @@
# ../extmod/modtrezorui/modtrezorui-display.h
def clear() -> None
'''
Clear display (with black color)
'''
# ../extmod/modtrezorui/modtrezorui-display.h
def refresh() -> None
'''
Refresh display (update screen)
'''
# ../extmod/modtrezorui/modtrezorui-display.h # ../extmod/modtrezorui/modtrezorui-display.h
def bar(x: int, y: int, w: int, h: int, fgcolor: int, bgcolor: int=None, radius: int=None) -> None: def bar(x: int, y: int, w: int, h: int, fgcolor: int, bgcolor: int=None, radius: int=None) -> None:
''' '''