1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 15:38:11 +00:00
Commit Graph

4 Commits

Author SHA1 Message Date
matejcik
15bd35824b
python/cosi: improve API
cosi.verify was renamed to verify_combined, because it is pretty much
ed25519.verify, and the new name implies what it does in terms of the
CoSi scheme: verify a signature with already-combined public keys.

cosi.verify_m_of_n signature was simplified by not requiring the `n`
parameter, which is not important for verification. The updated function
was renamed to cosi.verify, because this is the standard CoSi
verification operation: given signature, digest, required number of
signatures, sigmask, and a list of public keys, verify that enough
signatures are indicated and that they sign the digest.
2020-01-20 17:32:58 +01:00
matejcik
56f5f73550 tests: drop TrezorTest class 2019-09-12 14:41:05 +02:00
matejcik
e0f55be7a6 tests: convert from self.client to the client fixture 2019-08-29 15:07:50 +02:00
matejcik
b4fa6f2a7f tests: move device tests to top-level 2019-08-12 12:57:25 +02:00