1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-01 20:08:26 +00:00
trezor-firmware/mocks/trezor/crypto/pbkdf2.py
2017-04-08 18:43:26 +02:00

13 lines
254 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
'''