warning: unused variable: `state` --> benches/oprf_benchmark.rs:77:14 | 77 | let (state, _) = lpr_client_blind(&mut rng, password).unwrap(); | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` | = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `state` --> benches/oprf_benchmark.rs:68:10 | 68 | let (state, blinded) = lpr_client_blind(&mut rng2, password).unwrap(); | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` warning: unused variable: `c` --> benches/oprf_benchmark.rs:142:24 | 142 | fn bench_message_sizes(c: &mut Criterion) { | ^ help: if this is intentional, prefix it with an underscore: `_c` warning: unused variable: `response` --> benches/oprf_benchmark.rs:149:9 | 149 | let response = fast_server_evaluate(&fast_key, &blinded); | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` warning: function `bench_message_sizes` is never used --> benches/oprf_benchmark.rs:142:4 | 142 | fn bench_message_sizes(c: &mut Criterion) { | ^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: `opaque-lattice` (bench "oprf_benchmark") generated 5 warnings (run `cargo fix --bench "oprf_benchmark" -p opaque-lattice` to apply 4 suggestions) Finished `bench` profile [optimized] target(s) in 0.07s Running unittests src/lib.rs (target/release/deps/opaque_lattice-e85c89d8ee7a70ad) running 143 tests test ake::dilithium::tests::test_invalid_key_length ... ignored test ake::dilithium::tests::test_keypair_generation ... ignored test ake::dilithium::tests::test_public_key_serialization ... ignored test ake::dilithium::tests::test_sign_verify ... ignored test ake::dilithium::tests::test_signature_serialization ... ignored test ake::dilithium::tests::test_verify_wrong_key ... ignored test ake::dilithium::tests::test_verify_wrong_message ... ignored test ake::kyber::tests::test_ciphertext_serialization ... ignored test ake::kyber::tests::test_encapsulate_decapsulate ... ignored test ake::kyber::tests::test_invalid_key_length ... ignored test ake::kyber::tests::test_keypair_generation ... ignored test ake::kyber::tests::test_public_key_serialization ... ignored test ake::kyber::tests::test_secret_key_serialization ... ignored test ct_utils::tests::test_ct_abs_mod ... ignored test ct_utils::tests::test_ct_adjacent_quadrants ... ignored test ct_utils::tests::test_ct_eq_u8 ... ignored test ct_utils::tests::test_ct_gt_i32 ... ignored test ct_utils::tests::test_ct_gte_i32 ... ignored test ct_utils::tests::test_ct_max_i32 ... ignored test ct_utils::tests::test_ct_select_i32 ... ignored test ct_utils::tests::test_ct_select_u8 ... ignored test ct_utils::tests::test_ct_slice_eq_i32 ... ignored test envelope::tests::test_different_identities_different_envelopes ... ignored test envelope::tests::test_envelope_store_recover ... ignored test envelope::tests::test_envelope_wrong_password ... ignored test envelope::tests::test_masking ... ignored test kdf::tests::test_hkdf_expand ... ignored test kdf::tests::test_hkdf_expand_fixed ... ignored test kdf::tests::test_hkdf_extract ... ignored test kdf::tests::test_labeled_expand ... ignored test kdf::tests::test_labeled_extract ... ignored test kdf::tests::test_one_shot_functions ... ignored test login::tests::test_full_login_flow ... ignored test login::tests::test_tampered_signature_fails ... ignored test login::tests::test_wrong_password_fails ... ignored test mac::tests::test_compute_and_verify ... ignored test mac::tests::test_compute_multi ... ignored test mac::tests::test_different_keys_different_tags ... ignored test mac::tests::test_hmac_context ... ignored test mac::tests::test_hmac_context_verify ... ignored test mac::tests::test_verify_wrong_length ... ignored test mac::tests::test_verify_wrong_tag ... ignored test oprf::fast_oprf::tests::test_comparison_with_direct_prf ... ignored test oprf::fast_oprf::tests::test_determinism ... ignored test oprf::fast_oprf::tests::test_different_keys ... ignored test oprf::fast_oprf::tests::test_different_passwords ... ignored test oprf::fast_oprf::tests::test_empty_password ... ignored test oprf::fast_oprf::tests::test_error_bounds ... ignored test oprf::fast_oprf::tests::test_full_protocol_multiple_runs ... ignored test oprf::fast_oprf::tests::test_long_password ... ignored test oprf::fast_oprf::tests::test_obliviousness_statistical ... ignored test oprf::fast_oprf::tests::test_output_determinism_and_distribution ... ignored test oprf::fast_oprf::tests::test_protocol_correctness ... ignored test oprf::fast_oprf::tests::test_ring_arithmetic ... ignored test oprf::fast_oprf::tests::test_run_all_experiments ... ignored test oprf::fast_oprf::tests::test_small_element_determinism ... ignored test oprf::hybrid::tests::test_blinded_element_serialization ... ignored test oprf::hybrid::tests::test_evaluate_with_credential_id ... ignored test oprf::hybrid::tests::test_evaluated_element_serialization ... ignored test oprf::hybrid::tests::test_oprf_deterministic ... ignored test oprf::hybrid::tests::test_oprf_different_passwords ... ignored test oprf::hybrid::tests::test_oprf_different_seeds ... ignored test oprf::hybrid::tests::test_oprf_roundtrip ... ignored test oprf::ot::tests::test_ot_multiple_choices ... ignored test oprf::ot::tests::test_ot_receiver_cannot_get_both ... ignored test oprf::ot::tests::test_ot_single_choice_0 ... ignored test oprf::ot::tests::test_ot_single_choice_1 ... ignored test oprf::ring::tests::test_deterministic_round ... ignored test oprf::ring::tests::test_expand_seed_to_ring ... ignored test oprf::ring::tests::test_hash_from_ring ... ignored test oprf::ring::tests::test_hash_to_ring_deterministic ... ignored test oprf::ring::tests::test_hash_to_ring_different_inputs ... ignored test oprf::ring::tests::test_ring_add ... ignored test oprf::ring::tests::test_ring_element_creation ... ignored test oprf::ring::tests::test_ring_element_reduction ... ignored test oprf::ring::tests::test_ring_multiply_commutativity ... ignored test oprf::ring::tests::test_ring_multiply_identity ... ignored test oprf::ring::tests::test_ring_sub ... ignored test oprf::ring_lpr::tests::test_key_from_seed_deterministic ... ignored test oprf::ring_lpr::tests::test_key_serialization ... ignored test oprf::ring_lpr::tests::test_oprf_deterministic_same_key ... ignored test oprf::ring_lpr::tests::test_oprf_different_keys ... ignored test oprf::ring_lpr::tests::test_oprf_different_passwords ... ignored test oprf::ring_lpr::tests::test_oprf_roundtrip ... ignored test oprf::ring_lpr::tests::test_oprf_with_credential_id ... ignored test oprf::security_proofs::correctness_bounds::test_determinism_independent_of_accuracy ... ignored test oprf::security_proofs::correctness_bounds::test_error_distribution_analysis ... ignored test oprf::security_proofs::correctness_bounds::test_gaussian_error_model ... ignored test oprf::security_proofs::correctness_bounds::test_reconciliation_accuracy ... ignored test oprf::security_proofs::deterministic_derivation_security::test_dictionary_attack_vulnerability ... ignored test oprf::security_proofs::deterministic_derivation_security::test_password_correlation_attack ... ignored test oprf::security_proofs::deterministic_derivation_security::test_security_model_summary ... ignored test oprf::security_proofs::deterministic_derivation_security::test_session_linkability ... ignored test oprf::security_proofs::deterministic_derivation_security::test_small_secret_entropy ... ignored test oprf::security_proofs::deterministic_derivation_security::test_statistical_distinguisher ... ignored test oprf::security_proofs::edge_case_tests::test_binary_passwords ... ignored test oprf::security_proofs::edge_case_tests::test_empty_password ... ignored test oprf::security_proofs::edge_case_tests::test_maximum_length_password ... ignored test oprf::security_proofs::edge_case_tests::test_password_length_boundaries ... ignored test oprf::security_proofs::edge_case_tests::test_repeated_patterns ... ignored test oprf::security_proofs::edge_case_tests::test_similar_passwords ... ignored test oprf::security_proofs::edge_case_tests::test_single_byte_passwords ... ignored test oprf::security_proofs::edge_case_tests::test_unicode_passwords ... ignored test oprf::security_proofs::edge_case_tests::test_whitespace_sensitivity ... ignored test oprf::security_proofs::formal_reductions::test_ring_lpr_reduction ... ignored test oprf::security_proofs::formal_reductions::test_ring_lwe_reduction ... ignored test oprf::security_proofs::malicious_adversary::test_chosen_input_attack ... ignored test oprf::security_proofs::malicious_adversary::test_malicious_client_key_extraction ... ignored test oprf::security_proofs::malicious_adversary::test_malicious_server_password_extraction ... ignored test oprf::security_proofs::malicious_adversary::test_replay_attack_resistance ... ignored test oprf::security_proofs::malicious_adversary::test_timing_attack_resistance ... ignored test oprf::security_proofs::ring_lwe_security::test_key_recovery_resistance ... ignored test oprf::security_proofs::ring_lwe_security::test_lwe_sample_statistical_properties ... ignored test oprf::security_proofs::ring_lwe_security::test_multiple_query_security ... ignored test oprf::security_proofs::ring_lwe_security::test_password_hiding_indistinguishability ... ignored test oprf::security_proofs::ring_lwe_security::test_small_secret_bounds ... ignored test oprf::security_proofs::uc_security::test_no_information_leakage ... ignored test oprf::security_proofs::uc_security::test_real_ideal_indistinguishability ... ignored test oprf::security_proofs::uc_security::test_simulator_construction ... ignored test oprf::security_proofs::voprf_security::test_completeness ... ignored test oprf::security_proofs::voprf_security::test_rejection_sampling_security ... ignored test oprf::security_proofs::voprf_security::test_soundness_tampered_proof ... ignored test oprf::security_proofs::voprf_security::test_soundness_wrong_input ... ignored test oprf::security_proofs::voprf_security::test_soundness_wrong_key ... ignored test oprf::security_proofs::voprf_security::test_zero_knowledge_response_distribution ... ignored test oprf::security_proofs::voprf_security::test_zero_knowledge_simulatability ... ignored test oprf::voprf::tests::test_commitment_deterministic_from_seed ... ignored test oprf::voprf::tests::test_commitment_generation ... ignored test oprf::voprf::tests::test_consistent_outputs_same_key ... ignored test oprf::voprf::tests::test_different_outputs_different_keys ... ignored test oprf::voprf::tests::test_proof_fails_with_wrong_commitment ... ignored test oprf::voprf::tests::test_proof_fails_with_wrong_input ... ignored test oprf::voprf::tests::test_proof_generation_and_verification ... ignored test oprf::voprf::tests::test_proof_serialization ... ignored test oprf::voprf::tests::test_response_bounds ... ignored test oprf::voprf::tests::test_signed_ring_operations ... ignored test registration::tests::test_different_passwords_different_records ... ignored test registration::tests::test_full_registration_flow ... ignored test registration::tests::test_registration_with_identities ... ignored test types::tests::test_envelope_creation ... ignored test types::tests::test_oprf_seed_zeroize ... ignored test types::tests::test_server_public_key ... ignored test types::tests::test_session_key_zeroize ... ignored test result: ok. 0 passed; 0 failed; 143 ignored; 0 measured; 0 filtered out; finished in 0.00s Running benches/oprf_benchmark.rs (target/release/deps/oprf_benchmark-88b0e08ed7f0aa66) Gnuplot not found, using plotters backend Benchmarking fast_oprf/client_blind Benchmarking fast_oprf/client_blind: Warming up for 3.0000 s Benchmarking fast_oprf/client_blind: Collecting 100 samples in estimated 5.0268 s (242k iterations) Benchmarking fast_oprf/client_blind: Analyzing fast_oprf/client_blind time: [20.647 µs 20.708 µs 20.785 µs] change: [-0.0463% +0.5159% +1.1220%] (p = 0.07 > 0.05) No change in performance detected. Found 10 outliers among 100 measurements (10.00%) 2 (2.00%) high mild 8 (8.00%) high severe Benchmarking fast_oprf/server_evaluate Benchmarking fast_oprf/server_evaluate: Warming up for 3.0000 s Benchmarking fast_oprf/server_evaluate: Collecting 100 samples in estimated 5.0673 s (263k iterations) Benchmarking fast_oprf/server_evaluate: Analyzing fast_oprf/server_evaluate time: [18.951 µs 18.955 µs 18.960 µs] change: [+1.9579% +1.9986% +2.0423%] (p = 0.00 < 0.05) Performance has regressed. Found 5 outliers among 100 measurements (5.00%) 1 (1.00%) low severe 1 (1.00%) low mild 2 (2.00%) high mild 1 (1.00%) high severe Benchmarking fast_oprf/client_finalize Benchmarking fast_oprf/client_finalize: Warming up for 3.0000 s Benchmarking fast_oprf/client_finalize: Collecting 100 samples in estimated 5.0093 s (258k iterations) Benchmarking fast_oprf/client_finalize: Analyzing fast_oprf/client_finalize time: [19.297 µs 19.332 µs 19.380 µs] change: [+0.7140% +1.4212% +2.0918%] (p = 0.00 < 0.05) Change within noise threshold. Found 13 outliers among 100 measurements (13.00%) 2 (2.00%) low mild 2 (2.00%) high mild 9 (9.00%) high severe Benchmarking fast_oprf/full_protocol Benchmarking fast_oprf/full_protocol: Warming up for 3.0000 s Benchmarking fast_oprf/full_protocol: Collecting 100 samples in estimated 5.0863 s (86k iterations) Benchmarking fast_oprf/full_protocol: Analyzing fast_oprf/full_protocol time: [58.338 µs 58.356 µs 58.375 µs] change: [-2.1791% -1.7316% -1.3554%] (p = 0.00 < 0.05) Performance has improved. Found 9 outliers among 100 measurements (9.00%) 7 (7.00%) high mild 2 (2.00%) high severe Benchmarking ring_lpr_oprf/client_blind Benchmarking ring_lpr_oprf/client_blind: Warming up for 3.0000 s Benchmarking ring_lpr_oprf/client_blind: Collecting 100 samples in estimated 5.2282 s (1600 iterations) Benchmarking ring_lpr_oprf/client_blind: Analyzing ring_lpr_oprf/client_blind time: [3.2041 ms 3.2203 ms 3.2413 ms] change: [-0.0758% +0.5688% +1.2853%] (p = 0.10 > 0.05) No change in performance detected. Found 13 outliers among 100 measurements (13.00%) 3 (3.00%) high mild 10 (10.00%) high severe Benchmarking ring_lpr_oprf/server_evaluate Benchmarking ring_lpr_oprf/server_evaluate: Warming up for 3.0000 s Benchmarking ring_lpr_oprf/server_evaluate: Collecting 100 samples in estimated 5.3322 s (1000 iterations) Benchmarking ring_lpr_oprf/server_evaluate: Analyzing ring_lpr_oprf/server_evaluate time: [5.2297 ms 5.2483 ms 5.2711 ms] change: [-4.1265% -3.4361% -2.7931%] (p = 0.00 < 0.05) Performance has improved. Found 19 outliers among 100 measurements (19.00%) 3 (3.00%) high mild 16 (16.00%) high severe Benchmarking ring_lpr_oprf/client_finalize Benchmarking ring_lpr_oprf/client_finalize: Warming up for 3.0000 s Benchmarking ring_lpr_oprf/client_finalize: Collecting 100 samples in estimated 5.2498 s (1000 iterations) Benchmarking ring_lpr_oprf/client_finalize: Analyzing ring_lpr_oprf/client_finalize time: [5.2369 ms 5.2556 ms 5.2781 ms] change: [-1.1174% -0.3571% +0.3041%] (p = 0.35 > 0.05) No change in performance detected. Found 14 outliers among 100 measurements (14.00%) 4 (4.00%) high mild 10 (10.00%) high severe Benchmarking ring_lpr_oprf/full_protocol Benchmarking ring_lpr_oprf/full_protocol: Warming up for 3.0000 s Benchmarking ring_lpr_oprf/full_protocol: Collecting 100 samples in estimated 5.3095 s (500 iterations) Benchmarking ring_lpr_oprf/full_protocol: Analyzing ring_lpr_oprf/full_protocol time: [10.531 ms 10.563 ms 10.601 ms] change: [-1.7281% -1.1647% -0.6455%] (p = 0.00 < 0.05) Change within noise threshold. Found 15 outliers among 100 measurements (15.00%) 8 (8.00%) high mild 7 (7.00%) high severe Benchmarking oprf_comparison/fast_oprf/5 Benchmarking oprf_comparison/fast_oprf/5: Warming up for 3.0000 s Benchmarking oprf_comparison/fast_oprf/5: Collecting 100 samples in estimated 5.1493 s (86k iterations) Benchmarking oprf_comparison/fast_oprf/5: Analyzing oprf_comparison/fast_oprf/5 time: [58.845 µs 58.867 µs 58.894 µs] change: [-0.5227% +0.1308% +0.6516%] (p = 0.70 > 0.05) No change in performance detected. Found 6 outliers among 100 measurements (6.00%) 1 (1.00%) low mild 4 (4.00%) high mild 1 (1.00%) high severe Benchmarking oprf_comparison/ring_lpr_oprf/5 Benchmarking oprf_comparison/ring_lpr_oprf/5: Warming up for 3.0000 s Benchmarking oprf_comparison/ring_lpr_oprf/5: Collecting 100 samples in estimated 5.4629 s (500 iterations) Benchmarking oprf_comparison/ring_lpr_oprf/5: Analyzing oprf_comparison/ring_lpr_oprf/5 time: [10.887 ms 10.891 ms 10.895 ms] change: [+4.0777% +4.7919% +5.3741%] (p = 0.00 < 0.05) Performance has regressed. Benchmarking oprf_comparison/fast_oprf/19 Benchmarking oprf_comparison/fast_oprf/19: Warming up for 3.0000 s Benchmarking oprf_comparison/fast_oprf/19: Collecting 100 samples in estimated 5.2519 s (86k iterations) Benchmarking oprf_comparison/fast_oprf/19: Analyzing oprf_comparison/fast_oprf/19 time: [60.587 µs 60.761 µs 60.971 µs] change: [+0.5082% +1.0838% +1.5274%] (p = 0.00 < 0.05) Change within noise threshold. Found 13 outliers among 100 measurements (13.00%) 2 (2.00%) low mild 6 (6.00%) high mild 5 (5.00%) high severe Benchmarking oprf_comparison/ring_lpr_oprf/19 Benchmarking oprf_comparison/ring_lpr_oprf/19: Warming up for 3.0000 s Benchmarking oprf_comparison/ring_lpr_oprf/19: Collecting 100 samples in estimated 5.2839 s (500 iterations) Benchmarking oprf_comparison/ring_lpr_oprf/19: Analyzing oprf_comparison/ring_lpr_oprf/19 time: [10.388 ms 10.391 ms 10.394 ms] change: [-2.3108% -1.7852% -1.3619%] (p = 0.00 < 0.05) Performance has improved. Found 2 outliers among 100 measurements (2.00%) 1 (1.00%) high mild 1 (1.00%) high severe Benchmarking oprf_comparison/fast_oprf/53 Benchmarking oprf_comparison/fast_oprf/53: Warming up for 3.0000 s Benchmarking oprf_comparison/fast_oprf/53: Collecting 100 samples in estimated 5.1486 s (86k iterations) Benchmarking oprf_comparison/fast_oprf/53: Analyzing oprf_comparison/fast_oprf/53 time: [59.666 µs 59.705 µs 59.746 µs] change: [-0.5597% -0.1197% +0.2256%] (p = 0.59 > 0.05) No change in performance detected. Found 9 outliers among 100 measurements (9.00%) 4 (4.00%) low severe 3 (3.00%) low mild 1 (1.00%) high mild 1 (1.00%) high severe Benchmarking oprf_comparison/ring_lpr_oprf/53 Benchmarking oprf_comparison/ring_lpr_oprf/53: Warming up for 3.0000 s Benchmarking oprf_comparison/ring_lpr_oprf/53: Collecting 100 samples in estimated 5.1871 s (500 iterations) Benchmarking oprf_comparison/ring_lpr_oprf/53: Analyzing oprf_comparison/ring_lpr_oprf/53 time: [10.352 ms 10.385 ms 10.425 ms] change: [-3.6849% -3.0378% -2.4316%] (p = 0.00 < 0.05) Performance has improved. Found 11 outliers among 100 measurements (11.00%) 1 (1.00%) high mild 10 (10.00%) high severe