From 5bd8ad321e82bd66cd8f24460616fd391d5b2518 Mon Sep 17 00:00:00 2001 From: Tomas Susanka Date: Fri, 26 Jul 2019 15:41:46 +0200 Subject: [PATCH] core/shamir: increase default iteration exponent to 1 --- core/src/trezor/crypto/slip39.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/trezor/crypto/slip39.py b/core/src/trezor/crypto/slip39.py index e495f2a93d..5fe73232e7 100644 --- a/core/src/trezor/crypto/slip39.py +++ b/core/src/trezor/crypto/slip39.py @@ -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."""