1 OpenSSL Demonstration Applications
3 This folder contains source code that demonstrates the proper use of the OpenSSL
6 Note: Makefiles are provided in the demo subfolders to demonstrate how to build
7 them, but are not frequently used. Configure openssl with enable-demos to build
8 them automatically through the perl based build system
10 bio: Demonstration of a simple TLS client and server
12 certs: Demonstration of creating certs, using OCSP
15 aesgcm.c Demonstration of symmetric cipher GCM mode encrypt/decrypt
16 aesccm.c Demonstration of symmetric cipher CCM mode encrypt/decrypt
17 ariacbc.c Demonstration of symmetric cipher CBC mode encrypt/decrypt
19 cms: Demonstrations related to the Cryptographic Message
23 EVP_MD_demo.c Compute a digest from multiple buffers
24 EVP_MD_stdin.c Compute a digest with data read from stdin
25 EVP_MD_xof.c Compute a digest using the SHAKE256 XOF
26 EVP_f_md.c Compute a digest using BIO and EVP_f_md
29 rsa_encode.c Encode and decode PEM-encoded RSA keys
32 rsa_encrypt.c Encrypt and decrypt data using an RSA keypair.
34 guide: Sample code from the OpenSSL Guide tutorials. See
35 the oss-guide-quic-introduction(7) man page.
36 quic-client-block.c: A simple blocking QUIC client
37 quic-client-non-block.c: A simple non-blocking QUIC client
38 quic-multi-stream.c: A simple QUIC client using multiple streams
39 tls-client-block.c: A simple blocking SSL/TLS client
40 tls-client-non-block.c: A simple non-blocking SSL/TLS client
42 http3: Demonstration of how to use OpenSSL's QUIC capabilities
46 hkdf.c Demonstration of HMAC based key derivation
47 pbkdf2.c Demonstration of PBKDF2 password based key derivation
48 scrypt.c Demonstration of SCRYPT password based key derivation
51 x25519.c Demonstration of X25519 based key exchange
52 ecdh.c Demonstration of ECDH key exchange
55 gmac.c Demonstration of GMAC message authentication
56 poly1305.c Demonstration of Poly1305-AES message authentication
57 siphash.c Demonstration of SIPHASH message authentication
60 pkread.c Print out a description of a PKCS12 file.
61 pkwrite.c Add a password to an existing PKCS12 file.
64 EVP_PKEY_EC_keygen.c Generate an EC key.
65 EVP_PKEY_RSA_keygen.c Generate an RSA key.
66 EVP_PKEY_DSA_keygen.c Generate a DSA key.
67 EVP_PKEY_DSA_paramgen.c Generate a DSA param key.
68 EVP_PKEY_DSA_paramvalidate.c Validate a DSA param key.
69 EVP_PKEY_DSA_paramfromdata.c Load a DSA param key using raw data.
72 EVP_EC_Signature_demo.c Compute and verify an EC signature.
73 EVP_DSA_Signature_demo.c Compute and verify a DSA signature.
74 EVP_ED_Signature_demo.c Compute and verify an ED25519 signature.
75 rsa_pss_direct.c Compute and verify an RSA-PSS signature from a hash
76 rsa_pss_hash.c Compute and verify an RSA-PSS signature over a buffer
78 smime: Demonstrations related to S/MIME
81 main.c Simple SSL/TLS echo client/server.