[−][src]Trait sarkara::Packing
Associated Constants
const BYTES_LENGTH: usize
Required Methods
fn read_bytes<T, F>(&self, f: F) -> T where
F: FnOnce(&[u8]) -> T,
F: FnOnce(&[u8]) -> T,
fn from_bytes(buf: &[u8]) -> Self
TODO should be from_bytes(buf: &[u8; Self::LENGTH]) -> Self
Implementors
impl Packing for Message
[src]
impl Packing for Message
const BYTES_LENGTH: usize
[src]
fn read_bytes<T, F>(&self, f: F) -> T where
F: FnOnce(&[u8]) -> T,
[src]
fn read_bytes<T, F>(&self, f: F) -> T where
F: FnOnce(&[u8]) -> T,
fn from_bytes(buf: &[u8]) -> Self
[src]
fn from_bytes(buf: &[u8]) -> Self
impl Packing for sarkara::kex::kyber::PrivateKey
[src]
impl Packing for sarkara::kex::kyber::PrivateKey
const BYTES_LENGTH: usize
[src]
fn read_bytes<T, F>(&self, f: F) -> T where
F: FnOnce(&[u8]) -> T,
[src]
fn read_bytes<T, F>(&self, f: F) -> T where
F: FnOnce(&[u8]) -> T,
fn from_bytes(buf: &[u8]) -> Self
[src]
fn from_bytes(buf: &[u8]) -> Self
impl Packing for sarkara::kex::kyber::PublicKey
[src]
impl Packing for sarkara::kex::kyber::PublicKey
const BYTES_LENGTH: usize
[src]
fn read_bytes<T, F>(&self, f: F) -> T where
F: FnOnce(&[u8]) -> T,
[src]
fn read_bytes<T, F>(&self, f: F) -> T where
F: FnOnce(&[u8]) -> T,
fn from_bytes(buf: &[u8]) -> Self
[src]
fn from_bytes(buf: &[u8]) -> Self
impl Packing for sarkara::sign::dilithium::PrivateKey
[src]
impl Packing for sarkara::sign::dilithium::PrivateKey
const BYTES_LENGTH: usize
[src]
fn read_bytes<T, F>(&self, f: F) -> T where
F: FnOnce(&[u8]) -> T,
[src]
fn read_bytes<T, F>(&self, f: F) -> T where
F: FnOnce(&[u8]) -> T,
fn from_bytes(buf: &[u8]) -> Self
[src]
fn from_bytes(buf: &[u8]) -> Self
impl Packing for sarkara::sign::dilithium::PublicKey
[src]
impl Packing for sarkara::sign::dilithium::PublicKey
const BYTES_LENGTH: usize
[src]
fn read_bytes<T, F>(&self, f: F) -> T where
F: FnOnce(&[u8]) -> T,
[src]
fn read_bytes<T, F>(&self, f: F) -> T where
F: FnOnce(&[u8]) -> T,
fn from_bytes(buf: &[u8]) -> Self
[src]
fn from_bytes(buf: &[u8]) -> Self
impl Packing for SignatureData
[src]
impl Packing for SignatureData
const BYTES_LENGTH: usize
[src]
fn read_bytes<T, F>(&self, f: F) -> T where
F: FnOnce(&[u8]) -> T,
[src]
fn read_bytes<T, F>(&self, f: F) -> T where
F: FnOnce(&[u8]) -> T,
fn from_bytes(buf: &[u8]) -> Self
[src]
fn from_bytes(buf: &[u8]) -> Self