A P P E N D I X D |
Building Applications for Use With the Sun Crypto Accelerator 1000 Board |
This appendix discusses the software supplied with the Sun Crypto Accelerator 1000, which can be used to build OpenSSL-compatible applications to take advantage of the cryptographic acceleration features of the Sun Crypto Accelerator 1000 board. Not all OpenSSL applications will benefit from being compiled in this fashion (as opposed to being built with the stock OpenSSL library, which can be downloaded from www.openssl.org).
You must first install the SUNWcrysl package, which contains the required header files and libraries.
Your application must be configured to include OpenSSL headers from /opt/SUNWconn/crypto/include, such as with the compiler flag:
-I /opt/SUNWconn/crypto/include |
Additionally, the linker must be directed to include references to the appropriate libraries. Most OpenSSL-compatible applications will reference either or both of the libcrypto.a and libssl.a libraries. The Sun cryptographic libraries must be included as well. The following linker flags will accomplish this:
Copyright © 2002, Sun Microsystems, Inc. All rights reserved.