Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
apps/ | H | - | - | 32,860 | 25,950 | |
crypto/ | H | - | - | 228,650 | 153,143 | |
doc/ | H | - | - | 31,438 | 21,149 | |
ssl/ | H | - | - | 40,458 | 28,649 | |
CHANGES | H A D | 07-Jun-2006 | 322.5 KiB | 7,567 | 6,061 | |
FAQ | H A D | 07-Jun-2006 | 36.6 KiB | 844 | 611 | |
LICENSE | H A D | 07-Jun-2006 | 6.1 KiB | 128 | 120 | |
LICENSE.descrip | H A D | 03-May-2007 | 17 | 2 | 1 | |
NEWS | H A D | 07-Jun-2006 | 18.2 KiB | 413 | 355 | |
README | H A D | 07-Jun-2006 | 7.7 KiB | 197 | 154 | |
README.ENGINE | H A D | 14-Jun-2005 | 15.7 KiB | 290 | 255 | |
README.SUNW | H A D | 14-Jan-2009 | 3.8 KiB | 151 | 112 | |
e_os.h | H A D | 07-Jun-2006 | 21 KiB | 688 | 474 | |
e_os2.h | H A D | 07-Jun-2006 | 9.2 KiB | 273 | 143 |
README
1 2 OpenSSL 0.9.8a 11 Oct 2005 3 4 Copyright (c) 1998-2005 The OpenSSL Project 5 Copyright (c) 1995-1998 Eric A. Young, Tim J. Hudson 6 All rights reserved. 7 8 DESCRIPTION 9 ----------- 10 11 The OpenSSL Project is a collaborative effort to develop a robust, 12 commercial-grade, fully featured, and Open Source toolkit implementing the 13 Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) 14 protocols as well as a full-strength general purpose cryptography library. 15 The project is managed by a worldwide community of volunteers that use the 16 Internet to communicate, plan, and develop the OpenSSL toolkit and its 17 related documentation. 18 19 OpenSSL is based on the excellent SSLeay library developed from Eric A. Young 20 and Tim J. Hudson. The OpenSSL toolkit is licensed under a dual-license (the 21 OpenSSL license plus the SSLeay license) situation, which basically means 22 that you are free to get and use it for commercial and non-commercial 23 purposes as long as you fulfill the conditions of both licenses. 24 25 OVERVIEW 26 -------- 27 28 The OpenSSL toolkit includes: 29 30 libssl.a: 31 Implementation of SSLv2, SSLv3, TLSv1 and the required code to support 32 both SSLv2, SSLv3 and TLSv1 in the one server and client. 33 34 libcrypto.a: 35 General encryption and X.509 v1/v3 stuff needed by SSL/TLS but not 36 actually logically part of it. It includes routines for the following: 37 38 Ciphers 39 libdes - EAY's libdes DES encryption package which has been floating 40 around the net for a few years. It includes 15 41 'modes/variations' of DES (1, 2 and 3 key versions of ecb, 42 cbc, cfb and ofb; pcbc and a more general form of cfb and 43 ofb) including desx in cbc mode, a fast crypt(3), and 44 routines to read passwords from the keyboard. 45 RC4 encryption, 46 RC2 encryption - 4 different modes, ecb, cbc, cfb and ofb. 47 Blowfish encryption - 4 different modes, ecb, cbc, cfb and ofb. 48 IDEA encryption - 4 different modes, ecb, cbc, cfb and ofb. 49 50 Digests 51 MD5 and MD2 message digest algorithms, fast implementations, 52 SHA (SHA-0) and SHA-1 message digest algorithms, 53 MDC2 message digest. A DES based hash that is popular on smart cards. 54 55 Public Key 56 RSA encryption/decryption/generation. 57 There is no limit on the number of bits. 58 DSA encryption/decryption/generation. 59 There is no limit on the number of bits. 60 Diffie-Hellman key-exchange/key generation. 61 There is no limit on the number of bits. 62 63 X.509v3 certificates 64 X509 encoding/decoding into/from binary ASN1 and a PEM 65 based ASCII-binary encoding which supports encryption with a 66 private key. Program to generate RSA and DSA certificate 67 requests and to generate RSA and DSA certificates. 68 69 Systems 70 The normal digital envelope routines and base64 encoding. Higher 71 level access to ciphers and digests by name. New ciphers can be 72 loaded at run time. The BIO io system which is a simple non-blocking 73 IO abstraction. Current methods supported are file descriptors, 74 sockets, socket accept, socket connect, memory buffer, buffering, SSL 75 client/server, file pointer, encryption, digest, non-blocking testing 76 and null. 77 78 Data structures 79 A dynamically growing hashing system 80 A simple stack. 81 A Configuration loader that uses a format similar to MS .ini files. 82 83 openssl: 84 A command line tool that can be used for: 85 Creation of RSA, DH and DSA key parameters 86 Creation of X.509 certificates, CSRs and CRLs 87 Calculation of Message Digests 88 Encryption and Decryption with Ciphers 89 SSL/TLS Client and Server Tests 90 Handling of S/MIME signed or encrypted mail 91 92 93 PATENTS 94 ------- 95 96 Various companies hold various patents for various algorithms in various 97 locations around the world. _YOU_ are responsible for ensuring that your use 98 of any algorithms is legal by checking if there are any patents in your 99 country. The file contains some of the patents that we know about or are 100 rumored to exist. This is not a definitive list. 101 102 RSA Security holds software patents on the RC5 algorithm. If you 103 intend to use this cipher, you must contact RSA Security for 104 licensing conditions. Their web page is http://www.rsasecurity.com/. 105 106 RC4 is a trademark of RSA Security, so use of this label should perhaps 107 only be used with RSA Security's permission. 108 109 The IDEA algorithm is patented by Ascom in Austria, France, Germany, Italy, 110 Japan, the Netherlands, Spain, Sweden, Switzerland, UK and the USA. They 111 should be contacted if that algorithm is to be used; their web page is 112 http://www.ascom.ch/. 113 114 The MDC2 algorithm is patented by IBM. 115 116 INSTALLATION 117 ------------ 118 119 To install this package under a Unix derivative, read the INSTALL file. For 120 a Win32 platform, read the INSTALL.W32 file. For OpenVMS systems, read 121 INSTALL.VMS. 122 123 Read the documentation in the doc/ directory. It is quite rough, but it 124 lists the functions; you will probably have to look at the code to work out 125 how to use them. Look at the example programs. 126 127 PROBLEMS 128 -------- 129 130 For some platforms, there are some known problems that may affect the user 131 or application author. We try to collect those in doc/PROBLEMS, with current 132 thoughts on how they should be solved in a future of OpenSSL. 133 134 SUPPORT 135 ------- 136 137 If you have any problems with OpenSSL then please take the following steps 138 first: 139 140 - Download the current snapshot from ftp://ftp.openssl.org/snapshot/ 141 to see if the problem has already been addressed 142 - Remove ASM versions of libraries 143 - Remove compiler optimisation flags 144 145 If you wish to report a bug then please include the following information in 146 any bug report: 147 148 - On Unix systems: 149 Self-test report generated by 'make report' 150 - On other systems: 151 OpenSSL version: output of 'openssl version -a' 152 OS Name, Version, Hardware platform 153 Compiler Details (name, version) 154 - Application Details (name, version) 155 - Problem Description (steps that will reproduce the problem, if known) 156 - Stack Traceback (if the application dumps core) 157 158 Report the bug to the OpenSSL project via the Request Tracker 159 (http://www.openssl.org/support/rt2.html) by mail to: 160 161 openssl-bugs@openssl.org 162 163 Note that mail to openssl-bugs@openssl.org is recorded in the publicly 164 readable request tracker database and is forwarded to a public 165 mailing list. Confidential mail may be sent to openssl-security@openssl.org 166 (PGP key available from the key servers). 167 168 HOW TO CONTRIBUTE TO OpenSSL 169 ---------------------------- 170 171 Development is coordinated on the openssl-dev mailing list (see 172 http://www.openssl.org for information on subscribing). If you 173 would like to submit a patch, send it to openssl-dev@openssl.org with 174 the string "[PATCH]" in the subject. Please be sure to include a 175 textual explanation of what your patch does. 176 177 Note: For legal reasons, contributions from the US can be accepted only 178 if a TSU notification and a copy of the patch are sent to crypt@bis.doc.gov 179 (formerly BXA) with a copy to the ENC Encryption Request Coordinator; 180 please take some time to look at 181 http://www.bis.doc.gov/Encryption/PubAvailEncSourceCodeNofify.html [sic] 182 and 183 http://w3.access.gpo.gov/bis/ear/pdf/740.pdf (EAR Section 740.13(e)) 184 for the details. If "your encryption source code is too large to serve as 185 an email attachment", they are glad to receive it by fax instead; hope you 186 have a cheap long-distance plan. 187 188 Our preferred format for changes is "diff -u" output. You might 189 generate it like this: 190 191 # cd openssl-work 192 # [your changes] 193 # ./Configure dist; make clean 194 # cd .. 195 # diff -ur openssl-orig openssl-work > mydiffs.patch 196 197
README.ENGINE
1 ENGINE 2 ====== 3 4 With OpenSSL 0.9.6, a new component was added to support alternative 5 cryptography implementations, most commonly for interfacing with external 6 crypto devices (eg. accelerator cards). This component is called ENGINE, 7 and its presence in OpenSSL 0.9.6 (and subsequent bug-fix releases) 8 caused a little confusion as 0.9.6** releases were rolled in two 9 versions, a "standard" and an "engine" version. In development for 0.9.7, 10 the ENGINE code has been merged into the main branch and will be present 11 in the standard releases from 0.9.7 forwards. 12 13 There are currently built-in ENGINE implementations for the following 14 crypto devices: 15 16 o CryptoSwift 17 o Compaq Atalla 18 o nCipher CHIL 19 o Nuron 20 o Broadcom uBSec 21 22 In addition, dynamic binding to external ENGINE implementations is now 23 provided by a special ENGINE called "dynamic". See the "DYNAMIC ENGINE" 24 section below for details. 25 26 At this stage, a number of things are still needed and are being worked on: 27 28 1 Integration of EVP support. 29 2 Configuration support. 30 3 Documentation! 31 321 With respect to EVP, this relates to support for ciphers and digests in 33 the ENGINE model so that alternative implementations of existing 34 algorithms/modes (or previously unimplemented ones) can be provided by 35 ENGINE implementations. 36 372 Configuration support currently exists in the ENGINE API itself, in the 38 form of "control commands". These allow an application to expose to the 39 user/admin the set of commands and parameter types a given ENGINE 40 implementation supports, and for an application to directly feed string 41 based input to those ENGINEs, in the form of name-value pairs. This is an 42 extensible way for ENGINEs to define their own "configuration" mechanisms 43 that are specific to a given ENGINE (eg. for a particular hardware 44 device) but that should be consistent across *all* OpenSSL-based 45 applications when they use that ENGINE. Work is in progress (or at least 46 in planning) for supporting these control commands from the CONF (or 47 NCONF) code so that applications using OpenSSL's existing configuration 48 file format can have ENGINE settings specified in much the same way. 49 Presently however, applications must use the ENGINE API itself to provide 50 such functionality. To see first hand the types of commands available 51 with the various compiled-in ENGINEs (see further down for dynamic 52 ENGINEs), use the "engine" openssl utility with full verbosity, ie; 53 openssl engine -vvvv 54 553 Documentation? Volunteers welcome! The source code is reasonably well 56 self-documenting, but some summaries and usage instructions are needed - 57 moreover, they are needed in the same POD format the existing OpenSSL 58 documentation is provided in. Any complete or incomplete contributions 59 would help make this happen. 60 61 STABILITY & BUG-REPORTS 62 ======================= 63 64 What already exists is fairly stable as far as it has been tested, but 65 the test base has been a bit small most of the time. For the most part, 66 the vendors of the devices these ENGINEs support have contributed to the 67 development and/or testing of the implementations, and *usually* (with no 68 guarantees) have experience in using the ENGINE support to drive their 69 devices from common OpenSSL-based applications. Bugs and/or inexplicable 70 behaviour in using a specific ENGINE implementation should be sent to the 71 author of that implementation (if it is mentioned in the corresponding C 72 file), and in the case of implementations for commercial hardware 73 devices, also through whatever vendor support channels are available. If 74 none of this is possible, or the problem seems to be something about the 75 ENGINE API itself (ie. not necessarily specific to a particular ENGINE 76 implementation) then you should mail complete details to the relevant 77 OpenSSL mailing list. For a definition of "complete details", refer to 78 the OpenSSL "README" file. As for which list to send it to; 79 80 openssl-users: if you are *using* the ENGINE abstraction, either in an 81 pre-compiled application or in your own application code. 82 83 openssl-dev: if you are discussing problems with OpenSSL source code. 84 85 USAGE 86 ===== 87 88 The default "openssl" ENGINE is always chosen when performing crypto 89 operations unless you specify otherwise. You must actively tell the 90 openssl utility commands to use anything else through a new command line 91 switch called "-engine". Also, if you want to use the ENGINE support in 92 your own code to do something similar, you must likewise explicitly 93 select the ENGINE implementation you want. 94 95 Depending on the type of hardware, system, and configuration, "settings" 96 may need to be applied to an ENGINE for it to function as expected/hoped. 97 The recommended way of doing this is for the application to support 98 ENGINE "control commands" so that each ENGINE implementation can provide 99 whatever configuration primitives it might require and the application 100 can allow the user/admin (and thus the hardware vendor's support desk 101 also) to provide any such input directly to the ENGINE implementation. 102 This way, applications do not need to know anything specific to any 103 device, they only need to provide the means to carry such user/admin 104 input through to the ENGINE in question. Ie. this connects *you* (and 105 your helpdesk) to the specific ENGINE implementation (and device), and 106 allows application authors to not get buried in hassle supporting 107 arbitrary devices they know (and care) nothing about. 108 109 A new "openssl" utility, "openssl engine", has been added in that allows 110 for testing and examination of ENGINE implementations. Basic usage 111 instructions are available by specifying the "-?" command line switch. 112 113 DYNAMIC ENGINES 114 =============== 115 116 The new "dynamic" ENGINE provides a low-overhead way to support ENGINE 117 implementations that aren't pre-compiled and linked into OpenSSL-based 118 applications. This could be because existing compiled-in implementations 119 have known problems and you wish to use a newer version with an existing 120 application. It could equally be because the application (or OpenSSL 121 library) you are using simply doesn't have support for the ENGINE you 122 wish to use, and the ENGINE provider (eg. hardware vendor) is providing 123 you with a self-contained implementation in the form of a shared-library. 124 The other use-case for "dynamic" is with applications that wish to 125 maintain the smallest foot-print possible and so do not link in various 126 ENGINE implementations from OpenSSL, but instead leaves you to provide 127 them, if you want them, in the form of "dynamic"-loadable 128 shared-libraries. It should be possible for hardware vendors to provide 129 their own shared-libraries to support arbitrary hardware to work with 130 applications based on OpenSSL 0.9.7 or later. If you're using an 131 application based on 0.9.7 (or later) and the support you desire is only 132 announced for versions later than the one you need, ask the vendor to 133 backport their ENGINE to the version you need. 134 135 How does "dynamic" work? 136 ------------------------ 137 The dynamic ENGINE has a special flag in its implementation such that 138 every time application code asks for the 'dynamic' ENGINE, it in fact 139 gets its own copy of it. As such, multi-threaded code (or code that 140 multiplexes multiple uses of 'dynamic' in a single application in any 141 way at all) does not get confused by 'dynamic' being used to do many 142 independent things. Other ENGINEs typically don't do this so there is 143 only ever 1 ENGINE structure of its type (and reference counts are used 144 to keep order). The dynamic ENGINE itself provides absolutely no 145 cryptographic functionality, and any attempt to "initialise" the ENGINE 146 automatically fails. All it does provide are a few "control commands" 147 that can be used to control how it will load an external ENGINE 148 implementation from a shared-library. To see these control commands, 149 use the command-line; 150 151 openssl engine -vvvv dynamic 152 153 The "SO_PATH" control command should be used to identify the 154 shared-library that contains the ENGINE implementation, and "NO_VCHECK" 155 might possibly be useful if there is a minor version conflict and you 156 (or a vendor helpdesk) is convinced you can safely ignore it. 157 "ID" is probably only needed if a shared-library implements 158 multiple ENGINEs, but if you know the engine id you expect to be using, 159 it doesn't hurt to specify it (and this provides a sanity check if 160 nothing else). "LIST_ADD" is only required if you actually wish the 161 loaded ENGINE to be discoverable by application code later on using the 162 ENGINE's "id". For most applications, this isn't necessary - but some 163 application authors may have nifty reasons for using it. The "LOAD" 164 command is the only one that takes no parameters and is the command 165 that uses the settings from any previous commands to actually *load* 166 the shared-library ENGINE implementation. If this command succeeds, the 167 (copy of the) 'dynamic' ENGINE will magically morph into the ENGINE 168 that has been loaded from the shared-library. As such, any control 169 commands supported by the loaded ENGINE could then be executed as per 170 normal. Eg. if ENGINE "foo" is implemented in the shared-library 171 "libfoo.so" and it supports some special control command "CMD_FOO", the 172 following code would load and use it (NB: obviously this code has no 173 error checking); 174 175 ENGINE *e = ENGINE_by_id("dynamic"); 176 ENGINE_ctrl_cmd_string(e, "SO_PATH", "/lib/libfoo.so", 0); 177 ENGINE_ctrl_cmd_string(e, "ID", "foo", 0); 178 ENGINE_ctrl_cmd_string(e, "LOAD", NULL, 0); 179 ENGINE_ctrl_cmd_string(e, "CMD_FOO", "some input data", 0); 180 181 For testing, the "openssl engine" utility can be useful for this sort 182 of thing. For example the above code excerpt would achieve much the 183 same result as; 184 185 openssl engine dynamic \ 186 -pre SO_PATH:/lib/libfoo.so \ 187 -pre ID:foo \ 188 -pre LOAD \ 189 -pre "CMD_FOO:some input data" 190 191 Or to simply see the list of commands supported by the "foo" ENGINE; 192 193 openssl engine -vvvv dynamic \ 194 -pre SO_PATH:/lib/libfoo.so \ 195 -pre ID:foo \ 196 -pre LOAD 197 198 Applications that support the ENGINE API and more specifically, the 199 "control commands" mechanism, will provide some way for you to pass 200 such commands through to ENGINEs. As such, you would select "dynamic" 201 as the ENGINE to use, and the parameters/commands you pass would 202 control the *actual* ENGINE used. Each command is actually a name-value 203 pair and the value can sometimes be omitted (eg. the "LOAD" command). 204 Whilst the syntax demonstrated in "openssl engine" uses a colon to 205 separate the command name from the value, applications may provide 206 their own syntax for making that separation (eg. a win32 registry 207 key-value pair may be used by some applications). The reason for the 208 "-pre" syntax in the "openssl engine" utility is that some commands 209 might be issued to an ENGINE *after* it has been initialised for use. 210 Eg. if an ENGINE implementation requires a smart-card to be inserted 211 during initialisation (or a PIN to be typed, or whatever), there may be 212 a control command you can issue afterwards to "forget" the smart-card 213 so that additional initialisation is no longer possible. In 214 applications such as web-servers, where potentially volatile code may 215 run on the same host system, this may provide some arguable security 216 value. In such a case, the command would be passed to the ENGINE after 217 it has been initialised for use, and so the "-post" switch would be 218 used instead. Applications may provide a different syntax for 219 supporting this distinction, and some may simply not provide it at all 220 ("-pre" is almost always what you're after, in reality). 221 222 How do I build a "dynamic" ENGINE? 223 ---------------------------------- 224 This question is trickier - currently OpenSSL bundles various ENGINE 225 implementations that are statically built in, and any application that 226 calls the "ENGINE_load_builtin_engines()" function will automatically 227 have all such ENGINEs available (and occupying memory). Applications 228 that don't call that function have no ENGINEs available like that and 229 would have to use "dynamic" to load any such ENGINE - but on the other 230 hand such applications would only have the memory footprint of any 231 ENGINEs explicitly loaded using user/admin provided control commands. 232 The main advantage of not statically linking ENGINEs and only using 233 "dynamic" for hardware support is that any installation using no 234 "external" ENGINE suffers no unnecessary memory footprint from unused 235 ENGINEs. Likewise, installations that do require an ENGINE incur the 236 overheads from only *that* ENGINE once it has been loaded. 237 238 Sounds good? Maybe, but currently building an ENGINE implementation as 239 a shared-library that can be loaded by "dynamic" isn't automated in 240 OpenSSL's build process. It can be done manually quite easily however. 241 Such a shared-library can either be built with any OpenSSL code it 242 needs statically linked in, or it can link dynamically against OpenSSL 243 if OpenSSL itself is built as a shared library. The instructions are 244 the same in each case, but in the former (statically linked any 245 dependencies on OpenSSL) you must ensure OpenSSL is built with 246 position-independent code ("PIC"). The default OpenSSL compilation may 247 already specify the relevant flags to do this, but you should consult 248 with your compiler documentation if you are in any doubt. 249 250 This example will show building the "atalla" ENGINE in the 251 crypto/engine/ directory as a shared-library for use via the "dynamic" 252 ENGINE. 253 1) "cd" to the crypto/engine/ directory of a pre-compiled OpenSSL 254 source tree. 255 2) Recompile at least one source file so you can see all the compiler 256 flags (and syntax) being used to build normally. Eg; 257 touch hw_atalla.c ; make 258 will rebuild "hw_atalla.o" using all such flags. 259 3) Manually enter the same compilation line to compile the 260 "hw_atalla.c" file but with the following two changes; 261 (a) add "-DENGINE_DYNAMIC_SUPPORT" to the command line switches, 262 (b) change the output file from "hw_atalla.o" to something new, 263 eg. "tmp_atalla.o" 264 4) Link "tmp_atalla.o" into a shared-library using the top-level 265 OpenSSL libraries to resolve any dependencies. The syntax for doing 266 this depends heavily on your system/compiler and is a nightmare 267 known well to anyone who has worked with shared-library portability 268 before. 'gcc' on Linux, for example, would use the following syntax; 269 gcc -shared -o dyn_atalla.so tmp_atalla.o -L../.. -lcrypto 270 5) Test your shared library using "openssl engine" as explained in the 271 previous section. Eg. from the top-level directory, you might try; 272 apps/openssl engine -vvvv dynamic \ 273 -pre SO_PATH:./crypto/engine/dyn_atalla.so -pre LOAD 274 If the shared-library loads successfully, you will see both "-pre" 275 commands marked as "SUCCESS" and the list of control commands 276 displayed (because of "-vvvv") will be the control commands for the 277 *atalla* ENGINE (ie. *not* the 'dynamic' ENGINE). You can also add 278 the "-t" switch to the utility if you want it to try and initialise 279 the atalla ENGINE for use to test any possible hardware/driver 280 issues. 281 282 PROBLEMS 283 ======== 284 285 It seems like the ENGINE part doesn't work too well with CryptoSwift on Win32. 286 A quick test done right before the release showed that trying "openssl speed 287 -engine cswift" generated errors. If the DSO gets enabled, an attempt is made 288 to write at memory address 0x00000002. 289 290
README.SUNW
1# 2# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 3# Use is subject to license terms. 4# 5 6The version of OpenSSL found in this directory was created by taking the 7stock version of OpenSSL 0.9.8a from www.openssl.org and modifying some of 8the files to conform to Sun standards. 9 10This work is based on previous work done on stock version of OpenSSL 0.9.7d 11shipped with Solaris 10. 12 13=================== 14Configure options 15=================== 16 17Below are the options and the targets given to the Configure script. 18 19To build shared objects, 20 21 ./Configure \ 22 no-ec \ 23 no-ecdh \ 24 no-ecdsa \ 25 no-rc3 \ 26 no-rc5 \ 27 no-mdc2 \ 28 no-idea \ 29 no-hw_cswift \ 30 no-hw_ncipher \ 31 no-hw_atalla \ 32 no-hw_nuron \ 33 no-hw_ubsec \ 34 no-hw_aep \ 35 no-hw_sureware \ 36 no-hw_4758-cca \ 37 no-hw_chil \ 38 no-hw_gmp \ 39 threads \ 40 shared \ 41 $TARGET 42 43, where TARGET is one of the three, depending on the target architecture: 44 45 solaris-sparcv8-cc (sparc) 46 solaris64-sparcv9-cc (sparcv9) 47 solaris-x86-cc (i386) 48 49 50For libcrypto.a and libssl.a used by wanboot, 51 52 ./Configure \ 53 no-aes \ 54 no-cast \ 55 no-dso \ 56 no-ec \ 57 no-ecdh \ 58 no-ecdsa \ 59 no-mdc2 \ 60 no-rc3 \ 61 no-rc4 \ 62 no-rc5 \ 63 no-ripemd \ 64 no-idea \ 65 no-hw \ 66 no-threads \ 67 solaris64-sparcv9-cc 68 69 70=============================================== 71The files differ from the original distribution 72=============================================== 73 74The following files are different from the OpenSSL 0.9.8a release. 75 761. This header file is generated by Configure. We combined four versions of 77 this file generated by four runs of Configure. 78 79 crypto/opensslconf.h 80 812. Solaris OpenSSL supports PKCS#11 engine. 82 This code may go back to the open-source community in the future. 83 84 The following files were created. 85 86 crypto/engine/hw_pk11_err.h 87 crypto/engine/hw_pk11.c 88 crypto/engine/hw_pk11_err.c 89 crypto/engine/hw_pk11_pub.c 90 91 The following files were modified. 92 93 crypto/engine/engine.h 94 953. These files were modified to load the PKCS#11 engine. 96 Added code is surrounded by "#ifdef SOLARIS_OPENSSL". 97 98 crypto/engine/eng_cnf.c 99 crypto/engine/hw_pk11.c 100 101 1024. We have a special case where OpenSSL is used by the "wanboot" binary 103 program, that is run to boot the wanboot client. 104 The following files are modified for this purpose. Added code is 105 surrounded by "#ifdef _BOOT". 106 107 crypto/opensslconf.h 108 crypto/err/err_all.c 109 crypto/evp/evp_key.c 110 crypto/rand/rand_unix.c 111 crypto/rand/randfile.c 112 crypto/x509v3/v3_utl.c 113 e_os.h 114 115 1165. The configuration file was modified to ship with Solaris defaults. 117 118 $SRC/cmd/openssl/openssl.cnf 119 (Note: apps/openssl.cnf is unused.) 120 121 1226. Two files were added for a clean ON build even though the majority 123 if OpenSSL code itself is not subject to lint checks (with the exception 124 of crypto/engine/hw_pk11*.[ch] files). 125 126 crypto/llib-lcrypto 127 ssl/llib-lssl 128 1297. OpenSSL version string was modified. Due to the fact that we don't upgrade 130 OpenSSL frequently we are forced to patch the currently shipped version. The 131 problem with this aproach is that normally, every security vulnerability fix 132 triggers a new release of OpenSSL so people can easily check whether their 133 currently installed version is vulnerable or not. That is not possible with a 134 patched older version. So, we decided to put the security bug tags into the 135 version string, like this: 136 137 OpenSSL 0.9.8a 11 Oct 2005 (+ security fixes for: CAN-2005-2969 CVE-2006-3738 138 CVE-2006-4343 CVE-2007-3108 CVE-2007-5135 CVE-2008-5077) 139 140 Note that actually it's all on the same line because we want to avoid 141 problems with Configure scripts that might rely on the fact that the original 142 OpenSSL version string consists of one line only. 143 144 Be aware that the version string is not considered a stable interface and 145 that all security vulnerability reports are available via SunAlert 146 notifications. 147 1488. And, finally, this file was added. 149 150 README.SUNW 151