Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: protect public key zeroization against updates (#235)
Ristretto public key zeroizing is done manually due to the use of `OnceCell`. I recently came across a [clever design pattern](https://github.com/BLAKE3-team/BLAKE3/blob/master/src/lib.rs#L447-L466) that uses destructuring. The idea is that future changes to the underlying struct will trigger a compiler error to ensure that the zeroization implementation is also updated. This PR implements such a change.
- Loading branch information