1
0
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:
Pavol Rusnak 2016-02-10 18:01:55 +01:00
parent 89dff71612
commit fa8fdb683a
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -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