refactor: make signing key non-optional for pk_encrypt

This commit is contained in:
link2xt
2025-11-30 05:25:39 +00:00
committed by l
parent 1ec3f45dc1
commit 5fb118e5a3
4 changed files with 30 additions and 44 deletions

View File

@@ -108,7 +108,7 @@ fn criterion_benchmark(c: &mut Criterion) {
pk_encrypt(
plain.clone(),
vec![black_box(key_pair.public.clone())],
Some(key_pair.secret.clone()),
key_pair.secret.clone(),
true,
true,
)