mirror of
https://github.com/kristoferssolo/tls-pq-bench.git
synced 2026-03-22 00:36:21 +00:00
feat(runner): add TLS 1.3 client with X25519
- Configure rustls client with aws_lc_rs, X25519-only key exchange - Skip certificate verification for benchmarking (NoVerifier) - Measure TLS handshake latency (TCP + TLS combined) - TLS 1.3 protocol enforced
This commit is contained in:
@@ -55,6 +55,7 @@ impl fmt::Display for BenchRecord {
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use std::str::FromStr;
|
||||
|
||||
#[test]
|
||||
fn bench_record_serializes_to_ndjson() {
|
||||
@@ -73,7 +74,6 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn key_exchange_mode_from_str() {
|
||||
use std::str::FromStr;
|
||||
assert_eq!(
|
||||
KeyExchangeMode::from_str("x25519").expect("should parse"),
|
||||
KeyExchangeMode::X25519
|
||||
|
||||
Reference in New Issue
Block a user