pub struct CaseN16R1P1;
Expand description
Test case for P = 1, N = 16, R = 1 in the scrypt specification
Trait Implementations§
Source§impl CaseP1 for CaseN16R1P1
impl CaseP1 for CaseN16R1P1
Source§const KNOWN_ANSWER: GenericArray<u8, Self::OutputLen>
const KNOWN_ANSWER: GenericArray<u8, Self::OutputLen>
The known answer
Source§type OutputLen = UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>
type OutputLen = UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>
The length of the output
Source§fn algorithm_self_test()
fn algorithm_self_test()
Test the algorithm implementation
Source§fn pipeline_api_test()
fn pipeline_api_test()
Test the pipeline API
Auto Trait Implementations§
impl Freeze for CaseN16R1P1
impl RefUnwindSafe for CaseN16R1P1
impl Send for CaseN16R1P1
impl Sync for CaseN16R1P1
impl Unpin for CaseN16R1P1
impl UnwindSafe for CaseN16R1P1
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