openssl/demos
Peiwei Hu e2e5e72d5a EVP_DigestVerifyFinal: fix test function and invocation
Signed-off-by: Peiwei Hu <jlu.hpw@foxmail.com>

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17029)
2021-11-16 17:30:57 +01: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 Fixes #14103 & #14102. Update AES demos with error handling and EVP fetch 2021-05-31 09:05:43 +10:00
cms
digest fix some code with obvious wrong coding style 2021-10-28 13:10:46 +10:00
encrypt Add RSA encrypt demo 2021-11-16 15:58:23 +00:00
kdf fix some code with obvious wrong coding style 2021-10-28 13:10:46 +10:00
mac demo: add GMAC demonstration program 2021-07-30 09:10:21 +10:00
pkcs12
pkey Add demo for EC keygen 2021-05-27 18:51:36 +10:00
signature EVP_DigestVerifyFinal: fix test function and invocation 2021-11-16 17:30:57 +01:00
smime
README.txt Add RSA encrypt demo 2021-11-16 15:58:23 +00: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

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

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