# qiarhadempta/post-quantum-tls-research architecture

> Architecture diagram of the GitHub repository qiarhadempta/post-quantum-tls-research, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-16). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/qiarhadempta/post-quantum-tls-research
- Repository: https://github.com/qiarhadempta/post-quantum-tls-research

## Overview

This is a research repository documenting an empirical TLS 1.3 study, not a sampled software implementation. Its principal workflow is to compare three certificate/signature scenarios under controlled latency and packet loss, measure handshake outcomes, and analyze failure and duration patterns. The tree contains certificates and CLI documentation, but no experiment scripts or analysis source; those stages are therefore represented only at the level documented in the README, without asserting implementation details.

Main entry points: [`README.md`](https://github.com/qiarhadempta/post-quantum-tls-research/blob/main/README.md) (Experimental design), [`certs`](https://github.com/qiarhadempta/post-quantum-tls-research/tree/main/certs) (Scenario certificates), [`docs/command.md`](https://github.com/qiarhadempta/post-quantum-tls-research/blob/main/docs/command.md) (CLI notes)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_study["Study design"]
  node_design["Experimental design<br/>[README.md]"]
  node_scenarios["TLS scenarios<br/>[README.md]"]
end

subgraph group_experiment["Experiment setup"]
  node_certificates["Scenario certificates"]
  node_cli_notes["CLI notes<br/>[command.md]"]
  node_openssl["OpenSSL and OQS"]
  node_namespaces["Linux namespaces"]
  node_netem["tc-netem conditions"]
  node_benchmark["Handshake benchmark<br/>[README.md]"]
  node_handshakes["TLS handshakes"]
end

subgraph group_analysis["Measurements and analysis"]
  node_metrics["Measured metrics<br/>[README.md]"]
  node_dataset[("Handshake dataset<br/>[README.md]")]
  node_failure_model["Failure regression<br/>[README.md]"]
  node_duration_model["Duration regression<br/>[README.md]"]
end

node_researcher(("Researcher"))

node_researcher -->|"defines study"| node_design
node_design -->|"specifies scenarios"| node_scenarios
node_scenarios -->|"uses certificates"| node_certificates
node_researcher -.->|"consults notes"| node_cli_notes
node_design -->|"specifies stack"| node_openssl
node_design -->|"specifies isolation"| node_namespaces
node_design -->|"specifies conditions"| node_netem
node_researcher -->|"plans execution"| node_benchmark
node_benchmark -->|"runs trials"| node_handshakes
node_benchmark -->|"records metrics"| node_metrics
node_metrics -->|"forms dataset"| node_dataset
node_dataset -->|"fits failure model"| node_failure_model
node_dataset -->|"fits duration model"| node_duration_model

click node_design "https://github.com/qiarhadempta/post-quantum-tls-research/blob/main/README.md"
click node_scenarios "https://github.com/qiarhadempta/post-quantum-tls-research/blob/main/README.md"
click node_certificates "https://github.com/qiarhadempta/post-quantum-tls-research/tree/main/certs"
click node_cli_notes "https://github.com/qiarhadempta/post-quantum-tls-research/blob/main/docs/command.md"
click node_benchmark "https://github.com/qiarhadempta/post-quantum-tls-research/blob/main/README.md"
click node_metrics "https://github.com/qiarhadempta/post-quantum-tls-research/blob/main/README.md"
click node_dataset "https://github.com/qiarhadempta/post-quantum-tls-research/blob/main/README.md"
click node_failure_model "https://github.com/qiarhadempta/post-quantum-tls-research/blob/main/README.md"
click node_duration_model "https://github.com/qiarhadempta/post-quantum-tls-research/blob/main/README.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_design,node_scenarios toneBlue
class node_certificates,node_cli_notes,node_openssl,node_namespaces,node_netem,node_benchmark,node_handshakes toneAmber
class node_metrics,node_dataset,node_failure_model,node_duration_model toneMint
class node_researcher toneIndigo
```

## Components

### Study design

- [Experimental design](https://github.com/qiarhadempta/post-quantum-tls-research/blob/main/README.md): `README.md`
- [TLS scenarios](https://github.com/qiarhadempta/post-quantum-tls-research/blob/main/README.md): `README.md`

### Experiment setup

- [Scenario certificates](https://github.com/qiarhadempta/post-quantum-tls-research/tree/main/certs): `certs`
- [CLI notes](https://github.com/qiarhadempta/post-quantum-tls-research/blob/main/docs/command.md): `docs/command.md`
- **OpenSSL and OQS**
- **Linux namespaces**
- **tc-netem conditions**
- [Handshake benchmark](https://github.com/qiarhadempta/post-quantum-tls-research/blob/main/README.md): `README.md`
- **TLS handshakes**

### Measurements and analysis

- [Measured metrics](https://github.com/qiarhadempta/post-quantum-tls-research/blob/main/README.md): `README.md`
- [Handshake dataset](https://github.com/qiarhadempta/post-quantum-tls-research/blob/main/README.md): `README.md`
- [Failure regression](https://github.com/qiarhadempta/post-quantum-tls-research/blob/main/README.md): `README.md`
- [Duration regression](https://github.com/qiarhadempta/post-quantum-tls-research/blob/main/README.md): `README.md`

### Other components

- **Researcher**

## Connections

- Researcher → Experimental design: defines study (evidence: `README.md`)
- Experimental design → TLS scenarios: specifies scenarios (evidence: `README.md`)
- TLS scenarios → Scenario certificates: uses certificates (evidence: `README.md`)
- Researcher → CLI notes: consults notes (evidence: `README.md`)
- Experimental design → OpenSSL and OQS: specifies stack (evidence: `README.md`)
- Experimental design → Linux namespaces: specifies isolation (evidence: `README.md`)
- Experimental design → tc-netem conditions: specifies conditions (evidence: `README.md`)
- Researcher → Handshake benchmark: plans execution (evidence: `README.md`)
- Handshake benchmark → TLS handshakes: runs trials (evidence: `README.md`)
- Handshake benchmark → Measured metrics: records metrics (evidence: `README.md`)
- Measured metrics → Handshake dataset: forms dataset (evidence: `README.md`)
- Handshake dataset → Failure regression: fits failure model (evidence: `README.md`)
- Handshake dataset → Duration regression: fits duration model (evidence: `README.md`)
