LLFourn / secp256kfun

A pure-rust secp256k1 library optimised for fun
BSD Zero Clause License
102 stars 29 forks source link

[frost] expose public polynomial #184

Closed nickfarrow closed 3 months ago

nickfarrow commented 3 months ago

Applications that restore backups need to have the ability to check a share image lies on the public polynomial

let polynomial = key.frost_key().point_polynomial();
let expected = poly::point::eval(&polynomial, share_index);