Open jannikluhn opened 2 weeks ago
We do an unnecessary epoch secret key share verification during decryption key share handling: DecryptionKeyShareHandler.HandleMessage -> DecryptionKeyShareHandler.aggregateDecryptionKeySharesFromDB -> epochKG.HandleEpochSecretKeyShare -> VerifyEpochSecretKeyShare
Preliminary benchmarks suggest that this is the bottleneck of the handler. We should check if this can be removed (ie is only called on trusted inputs) and if so remove it. If not, maybe there's a way to pass a flag to disable the check.