supranational / blst

Multilingual BLS12-381 signature library
Apache License 2.0
467 stars 177 forks source link

[Question] 3 different schemes and their API #144

Open alxiong opened 1 year ago

alxiong commented 1 year ago

Looking at Rust binding, I couldn't find dedicated APIs for "basic", "message augmentation", and "proof-of-possession" variants of the schemes.

More confusingly, in benches/bls_benches.rs here: one of the ciphersuite specified indicate usage of POP, but there's no code related to proof-of-possession to be found (maybe I miss something?)

Also for "basic" scheme, there's no option to check uniqueness of messages (I saw an TODO comment tho) either.

Could you please clarify how to use the current APIs for the 3 schemes in the standard?

dot-asm commented 1 year ago

See discussion in #93. "It might be helpful to view [blst] as something that works with EC points and byte sequences, rather than keys and signatures."