mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-13 19:18:56 +00:00
add reed solomon
This commit is contained in:
parent
89dff71612
commit
fa8fdb683a
@ -129,6 +129,14 @@ def sign(message: bytes, secret_key: bytes32, public_key: bytes33 = None) -> byt
|
||||
def verify(message: bytes, public_key: bytes33, signature: bytes65) -> bool: # valid
|
||||
```
|
||||
|
||||
###trezor.crypto.reedsolomon
|
||||
|
||||
``` python
|
||||
def encode(data: bytes) -> bytes: # encoded
|
||||
|
||||
def decode(data: bytes) -> bytes: # decoded
|
||||
```
|
||||
|
||||
###trezor.crypto.secp256k1
|
||||
|
||||
``` python
|
||||
|
Loading…
Reference in New Issue
Block a user