MystenLabs / fastcrypto

Common cryptographic library used in software at Mysten Labs.
Apache License 2.0
246 stars 139 forks source link

Design EC apis that can take as inputs precomputed tables of public keys #590

Open kchalkias opened 1 year ago

kchalkias commented 1 year ago

This is useful for known/popular public keys. Similar with generator precomputed tables (but for keys)

benr-ml commented 1 year ago

@kchalkias where do we hope this will improve performance? Sui doesn't check individual signatures in the happy flow

kchalkias commented 1 year ago

Not referring to validator BLS, but for popular Sui accounts (ie EdDSA or ECDSA sigs from game studio and custodians/exchanges etc, mass minters etc.

benr-ml commented 1 year ago

Oh, I see. Let's wait and see if we have such heavy keys in practice.