mirror of
https://github.com/saymrwulf/risc0-curve25519-dalek-source.git
synced 2026-09-08 20:40:32 +00:00
Make the Keypair struct inherit repr(C).
This commit is contained in:
parent
7888bfe3f8
commit
65b7a21062
1 changed files with 1 additions and 0 deletions
|
|
@ -753,6 +753,7 @@ impl<'d> Deserialize<'d> for PublicKey {
|
||||||
|
|
||||||
/// An ed25519 keypair.
|
/// An ed25519 keypair.
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
|
#[repr(C)]
|
||||||
pub struct Keypair {
|
pub struct Keypair {
|
||||||
/// The secret half of this keypair.
|
/// The secret half of this keypair.
|
||||||
pub secret: SecretKey,
|
pub secret: SecretKey,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue