OpenSSL crypto(3openssl)
NNNNAAAAMMMMEEEEcrypto - OpenSSL cryptographic library
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN The OpenSSL ccccrrrryyyyppppttttoooo library implements a wide range ofcryptographic algorithms used in various Internet standards.
The services provided by this library are used by theOpenSSL implementations of SSL, TLS and S/MIME, and they have also been used to implement SSH, OpenPGP, and other
cryptographic standards.
OOOOVVVVEEEERRRRVVVVIIIIEEEEWWWWlllliiiibbbbccccrrrryyyyppppttttoooo consists of a number of sub-libraries that
implement the individual algorithms. The functionality includes symmetric encryption, public keycryptography and key agreement, certificate handling,
cryptographic hash functions and a cryptographic pseudo-
random number generator. SYMMETRIC CIPHERS blowfish(3), cast(3), des(3), idea(3), rc2(3), rc4(3), rc5(3) PUBLIC KEY CRYPTOGRAPHY AND KEY AGREEMENT dsa(3), dh(3), rsa(3) CERTIFICATES x509(3), x509v3(3) AUTHENTICATION CODES, HASH FUNCTIONS hmac(3), md2(3), md4(3), md5(3), mdc2(3), ripemd(3), sha(3) AUXILIARY FUNCTIONSerr(3), threads(3), rand(3), OPENSSL_VERSION_NUMBER(3)
INPUT/OUTPUT, DATA ENCODING
asn1(3), bio(3), evp(3), pem(3), pkcs7(3), pkcs12(3) INTERNAL FUNCTIONS bn(3), buffer(3), lhash(3), objects(3), stack(3),txt_db(3)
NNNNOOOOTTTTEEEESSSS Some of the newer functions follow a naming convention using the numbers 0000 and 1111. For example the functions:int X509_CRL_add0_revoked(X509_CRL *crl, X509_REVOKED *rev);
int X509_add1_trust_object(X509 *x, ASN1_OBJECT *obj);
6/Oct/2002 Last change: 0.9.8o 1
OpenSSL crypto(3openssl)
The 0000 version uses the supplied structure pointer directly in the parent and it will be freed up when the parent is freed. In the above example ccccrrrrllll would be freed but rrrreeeevvvv would not. The 1111 function uses a copy of the supplied structure pointer (or in some cases increases its link count) in the parent and so both (xxxx and oooobbbbjjjj above) should be freed up. SSSSEEEEEEEE AAAALLLLSSSSOOOO openssl(1), ssl(3)6/Oct/2002 Last change: 0.9.8o 2