protolambda / go-kzg

FFT, data-recovery and KZG commitments, a.k.a. Kate commitments, in Go - *super experimental*
MIT License
90 stars 26 forks source link

alloc new scratchpad for operations in kilic bls #17

Closed protolambda closed 3 years ago

protolambda commented 3 years ago

For concurrent usage, we can't reuse the curve instance, and need to allocate a new struct (it contains a scratch pad). Performance does not look much worse.