Home | History | Annotate | only in /src/crypto/external/bsd/openssl/dist/demos
Up to higher level directory
NameDateSize
bio/25-Feb-2026
certs/25-Feb-2026
cipher/25-Feb-2026
cms/25-Feb-2026
digest/25-Feb-2026
encode/25-Feb-2026
kdf/25-Feb-2026
keyexch/25-Feb-2026
mac/25-Feb-2026
pkcs12/25-Feb-2026
pkey/25-Feb-2026
README.txt07-May-20231.9K
signature/25-Feb-2026
smime/25-Feb-2026

README.txt

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