Support zeroizing for SubgroupPoint (#682)

This commit is contained in:
Aaron Feickert 2025-01-19 10:54:30 -06:00 committed by GitHub
parent 6a0caa1b98
commit 868d614020
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1532,6 +1532,13 @@ impl ConditionallySelectable for SubgroupPoint {
} }
} }
#[cfg(all(feature = "group", feature = "zeroize"))]
impl Zeroize for SubgroupPoint {
fn zeroize(&mut self) {
self.0.zeroize();
}
}
#[cfg(feature = "group")] #[cfg(feature = "group")]
impl group::Group for SubgroupPoint { impl group::Group for SubgroupPoint {
type Scalar = Scalar; type Scalar = Scalar;