xref: /freebsd/crypto/openssl/demos/README.txt (revision a91a246563dffa876a52f53a98de4af9fa364c52)
1OpenSSL Demonstration Applications
2
3This folder contains source code that demonstrates the proper use of the OpenSSL
4library API.
5
6bio:                   Demonstration of a simple TLS client and server
7
8certs:                 Demonstration of creating certs, using OCSP
9
10cipher:
11aesgcm.c               Demonstration of symmetric cipher GCM mode encrypt/decrypt
12aesccm.c               Demonstration of symmetric cipher CCM mode encrypt/decrypt
13ariacbc.c              Demonstration of symmetric cipher CBC mode encrypt/decrypt
14
15cms:
16
17digest:
18EVP_MD_demo.c          Compute a digest from multiple buffers
19EVP_MD_stdin.c         Compute a digest with data read from stdin
20EVP_MD_xof.c           Compute a digest using the SHAKE256 XOF
21EVP_f_md.c             Compute a digest using BIO and EVP_f_md
22
23kdf:
24hkdf.c                 Demonstration of HMAC based key derivation
25pbkdf2.c               Demonstration of PBKDF2 password based key derivation
26scrypt.c               Demonstration of SCRYPT password based key derivation
27
28mac:
29gmac.c                 Demonstration of GMAC message authentication
30poly1305.c             Demonstration of Poly1305-AES message authentication
31siphash.c              Demonstration of SIPHASH message authentication
32
33pkey:
34EVP_PKEY_EC_keygen.c           Generate an EC key.
35EVP_PKEY_RSA_keygen.c          Generate an RSA key.
36EVP_PKEY_DSA_keygen.c          Generate a DSA key.
37EVP_PKEY_DSA_paramgen.c        Generate a DSA param key.
38EVP_PKEY_DSA_paramvalidate.c   Validate a DSA param key.
39EVP_PKEY_DSA_paramfromdata.c   Load a DSA param key using raw data.
40
41smime:
42
43pkcs12:
44pkread.c               Print out a description of a PKCS12 file.
45pkwrite.c              Add a password to an existing PKCS12 file.
46
47signature:
48EVP_Signature_demo.c   Compute and verify a signature from multiple buffers
49rsa_pss_direct.c       Compute and verify an RSA-PSS signature from a hash
50rsa_pss_hash.c         Compute and verify an RSA-PSS signature over a buffer
51