trezor-core/mocks/trezor/crypto/hashlib/blake2s.py

13 lines
293 B
Python

# ../extmod/modtrezorcrypto/modtrezorcrypto-blake2s.h
def update(self, data: bytes) -> None:
'''
Update the hash context with hashed data.
'''
# ../extmod/modtrezorcrypto/modtrezorcrypto-blake2s.h
def digest(self) -> bytes:
'''
Returns the digest of hashed data.
'''