1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-02 20:48:30 +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
'''