1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-24 15:28:10 +00:00

core/shamir: increase default iteration exponent to 1

This commit is contained in:
Tomas Susanka 2019-07-26 15:41:46 +02:00
parent 529ec95c93
commit 5bd8ad321e

View File

@ -60,7 +60,7 @@ def bits_to_words(n: int) -> int:
MAX_SHARE_COUNT = const(16)
"""The maximum number of shares that can be created."""
DEFAULT_ITERATION_EXPONENT = const(0)
DEFAULT_ITERATION_EXPONENT = const(1)
_RADIX = 2 ** _RADIX_BITS
"""The number of words in the wordlist."""