Skip to content

Commit 03b27a5

Browse files
committed
update algorithm initialization
1 parent 90a21aa commit 03b27a5

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

crates/algorithms/aesgcm/tests/wycheproof.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,36 +48,36 @@ fn test() {
4848
println!(" Test AES-GCM 128 {}", test.tc_id);
4949

5050
// Multiplexing
51-
run(&test, libcrux_aesgcm::AesGcm128);
51+
run(&test, libcrux_aesgcm::AesGcm128 {});
5252

5353
// Portable
54-
run(&test, libcrux_aesgcm::PortableAesGcm128);
54+
run(&test, libcrux_aesgcm::PortableAesGcm128 {});
5555

5656
// Neon
5757
#[cfg(all(target_arch = "aarch64", target_feature = "aes"))]
58-
run(&test, libcrux_aesgcm::NeonAesGcm128);
58+
run(&test, libcrux_aesgcm::NeonAesGcm128 {});
5959

6060
// x64
6161
#[cfg(all(target_arch = "x86_64"))]
62-
run(&test, libcrux_aesgcm::X64AesGcm128);
62+
run(&test, libcrux_aesgcm::X64AesGcm128 {});
6363
}
6464
} else if test_group.key_size == 256 {
6565
for test in test_group.tests {
6666
println!(" Test AES-GCM 256 {}", test.tc_id);
6767

6868
// Multiplexing
69-
run(&test, libcrux_aesgcm::AesGcm256);
69+
run(&test, libcrux_aesgcm::AesGcm256 {});
7070

7171
// Portable
72-
run(&test, libcrux_aesgcm::PortableAesGcm256);
72+
run(&test, libcrux_aesgcm::PortableAesGcm256 {});
7373

7474
// Neon
7575
#[cfg(all(target_arch = "aarch64", target_feature = "aes"))]
76-
run(&test, libcrux_aesgcm::NeonAesGcm256);
76+
run(&test, libcrux_aesgcm::NeonAesGcm256 {});
7777

7878
// x64
7979
#[cfg(all(target_arch = "x86_64"))]
80-
run(&test, libcrux_aesgcm::X64AesGcm256);
80+
run(&test, libcrux_aesgcm::X64AesGcm256 {});
8181
}
8282
}
8383
}

0 commit comments

Comments
 (0)