1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-21 05:48:23 +00:00
trezor-firmware/mocks/trezor/crypto/pbkdf2/Pbkdf2.py
2016-10-07 13:27:43 +02:00

13 lines
260 B
Python

# ../extmod/modtrezorcrypto/modtrezorcrypto-pbkdf2.h
def update(self, iterations: int) -> None:
'''
Update a PBKDF2 context
'''
# ../extmod/modtrezorcrypto/modtrezorcrypto-pbkdf2.h
def key(self) -> bytes:
'''
Retreive derived key
'''