openssl/demos
Alessandro Chitarrini 747ba0e45e Fix inaccurate comment about default nonce length in demos/cipher/aesccm.c
Fixes #25270

CLA: trivial

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/25318)

(cherry picked from commit f2b7a00fbb)
2024-09-05 17:25:21 +02: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 Fix inaccurate comment about default nonce length in demos/cipher/aesccm.c 2024-09-05 17:25:21 +02:00
cms X509_STORE_new: memory needs to be freed 2021-12-17 15:10:32 +01:00
digest Copyright year updates 2024-06-04 16:25:21 +02:00
encode Replace "a RSA" with "an RSA" 2022-12-07 09:40:43 +11:00
kdf demos: add Makefile support for pbkdf2 and scrypt KDF demos 2021-07-20 10:14:42 +10:00
keyexch Add EVP demo for X25519 key exchange 2022-03-04 11:05:02 +11:00
mac Add an EVP demo for CMAC 2022-07-13 11:18:11 +02:00
pkcs12 Update copyright year 2020-04-23 13:55:52 +01:00
pkey Add Demos for DSA params/DSA keygen. 2022-12-22 12:10:12 +01:00
signature Add EVP demos for RSA-PSS signing and verification 2022-03-07 09:25:35 +11:00
smime X509_STORE_new: memory needs to be freed 2021-12-17 15:10:32 +01:00
README.txt Add Demos for DSA params/DSA keygen. 2022-12-22 12:10:12 +01: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
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

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.
EVP_PKEY_DSA_keygen.c          Generate a DSA key.
EVP_PKEY_DSA_paramgen.c        Generate a DSA param key.
EVP_PKEY_DSA_paramvalidate.c   Validate a DSA param key.
EVP_PKEY_DSA_paramfromdata.c   Load a DSA param key using raw data.

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