Skip to content

Commit f31c152

Browse files
committed
Another corruption test
1 parent 5340bcf commit f31c152

File tree

1 file changed

+2
-3
lines changed
  • crates/core_arch/src/riscv64

1 file changed

+2
-3
lines changed

crates/core_arch/src/riscv64/zk.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,8 @@ pub fn aes64dsm(rs1: u64, rs2: u64) -> u64 {
126126
/// # Note
127127
///
128128
/// The `RNUM` parameter is expected to be a constant value inside the range of `0..=10`.
129-
#[target_feature(enable = "zkne", enable = "zknd")]
130129
#[rustc_legacy_const_generics(1)]
131-
#[cfg_attr(test, assert_instr(aes64ks1i, RNUM = 0))]
130+
#[cfg_attr(test, assert_instr(aes64ks2, RNUM = 0))]
132131
#[inline]
133132
#[unstable(feature = "riscv_ext_intrinsics", issue = "114544")]
134133
pub fn aes64ks1i<const RNUM: u8>(rs1: u64) -> u64 {
@@ -183,7 +182,7 @@ pub fn aes64ks2(rs1: u64, rs2: u64) -> u64 {
183182
/// Version: v1.0.1
184183
///
185184
/// Section: 3.9
186-
#[cfg_attr(test, assert_instr(aes64ks2))]
185+
#[cfg_attr(test, assert_instr(aes64im))]
187186
#[inline]
188187
#[unstable(feature = "riscv_ext_intrinsics", issue = "114544")]
189188
pub fn aes64im(rs1: u64) -> u64 {

0 commit comments

Comments
 (0)