openssl/demos
Tomas Mraz ed576acdf5 Rename all getters to use get/get0 in name
For functions that exist in 1.1.1 provide a simple aliases via #define.

Fixes #15236

Functions with OSSL_DECODER_, OSSL_ENCODER_, OSSL_STORE_LOADER_,
EVP_KEYEXCH_, EVP_KEM_, EVP_ASYM_CIPHER_, EVP_SIGNATURE_,
EVP_KEYMGMT_, EVP_RAND_, EVP_MAC_, EVP_KDF_, EVP_PKEY_,
EVP_MD_, and EVP_CIPHER_ prefixes are renamed.

Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15405)
2021-06-01 12:40:00 +02:00
..
bio demos: Add clean target for bio/Makefile 2021-04-16 09:54:19 +02:00
certs Rename NOTES*, README*, VERSION, HACKING, LICENSE to .md or .txt 2020-07-05 11:29:43 +02:00
cipher Fixes #14103 & #14102. Update AES demos with error handling and EVP fetch 2021-05-31 09:05:43 +10:00
cms Following the license change, modify the boilerplates in demos/ 2018-12-06 15:38:19 +01:00
digest Rename all getters to use get/get0 in name 2021-06-01 12:40:00 +02:00
pkcs12 Update copyright year 2020-04-23 13:55:52 +01:00
pkey Add demo for EC keygen 2021-05-27 18:51:36 +10:00
smime Following the license change, modify the boilerplates in demos/ 2018-12-06 15:38:19 +01:00
README.txt Fixes #14103 & #14102. Update AES demos with error handling and EVP fetch 2021-05-31 09:05:43 +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

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.