pub enum Rv64ZkndInstruction<Reg> {
Aes64Ds {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
Aes64Dsm {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
Aes64Im {
rd: Reg,
rs1: Reg,
},
Aes64Ks1i {
rd: Reg,
rs1: Reg,
rnum: Rv64ZkndKsRnum,
},
Aes64Ks2 {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
}Expand description
RISC-V RV64 Zknd instructions (AES decryption and key schedule)
Variants§
Aes64Ds
AES final round decryption: InvShiftRows + InvSubBytes, no MixColumns
Aes64Dsm
AES middle round decryption: InvShiftRows + InvSubBytes + InvMixColumns
Aes64Im
AES inverse MixColumns on each 32-bit word of rs1
Aes64Ks1i
AES key schedule step 1 (rnum in 0..=10)
Aes64Ks2
AES key schedule step 2
Trait Implementations§
Source§impl<Reg: Clone> Clone for Rv64ZkndInstruction<Reg>
impl<Reg: Clone> Clone for Rv64ZkndInstruction<Reg>
Source§fn clone(&self) -> Rv64ZkndInstruction<Reg>
fn clone(&self) -> Rv64ZkndInstruction<Reg>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<Reg: Debug> Debug for Rv64ZkndInstruction<Reg>
impl<Reg: Debug> Debug for Rv64ZkndInstruction<Reg>
Source§impl<Reg> Display for Rv64ZkndInstruction<Reg>where
Reg: Display,
impl<Reg> Display for Rv64ZkndInstruction<Reg>where
Reg: Display,
§impl<Reg> Instruction for Rv64ZkndInstruction<Reg>
impl<Reg> Instruction for Rv64ZkndInstruction<Reg>
Source§impl<Reg: PartialEq> PartialEq for Rv64ZkndInstruction<Reg>
impl<Reg: PartialEq> PartialEq for Rv64ZkndInstruction<Reg>
impl<Reg: Copy> Copy for Rv64ZkndInstruction<Reg>
impl<Reg: Eq> Eq for Rv64ZkndInstruction<Reg>
impl<Reg> StructuralPartialEq for Rv64ZkndInstruction<Reg>
Auto Trait Implementations§
impl<Reg> Freeze for Rv64ZkndInstruction<Reg>where
Reg: Freeze,
impl<Reg> RefUnwindSafe for Rv64ZkndInstruction<Reg>where
Reg: RefUnwindSafe,
impl<Reg> Send for Rv64ZkndInstruction<Reg>where
Reg: Send,
impl<Reg> Sync for Rv64ZkndInstruction<Reg>where
Reg: Sync,
impl<Reg> Unpin for Rv64ZkndInstruction<Reg>where
Reg: Unpin,
impl<Reg> UnsafeUnpin for Rv64ZkndInstruction<Reg>where
Reg: UnsafeUnpin,
impl<Reg> UnwindSafe for Rv64ZkndInstruction<Reg>where
Reg: UnwindSafe,
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