pub trait KeygenSecurityLevel:
Clone
+ Sync
+ Send
+ 'static {
type KappaBytes: AsRef<[u8]> + AsMut<[u8]> + Default + Clone + FromHex<Error = FromHexError> + Send + Sync + Unpin + 'static;
const KAPPA_BITS: u32;
const KAPPA_BYTES: usize;
}Expand description
Security level of CGGMP24 DKG protocol Security level of the DKG protocol
You should not implement this trait manually. Use define_security_level macro instead.
Required Associated Constants§
Sourceconst KAPPA_BITS: u32
const KAPPA_BITS: u32
$\kappa$ bits
Sourceconst KAPPA_BYTES: usize
const KAPPA_BYTES: usize
$\kappa/8$ bytes
Required Associated Types§
Sourcetype KappaBytes: AsRef<[u8]> + AsMut<[u8]> + Default + Clone + FromHex<Error = FromHexError> + Send + Sync + Unpin + 'static
type KappaBytes: AsRef<[u8]> + AsMut<[u8]> + Default + Clone + FromHex<Error = FromHexError> + Send + Sync + Unpin + 'static
Byte array of KAPPA_BYTES bytes
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.