]> git.ipfire.org Git - thirdparty/openssl.git/blame - demos/README.txt
Augment README.md in top level to indicate Makefile presence
[thirdparty/openssl.git] / demos / README.txt
CommitLineData
29ce1066 1OpenSSL Demonstration Applications
7ebf7674 2
29ce1066
PN
3This folder contains source code that demonstrates the proper use of the OpenSSL
4library API.
7ebf7674 5
d4188f24
NH
6Note: Makefiles are provided in the demo subfolders to demonstrate how to build
7them, but are not frequently used. Configure openssl with enable-demos to build
8them automatically through the perl based build system
9
3068a183 10bio: Demonstration of a simple TLS client and server
d02b48c6 11
8cf78d63 12certs: Demonstration of creating certs, using OCSP
29ce1066 13
3068a183
JS
14cipher:
15aesgcm.c Demonstration of symmetric cipher GCM mode encrypt/decrypt
16aesccm.c Demonstration of symmetric cipher CCM mode encrypt/decrypt
37697277 17ariacbc.c Demonstration of symmetric cipher CBC mode encrypt/decrypt
29ce1066 18
aefb5294
MC
19cms: Demonstrations related to the Cryptographic Message
20 Syntax (CMS) standard
29ce1066
PN
21
22digest:
8cf78d63
SL
23EVP_MD_demo.c Compute a digest from multiple buffers
24EVP_MD_stdin.c Compute a digest with data read from stdin
4c8cdcd1 25EVP_MD_xof.c Compute a digest using the SHAKE256 XOF
8cf78d63
SL
26EVP_f_md.c Compute a digest using BIO and EVP_f_md
27
aefb5294
MC
28encode:
29rsa_encode.c Encode and decode PEM-encoded RSA keys
30
35530b11
SL
31encrypt:
32rsa_encrypt.c Encrypt and decrypt data using an RSA keypair.
33
aefb5294
MC
34guide: Sample code from the OpenSSL Guide tutorials. See
35 the oss-guide-quic-introduction(7) man page.
36quic-client-block.c: A simple blocking QUIC client
37quic-client-non-block.c: A simple non-blocking QUIC client
38quic-multi-stream.c: A simple QUIC client using multiple streams
39tls-client-block.c: A simple blocking SSL/TLS client
40tls-client-non-block.c: A simple non-blocking SSL/TLS client
41
42http3: Demonstration of how to use OpenSSL's QUIC capabilities
43 for HTTP/3.
1483b37e 44
a2058604
M
45kdf:
46hkdf.c Demonstration of HMAC based key derivation
b8ffcd87
P
47pbkdf2.c Demonstration of PBKDF2 password based key derivation
48scrypt.c Demonstration of SCRYPT password based key derivation
a2058604 49
aefb5294
MC
50keyexch:
51x25519.c Demonstration of X25519 based key exchange
56e4d112 52ecdh.c Demonstration of ECDH key exchange
aefb5294 53
58bd45d8
P
54mac:
55gmac.c Demonstration of GMAC message authentication
3dafeace 56poly1305.c Demonstration of Poly1305-AES message authentication
86485398 57siphash.c Demonstration of SIPHASH message authentication
58bd45d8 58
aefb5294
MC
59pkcs12:
60pkread.c Print out a description of a PKCS12 file.
61pkwrite.c Add a password to an existing PKCS12 file.
62
8cf78d63 63pkey:
de116410 64EVP_PKEY_EC_keygen.c Generate an EC key.
65EVP_PKEY_RSA_keygen.c Generate an RSA key.
66EVP_PKEY_DSA_keygen.c Generate a DSA key.
67EVP_PKEY_DSA_paramgen.c Generate a DSA param key.
68EVP_PKEY_DSA_paramvalidate.c Validate a DSA param key.
69EVP_PKEY_DSA_paramfromdata.c Load a DSA param key using raw data.
29ce1066 70
691c9cd1 71signature:
b544c72f 72EVP_EC_Signature_demo.c Compute and verify an EC signature.
73EVP_DSA_Signature_demo.c Compute and verify a DSA signature.
74EVP_ED_Signature_demo.c Compute and verify an ED25519 signature.
75rsa_pss_direct.c Compute and verify an RSA-PSS signature from a hash
76rsa_pss_hash.c Compute and verify an RSA-PSS signature over a buffer
801c638c 77
aefb5294
MC
78smime: Demonstrations related to S/MIME
79
801c638c 80sslecho:
aefb5294 81main.c Simple SSL/TLS echo client/server.