Use `EphemeralKeyBytes` type in place of `[u8; 32]`

Extracted from: 279a8b6bb6
This commit is contained in:
Jack Grigg 2021-08-09 21:28:42 +01:00
parent 0e533078f4
commit 53e008b278
1 changed files with 1 additions and 0 deletions

View File

@ -33,6 +33,7 @@ impl AsRef<[u8]> for OutgoingCipherKey {
}
}
#[derive(Clone, Debug)]
pub struct EphemeralKeyBytes(pub [u8; 32]);
impl AsRef<[u8]> for EphemeralKeyBytes {