]> git.ipfire.org Git - thirdparty/openssl.git/blame - README
Make sure `make rehash' target really finds the `openssl' program.
[thirdparty/openssl.git] / README
CommitLineData
d02b48c6 1
9cb0969f 2 OpenSSL 0.9.2 31-Dec-1998
651d0aff 3
f1c236f8 4 Copyright (c) 1998 The OpenSSL Project
651d0aff
RE
5 Copyright (c) 1995-1998 Eric Young
6 All rights reserved.
7
bb258c1c
RE
8 ....
9
f1c236f8 10 The OpenSSL Project is a collaborative effort to develop a robust,
651d0aff
RE
11 commercial-grade, fully featured, and Open Source toolkit implementing the
12 Transport Layer Security (TLS v1) and Secure Sockets Layer (SSL v2/v3)
13 protocols with full-strength cryptography world-wide. The project is managed
14 by a worldwide community of volunteers that use the Internet to communicate,
f1c236f8 15 plan, and develop the OpenSSL tookit and its related documentation.
651d0aff 16
f1c236f8
RE
17 OpenSSL is based on the excellent SSLeay library developed from Eric A. Young
18 and Tim J. Hudson. The OpenSSL toolkit is licensed under a BSD-style licence,
651d0aff
RE
19 which basically means that you are free to get and use it for commercial and
20 non-commercial purposes.
21
22 The package includes:
23
24 libssl.a:
25 Implementation of SSLv2, SSLv3, TLSv1 and the required code to support
26 both SSLv2, SSLv3 and TLSv1 in the one server.
27
28 libcrypto.a:
29 General encryption and X.509 stuff needed by TLS/SSL but not actually
30 logically part of it. It includes routines for the following:
31
32 Ciphers
33 libdes - EAY's libdes DES encryption package which has been floating
34 around the net for a few years. It includes 15
35 'modes/variations' of DES (1, 2 and 3 key versions of ecb,
36 cbc, cfb and ofb; pcbc and a more general form of cfb and
37 ofb) including desx in cbc mode, a fast crypt(3), and
38 routines to read passwords from the keyboard.
39 RC4 encryption,
40 RC2 encryption - 4 different modes, ecb, cbc, cfb and ofb.
41 Blowfish encryption - 4 different modes, ecb, cbc, cfb and ofb.
42 IDEA encryption - 4 different modes, ecb, cbc, cfb and ofb.
43
44 Digests
45 MD5 and MD2 message digest algorithms, fast implementations,
46 SHA (SHA-0) and SHA-1 message digest algorithms,
47 MDC2 message digest. A DES based hash that is polular on smart cards.
48
49 Public Key
50 RSA encryption/decryption/generation.
51 There is no limit on the number of bits.
52 DSA encryption/decryption/generation.
53 There is no limit on the number of bits.
54 Diffie-Hellman key-exchange/key generation.
55 There is no limit on the number of bits.
56
57 X.509v3 certificates
58 X509 encoding/decoding into/from binary ASN1 and a PEM
59 based ascii-binary encoding which supports encryption with a
60 private key. Program to generate RSA and DSA certificate
61 requests and to generate RSA and DSA certificates.
62
63 Systems
64 The normal digital envelope routines and base64 encoding. Higher
65 level access to ciphers and digests by name. New ciphers can be
66 loaded at run time. The BIO io system which is a simple non-blocking
67 IO abstraction. Current methods supported are file descriptors,
68 sockets, socket accept, socket connect, memory buffer, buffering, SSL
69 client/server, file pointer, encryption, digest, non-blocking testing
70 and null.
71
72 Data structures
73 A dynamically growing hashing system
74 A simple stack.
75 A Configuration loader that uses a format similar to MS .ini files.
76
77 Programs in this package include:
78
79 enc - a general encryption program that can encrypt/decrypt using
80 one of 17 different cipher/mode combinations. The
81 input/output can also be converted to/from base64
82 ascii encoding.
83 dgst - a generate message digesting program that will generate
84 message digests for any of md2, md5, sha (sha-0 or sha-1)
85 or mdc2.
86 asn1parse - parse and display the structure of an asn1 encoded
87 binary file.
88 rsa - Manipulate RSA private keys.
89 dsa - Manipulate DSA private keys.
90 dh - Manipulate Diffie-Hellman parameter files.
91 dsaparam- Manipulate and generate DSA parameter files.
92 crl - Manipulate certificate revocation lists.
93 crt2pkcs7- Generate a pkcs7 object containing a crl and a certificate.
94 x509 - Manipulate x509 certificates, self-sign certificates.
95 req - Manipulate PKCS#10 certificate requests and also
96 generate certificate requests.
97 genrsa - Generates an arbitrary sized RSA private key.
98 gendh - Generates a set of Diffie-Hellman parameters, the prime
99 will be a strong prime.
100 ca - Create certificates from PKCS#10 certificate requests.
101 This program also maintains a database of certificates
102 issued.
103 verify - Check x509 certificate signatures.
104 speed - Benchmark SSLeay's ciphers.
105 s_server- A test SSL server.
106 s_client- A test SSL client.
107 s_time - Benchmark SSL performance of SSL server programs.
108 errstr - Convert from SSLeay hex error codes to a readable form.
109
d02b48c6 110To install this package, read the INSTALL file.
651d0aff
RE
111For the Microsoft world, read INSTALL.W32 file.
112
113For people in the USA, it is possible to compile SSLeay to use RSA Inc.'s
114public key library, RSAref. From my understanding, it is claimed by RSA Inc.
115to be illegal to use my public key routines inside the USA. Read
116doc/rsaref.doc on how to build with RSAref.
117
118Read the documentation in the doc directory. It is quite rough, but it lists
119the functions, you will probably have to look at the code to work out how to
120used them. I will be working on documentation. Look at the example programs.
d02b48c6 121