NAME
CCoommmmoonn CCrryyppttoo - libSystem digest library
DESCRIPTION
The libSystem CCoommmmoonn CCrryyppttoo library implements a wide range of crypto-
graphic algorithms used in various Internet standards. The services pro-
vided by this library are used by the CDSA implementations of SSL, TLS and S/MIME. OOVVEERRVVIIEEWW lliibbSSyysstteemm contains the Common Crypto collection of algorithms. Digest and encryption algorithms contained in this library are optimized for speed. The algorithms have been collected from various sources and chosen for their performance characteristics. Since libSystem is linked into all executables it is preferable for applications to use these functions rather than implementing their own versions. NNOOTTEESSTo use the digest functions with existing code which uses the correspond-
ing openssl functions, #define the symbol COMMONDIGESTFOROPENSSL in
your client code (BEFORE including). You can *NOT* mix and match functions operating on a given data type from the two implementations; i.e., if you do a CCCCMMDD55IInniitt() on a CCMD5CTX object, do not assume that you can do an openssl-style MMDD55UUppddaattee() on
that same context. The interfaces to the encryption and HMAC algorithms have a calling interface that is different from that provided by OpenSSL.SEE ALSO
CCMD5(3cc), CCSHA(3cc), CCHmac(3cc), CCCryptor(3cc) BSD April 5, 2007 BSD