1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-23 06:48:16 +00:00

docs(core): Fix typos in slip39.py.

This commit is contained in:
Andrew Kozlik 2020-10-11 00:31:24 +02:00
parent 6cc1d70f2e
commit d90c3af6ea

View File

@ -20,10 +20,10 @@
""" """
This implements the high-level functions for SLIP-39, also called "Shamir Backup". This implements the high-level functions for SLIP-39, also called "Shamir Backup".
It uses crypto/shamir.c for the cryptographic operations and crypto.slip39.c for It uses crypto/shamir.c for the cryptographic operations and crypto/slip39.c for
performance-heavy operations (mostly regarding the wordlist). performance-heavy operations (mostly regarding the wordlist).
This consideres the Encrypted Master Secret, as defined in SLIP-39, as what is This considers the Encrypted Master Secret, as defined in SLIP-39, as what is
stored in the storage, then "decrypted" using a passphrase into a Master Secret, stored in the storage, then "decrypted" using a passphrase into a Master Secret,
which is then fed into BIP-32 for example. which is then fed into BIP-32 for example.
@ -353,7 +353,7 @@ def decode_mnemonic(mnemonic: str) -> Share:
""" """
## Convert mnemonics or integers to incices and back ## Convert mnemonics or integers to indices and back
""" """