How davidluke0704/openssl works
OpenSSL is a cryptographic toolkit: its command-line program exposes common cryptographic and certificate tasks, libcrypto provides reusable cryptographic services, and libssl implements TLS. The main user workflow is invoking a CLI command to perform a task and receive output; TLS client/server testing is a distinct CLI path through libssl. The README documents the product boundaries and capabilities, while sampled source confirms selected implementation links. Several major subsystems are represented by their exact directories because their implementation was not sampled.
Main entry points: openssl.c OpenSSL CLI · ssl_lib.c TLS library · crypto Crypto library · ssl_local.h TLS internals
Components 23
Command line
- OpenSSL CLI
apps/openssl.c - CLI support
apps/lib/apps.c - Certificate commands
apps/x509.c - Digest commands
apps/dgst.c - TLS client
apps/s_client.c - TLS server
apps/s_server.c
TLS protocol
- TLS library
ssl/ssl_lib.c - Handshake state
ssl/statem/statem_srvr.c - TLS records
ssl/record/ssl3_record.c - TLS internals
ssl/ssl_local.h
Cryptographic services
- Crypto library
crypto - EVP interface
include/crypto/evp.h - Providers
providers - Algorithm properties
crypto/property/property_query.c - Elliptic curves
crypto/ec/ec_local.h - Library context
crypto/context.c - Crypto internals
include/internal/cryptlib.h
Security protocols
- Certificate management
crypto/cmp - Cryptographic messages
crypto/cms - Certificate status
crypto/ocsp - Certificate verification
crypto/x509/x509_vfy.c - HTTP transport
crypto/http/http_client.c
Other components
- User
Connections 17
- User → OpenSSL CLI: invokes
README.md - OpenSSL CLI → Certificate commands: dispatches
- OpenSSL CLI → Digest commands: dispatches
- OpenSSL CLI → TLS client: dispatches
- OpenSSL CLI → TLS server: dispatches
- TLS client → TLS library: uses TLS
apps/s_client.c - TLS server → TLS library: uses TLS
- TLS library → Crypto library: based on
README.md - Handshake state → TLS internals: uses state
ssl/statem/statem_srvr.c - TLS library → TLS internals: uses state
ssl/ssl_lib.c - TLS records → TLS internals: uses state
ssl/ssl_local.h - Crypto library → EVP interface: exposes API
crypto/evp/e_aes.c - Library context → Crypto internals: uses definitions
crypto/context.c - Library context → Algorithm properties: uses properties
crypto/context.c - CLI support → Crypto library: supports commands
- Certificate management → HTTP transport: uses transport
- Certificate verification → Crypto library: uses crypto
crypto/x509/x509_vfy.c