openssl/demos
Pauli 92c03668c0 Add config_diagnostics to our configuration files.
The change to a more configuration based approach to enable FIPS mode
operation highlights a shortcoming in the default should do something
approach we've taken for bad configuration files.

Currently, a bad configuration file will be automatically loaded and
once the badness is detected, it will silently stop processing the
configuration and continue normal operations. This is good for remote
servers, allowing changes to be made without bricking things. It's bad
when a user thinks they've configured what they want but got something
wrong and it still appears to work.

Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/16171)
2021-08-04 08:15:14 +10:00
..
bio Add config_diagnostics to our configuration files. 2021-08-04 08:15:14 +10:00
certs Add config_diagnostics to our configuration files. 2021-08-04 08:15:14 +10:00
cipher
cms
digest Remove executable mode attributes of non-executable files 2021-07-13 16:04:32 +10:00
kdf demos: add Makefile support for pbkdf2 and scrypt KDF demos 2021-07-20 10:14:42 +10:00
mac demo: add GMAC demonstration program 2021-07-30 09:10:21 +10:00
pkcs12
pkey
signature
smime
README.txt demo: add GMAC demonstration program 2021-07-30 09:10:21 +10:00

OpenSSL Demonstration Applications

This folder contains source code that demonstrates the proper use of the OpenSSL
library API.

bio:                   Demonstration of a simple TLS client and server

certs:                 Demonstration of creating certs, using OCSP

cipher:
aesgcm.c               Demonstration of symmetric cipher GCM mode encrypt/decrypt
aesccm.c               Demonstration of symmetric cipher CCM mode encrypt/decrypt

cms:

digest:
EVP_MD_demo.c          Compute a digest from multiple buffers
EVP_MD_stdin.c         Compute a digest with data read from stdin
EVP_f_md.c             Compute a digest using BIO and EVP_f_md

kdf:
hkdf.c                 Demonstration of HMAC based key derivation
pbkdf2.c               Demonstration of PBKDF2 password based key derivation
scrypt.c               Demonstration of SCRYPT password based key derivation

mac:
gmac.c                 Demonstration of GMAC message authentication

pkey:
EVP_PKEY_EC_keygen.c   Generate an EC key.

smime:

pkcs12:
pkread.c               Print out a description of a PKCS12 file.
pkwrite.c              Add a password to an existing PKCS12 file.

signature:
EVP_Signature_demo.c   Compute and verify a signature from multiple buffers