This PR removes the use of clear_on_drop and
replaces it with zeroize. The switch to use zeroize would be
nice because the crate has nicer documentation and platform
support. This PR depends on https://github.com/dalek-cryptography/curve25519-dalek/pull/236
and should change theCargo.toml to use a newer version
of curve25519-dalek if this change is accepted.
Currently the Cargo.toml has a git dependency on the
branch I implemented the Zeroize traits for Scalar
and MontgomeryPoint on.
This PR removes the use of
clear_on_drop
and replaces it withzeroize
. The switch to usezeroize
would be nice because the crate has nicer documentation and platform support. This PR depends on https://github.com/dalek-cryptography/curve25519-dalek/pull/236 and should change theCargo.toml
to use a newer version ofcurve25519-dalek
if this change is accepted. Currently theCargo.toml
has a git dependency on the branch I implemented theZeroize
traits forScalar
andMontgomeryPoint
on.