Daniel Fiala cdf0a5c460 Add an EVP demo for CMAC 2 years ago
..
bio 92c03668c0 Add config_diagnostics to our configuration files. 3 years ago
certs 92c03668c0 Add config_diagnostics to our configuration files. 3 years ago
cipher 97896f744d Drop ariacbc demo binary 2 years ago
cms 79b2a2f2ee add OSSL_STACK_OF_X509_free() for commonly used pattern 2 years ago
digest fecb3aae22 Update copyright year 2 years ago
encode 1483b37e7a Add EVP RSA key encode/decode demo 2 years ago
encrypt 35530b117f Add RSA encrypt demo 3 years ago
kdf 1287dabd0b fix some code with obvious wrong coding style 3 years ago
keyexch 2cc7c9b698 Add EVP demo for X25519 key exchange 2 years ago
mac cdf0a5c460 Add an EVP demo for CMAC 2 years ago
pkcs12 79b2a2f2ee add OSSL_STACK_OF_X509_free() for commonly used pattern 2 years ago
pkey fecb3aae22 Update copyright year 2 years ago
signature e9492d1cec Add EVP demos for RSA-PSS signing and verification 2 years ago
smime 79b2a2f2ee add OSSL_STACK_OF_X509_free() for commonly used pattern 2 years ago
sslecho 3c0e8bc4a7 fix for sslecho in demos echoing garbage #18165 2 years ago
README.txt 801c638c50 Added Simple SSL Echo Client/Server to demos. 2 years ago

README.txt

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
ariacbc.c Demonstration of symmetric cipher CBC 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_MD_xof.c Compute a digest using the SHAKE256 XOF
EVP_f_md.c Compute a digest using BIO and EVP_f_md

encrypt:
rsa_encrypt.c Encrypt and decrypt data using an RSA keypair.

encode:
rsa_encode.c Encode and decode PEM-encoded RSA keys

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
poly1305.c Demonstration of Poly1305-AES message authentication
siphash.c Demonstration of SIPHASH message authentication

pkey:
EVP_PKEY_EC_keygen.c Generate an EC key.
EVP_PKEY_RSA_keygen.c Generate an RSA 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
rsa_pss_direct.c Compute and verify an RSA-PSS signature from a hash
rsa_pss_hash.c Compute and verify an RSA-PSS signature over a buffer

sslecho:
main.c Simple SSL echo client/server.