Use `EphemeralKeyBytes` type in place of `[u8; 32]`
Extracted from: 279a8b6bb6
This commit is contained in:
parent
0e533078f4
commit
53e008b278
|
@ -33,6 +33,7 @@ impl AsRef<[u8]> for OutgoingCipherKey {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[derive(Clone, Debug)]
|
||||||
pub struct EphemeralKeyBytes(pub [u8; 32]);
|
pub struct EphemeralKeyBytes(pub [u8; 32]);
|
||||||
|
|
||||||
impl AsRef<[u8]> for EphemeralKeyBytes {
|
impl AsRef<[u8]> for EphemeralKeyBytes {
|
||||||
|
|
Loading…
Reference in New Issue