How grqz/openssl-dev works
OpenSSL combines a command-line toolkit, a general-purpose cryptographic library, and TLS/DTLS/QUIC protocol implementations. Users invoke CLI commands for key and certificate work, cryptographic operations, or client/server testing; the toolkit also exposes libraries for standalone use. The graph preserves major documented capabilities and separates TLS handshake, record processing, and QUIC event handling. Edges rely on README statements or shown source references; unsampled implementation detail is represented at subsystem level.
Main entry points: openssl.c openssl commands · ssl TLS and DTLS · crypto Cryptographic services · req.c Certificate operations
Components 21
Command-line toolkit
- openssl commands
apps/openssl.c - Key parameters
apps/genpkey.c - Certificate operations
apps/req.c - Digest and encryption
apps/dgst.c - Client tests
apps/s_client.c - Server tests
apps/s_server.c - S/MIME operations
apps/smime.c
Secure protocols
- TLS and DTLS
ssl - Handshake state
ssl/statem/statem_srvr.c - Record layer
ssl/record/rec_layer_s3.c - Encrypted ClientHello
ssl/ech/ech_internal.c - QUIC engine
ssl/quic/quic_engine.c
Cryptographic library
- Cryptographic services
crypto - Provider implementations
providers/defltprov.c - Crypto algorithms
crypto/evp
Certificates and formats
- ASN.1 encoding
crypto/asn1 - X.509 services
crypto/x509 - CMS and S/MIME
crypto/cms
Shared runtime
- CLI support
apps/lib/apps.c - Library contexts
crypto/context.c
Other components
- User
Connections 21
- User → openssl commands: invokes
README.md - openssl commands → Key parameters: creates parameters
README.md - openssl commands → Certificate operations: creates certificates
README.md - openssl commands → Digest and encryption: runs operations
README.md - openssl commands → Client tests: runs client tests
README.md - openssl commands → Server tests: runs server tests
README.md - openssl commands → S/MIME operations: handles mail
README.md - Client tests → TLS and DTLS: creates SSL connection
apps/s_client.c - TLS and DTLS → Handshake state: performs handshake
ssl/statem/statem_srvr.c - TLS and DTLS → Record layer: processes records
- TLS and DTLS → Encrypted ClientHello: supports ECH
- TLS and DTLS → QUIC engine: implements QUIC
README.md - openssl commands → Cryptographic services: uses toolkit library
README.md - TLS and DTLS → Cryptographic services: based on library
README.md - Cryptographic services → Provider implementations: provides algorithms
- Cryptographic services → Crypto algorithms: exposes services
- Certificate operations → X.509 services: handles certificates
README.md - Certificate operations → ASN.1 encoding: encodes objects
- S/MIME operations → CMS and S/MIME: handles messages
README.md - openssl commands → CLI support: uses shared support
- Cryptographic services → Library contexts: manages contexts