2021-02-11 06:49:19 +08:00
|
|
|
OpenSSL Demonstration Applications
|
1999-04-24 08:53:29 +08:00
|
|
|
|
2021-02-11 06:49:19 +08:00
|
|
|
This folder contains source code that demonstrates the proper use of the OpenSSL
|
|
|
|
library API.
|
1999-04-24 08:53:29 +08:00
|
|
|
|
2021-04-29 09:08:10 +08:00
|
|
|
bio: Demonstration of a simple TLS client and server
|
1998-12-21 18:52:47 +08:00
|
|
|
|
2021-05-23 14:48:45 +08:00
|
|
|
certs: Demonstration of creating certs, using OCSP
|
2021-02-11 06:49:19 +08:00
|
|
|
|
2021-04-29 09:08:10 +08:00
|
|
|
cipher:
|
|
|
|
aesgcm.c Demonstration of symmetric cipher GCM mode encrypt/decrypt
|
|
|
|
aesccm.c Demonstration of symmetric cipher CCM mode encrypt/decrypt
|
2022-03-01 04:57:06 +08:00
|
|
|
ariacbc.c Demonstration of symmetric cipher CBC mode encrypt/decrypt
|
2021-02-11 06:49:19 +08:00
|
|
|
|
2023-10-25 19:46:33 +08:00
|
|
|
cms: Demonstrations related to the Cryptographic Message
|
|
|
|
Syntax (CMS) standard
|
2021-02-11 06:49:19 +08:00
|
|
|
|
|
|
|
digest:
|
2021-05-23 14:48:45 +08:00
|
|
|
EVP_MD_demo.c Compute a digest from multiple buffers
|
|
|
|
EVP_MD_stdin.c Compute a digest with data read from stdin
|
2022-03-03 16:20:05 +08:00
|
|
|
EVP_MD_xof.c Compute a digest using the SHAKE256 XOF
|
2021-05-23 14:48:45 +08:00
|
|
|
EVP_f_md.c Compute a digest using BIO and EVP_f_md
|
|
|
|
|
2023-10-25 19:46:33 +08:00
|
|
|
encode:
|
|
|
|
rsa_encode.c Encode and decode PEM-encoded RSA keys
|
|
|
|
|
2021-08-11 09:12:17 +08:00
|
|
|
encrypt:
|
|
|
|
rsa_encrypt.c Encrypt and decrypt data using an RSA keypair.
|
|
|
|
|
2023-10-25 19:46:33 +08:00
|
|
|
guide: Sample code from the OpenSSL Guide tutorials. See
|
|
|
|
the oss-guide-quic-introduction(7) man page.
|
|
|
|
quic-client-block.c: A simple blocking QUIC client
|
|
|
|
quic-client-non-block.c: A simple non-blocking QUIC client
|
|
|
|
quic-multi-stream.c: A simple QUIC client using multiple streams
|
|
|
|
tls-client-block.c: A simple blocking SSL/TLS client
|
|
|
|
tls-client-non-block.c: A simple non-blocking SSL/TLS client
|
|
|
|
|
|
|
|
http3: Demonstration of how to use OpenSSL's QUIC capabilities
|
|
|
|
for HTTP/3.
|
2022-03-07 23:12:07 +08:00
|
|
|
|
2021-05-22 16:48:38 +08:00
|
|
|
kdf:
|
|
|
|
hkdf.c Demonstration of HMAC based key derivation
|
2021-07-19 11:17:02 +08:00
|
|
|
pbkdf2.c Demonstration of PBKDF2 password based key derivation
|
|
|
|
scrypt.c Demonstration of SCRYPT password based key derivation
|
2021-05-22 16:48:38 +08:00
|
|
|
|
2023-10-25 19:46:33 +08:00
|
|
|
keyexch:
|
|
|
|
x25519.c Demonstration of X25519 based key exchange
|
|
|
|
|
2021-07-20 13:04:49 +08:00
|
|
|
mac:
|
|
|
|
gmac.c Demonstration of GMAC message authentication
|
2022-03-02 17:50:41 +08:00
|
|
|
poly1305.c Demonstration of Poly1305-AES message authentication
|
2022-03-02 15:38:15 +08:00
|
|
|
siphash.c Demonstration of SIPHASH message authentication
|
2021-07-20 13:04:49 +08:00
|
|
|
|
2023-10-25 19:46:33 +08:00
|
|
|
pkcs12:
|
|
|
|
pkread.c Print out a description of a PKCS12 file.
|
|
|
|
pkwrite.c Add a password to an existing PKCS12 file.
|
|
|
|
|
2021-05-23 14:48:45 +08:00
|
|
|
pkey:
|
2022-12-08 04:03:26 +08:00
|
|
|
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.
|
2021-02-11 06:49:19 +08:00
|
|
|
|
2021-05-24 14:33:55 +08:00
|
|
|
signature:
|
2023-08-29 16:02:14 +08:00
|
|
|
EVP_EC_Signature_demo.c Compute and verify an EC signature.
|
|
|
|
EVP_DSA_Signature_demo.c Compute and verify a DSA signature.
|
|
|
|
EVP_ED_Signature_demo.c Compute and verify an ED25519 signature.
|
|
|
|
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
|
2021-12-13 03:53:13 +08:00
|
|
|
|
2023-10-25 19:46:33 +08:00
|
|
|
smime: Demonstrations related to S/MIME
|
|
|
|
|
2021-12-13 03:53:13 +08:00
|
|
|
sslecho:
|
2023-10-25 19:46:33 +08:00
|
|
|
main.c Simple SSL/TLS echo client/server.
|