Replace pqclean crate usages with libcrux

This commit is contained in:
Alex Bakon
2025-04-29 09:22:09 -04:00
committed by GitHub
parent aa71b2f2d8
commit 00ca3f4fd8
15 changed files with 462 additions and 548 deletions

View File

@@ -54,6 +54,8 @@ fn test_basic_prekey() {
try_all_combinations(
run,
&[
|| Box::new(LibSignalProtocolCurrent::new()),
|| Box::new(LibSignalProtocolV70::new()),
|| Box::new(LibSignalProtocolV21::new()),
|| Box::new(LibSignalProtocolV12::new()),
],
@@ -66,6 +68,11 @@ fn test_basic_prekey() {
let alice_name = "alice";
let bob_name = "bob";
println!(
"run with {} -> {}",
alice_store.version(),
bob_store.version()
);
let bob_pre_key_bundle = bob_store.create_pre_key_bundle();
alice_store.process_pre_key_bundle(bob_name, bob_pre_key_bundle);