mirror of
https://github.com/saymrwulf/risc0-curve25519-dalek-source.git
synced 2026-09-05 20:10:35 +00:00
Update src/x25519.rs
Co-Authored-By: DebugSteven <debugsteven@gmail.com>
This commit is contained in:
parent
f6da70d47b
commit
0fc69912d9
1 changed files with 0 additions and 1 deletions
|
|
@ -35,7 +35,6 @@ impl From<[u8; 32]> for EphemeralPublic {
|
|||
|
||||
/// A DH ephemeral secret key.
|
||||
#[repr(C)]
|
||||
#[derive(Default)] // we derive Default in order to use the clear() method in Drop
|
||||
pub struct EphemeralSecret(pub (crate) Scalar);
|
||||
|
||||
/// Overwrite ephemeral secret key material with null bytes when it goes out of scope.
|
||||
|
|
|
|||
Loading…
Reference in a new issue