axelarnetwork / tofn

A threshold cryptography library in Rust
Apache License 2.0
110 stars 23 forks source link

Investigate alternatives for corrupting data in malicious mode #137

Closed ggutoski closed 2 months ago

ggutoski commented 3 years ago

Born of this PR comment.

Our custom corrupt! macro is not quite ideal. Here's an example where we need a hack to avoid build warnings:

https://github.com/axelarnetwork/tofn/blob/57c972a906df3bcb1fdea98e14d5e41d813a8e1d/src/gg20/sign/r6.rs#L204-L206