mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-07 14:00:57 +00:00
fixup! fixup! feat(core): add libtropic to unix build
This commit is contained in:
parent
14a5770703
commit
3bf8f12cd5
@ -1,7 +1,7 @@
|
||||
from typing import *
|
||||
|
||||
|
||||
# extmod/modtrezorcrypto/modtrezorcrypto-tropic.h
|
||||
# upymod/modtrezorcrypto/modtrezorcrypto-tropic.h
|
||||
class TropicError(Exception):
|
||||
"""Error returned by the Tropic Square chip."""
|
||||
|
||||
@ -22,13 +22,6 @@ class TropicError(Exception):
|
||||
Generate ECC key in the device's ECC key slot.
|
||||
"""
|
||||
|
||||
def random_get(
|
||||
len: int,
|
||||
) -> bytes:
|
||||
"""
|
||||
Get number of random bytes.
|
||||
"""
|
||||
|
||||
def sign(
|
||||
key_index: int,
|
||||
digest: bytes,
|
||||
|
Loading…
Reference in New Issue
Block a user