diff options
Diffstat (limited to 'openpgp/src/crypto/mpi.rs')
-rw-r--r-- | openpgp/src/crypto/mpi.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/openpgp/src/crypto/mpi.rs b/openpgp/src/crypto/mpi.rs index aa5c2b4c..2cddbb05 100644 --- a/openpgp/src/crypto/mpi.rs +++ b/openpgp/src/crypto/mpi.rs @@ -209,13 +209,6 @@ impl MPI { } } - /// Securely overwrites the stored value. - pub(crate) fn secure_memzero(&mut self) { - unsafe { - ::memsec::memzero(self.value.as_mut_ptr(), self.value.len()); - } - } - /// Securely compares two MPIs in constant time. fn secure_memcmp(&self, other: &Self) -> Ordering { let cmp = unsafe { |