From b0b7432b652a0cb625cc2f6de966854039e5f3f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ioan=20Biz=C4=83u?= Date: Wed, 27 Nov 2024 13:41:19 +0100 Subject: [PATCH] chore(core/tropic): update libtropic. --- core/embed/upymod/modtrezorcrypto/modtrezorcrypto-tropic.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/embed/upymod/modtrezorcrypto/modtrezorcrypto-tropic.h b/core/embed/upymod/modtrezorcrypto/modtrezorcrypto-tropic.h index c5ef776366..a43c9f270f 100644 --- a/core/embed/upymod/modtrezorcrypto/modtrezorcrypto-tropic.h +++ b/core/embed/upymod/modtrezorcrypto/modtrezorcrypto-tropic.h @@ -70,9 +70,9 @@ STATIC void tropic_init(lt_handle_t *handle) { uint8_t shipriv[] = SHiPRIV_BYTES; uint8_t shipub[] = SHiPUB_BYTES; - ret = lt_handshake(handle, stpub, pkey_index, shipriv, shipub); + ret = lt_session_start(handle, stpub, pkey_index, shipriv, shipub); if (ret != LT_OK) { - mp_raise_msg(&mp_type_TropicError, "lt_handshake failed."); + mp_raise_msg(&mp_type_TropicError, "lt_session_start failed."); } }