pub struct NtruHrssParams {
pub n: usize,
pub q: u16,
pub p: u16,
pub public_key_size: usize,
pub secret_key_size: usize,
pub ciphertext_size: usize,
pub shared_secret_size: usize,
}Expand description
NTRU-HRSS parameter set
Fields§
§n: usizePolynomial degree
q: u16Modulus
p: u16Padding parameter
public_key_size: usizePublic key size in bytes
secret_key_size: usizeSecret key size in bytes
ciphertext_size: usizeCiphertext size in bytes
Shared secret size in bytes
Auto Trait Implementations§
impl Freeze for NtruHrssParams
impl RefUnwindSafe for NtruHrssParams
impl Send for NtruHrssParams
impl Sync for NtruHrssParams
impl Unpin for NtruHrssParams
impl UnwindSafe for NtruHrssParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more