1 .TH "EVP generic crypto functions" 3 "11 Jan 2012" "Version 1.5.2" "Heimdal crypto library" \" -*- nroff -*-
5 EVP generic crypto functions \-
10 .RI "const EVP_CIPHER * \fBEVP_wincrypt_des_ede3_cbc\fP (void)"
13 .RI "const EVP_CIPHER * \fBEVP_hcrypto_aes_128_cbc\fP (void)"
16 .RI "const EVP_CIPHER * \fBEVP_hcrypto_aes_192_cbc\fP (void)"
19 .RI "const EVP_CIPHER * \fBEVP_hcrypto_aes_256_cbc\fP (void)"
22 .RI "const EVP_CIPHER * \fBEVP_hcrypto_aes_128_cfb8\fP (void)"
25 .RI "const EVP_CIPHER * \fBEVP_hcrypto_aes_192_cfb8\fP (void)"
28 .RI "const EVP_CIPHER * \fBEVP_hcrypto_aes_256_cfb8\fP (void)"
31 .RI "const EVP_MD * \fBEVP_hcrypto_sha256\fP (void)"
34 .RI "const EVP_MD * \fBEVP_hcrypto_sha384\fP (void)"
37 .RI "const EVP_MD * \fBEVP_hcrypto_sha512\fP (void)"
40 .RI "const EVP_MD * \fBEVP_hcrypto_sha1\fP (void)"
43 .RI "const EVP_MD * \fBEVP_hcrypto_md5\fP (void)"
46 .RI "const EVP_MD * \fBEVP_hcrypto_md4\fP (void)"
49 .RI "const EVP_MD * \fBEVP_hcrypto_md2\fP (void)"
52 .RI "const EVP_CIPHER * \fBEVP_hcrypto_des_cbc\fP (void)"
55 .RI "const EVP_CIPHER * \fBEVP_hcrypto_des_ede3_cbc\fP (void)"
58 .RI "const EVP_CIPHER * \fBEVP_hcrypto_rc2_cbc\fP (void)"
61 .RI "const EVP_CIPHER * \fBEVP_hcrypto_rc2_40_cbc\fP (void)"
64 .RI "const EVP_CIPHER * \fBEVP_hcrypto_rc2_64_cbc\fP (void)"
67 .RI "const EVP_CIPHER * \fBEVP_hcrypto_camellia_128_cbc\fP (void)"
70 .RI "const EVP_CIPHER * \fBEVP_hcrypto_camellia_192_cbc\fP (void)"
73 .RI "const EVP_CIPHER * \fBEVP_hcrypto_camellia_256_cbc\fP (void)"
76 .RI "size_t \fBEVP_MD_size\fP (const EVP_MD *md)"
79 .RI "size_t \fBEVP_MD_block_size\fP (const EVP_MD *md)"
82 .RI "EVP_MD_CTX * \fBEVP_MD_CTX_create\fP (void)"
85 .RI "void \fBEVP_MD_CTX_init\fP (EVP_MD_CTX *ctx) HC_DEPRECATED"
88 .RI "void \fBEVP_MD_CTX_destroy\fP (EVP_MD_CTX *ctx)"
91 .RI "int \fBEVP_MD_CTX_cleanup\fP (EVP_MD_CTX *ctx) HC_DEPRECATED"
94 .RI "const EVP_MD * \fBEVP_MD_CTX_md\fP (EVP_MD_CTX *ctx)"
97 .RI "size_t \fBEVP_MD_CTX_size\fP (EVP_MD_CTX *ctx)"
100 .RI "size_t \fBEVP_MD_CTX_block_size\fP (EVP_MD_CTX *ctx)"
103 .RI "int \fBEVP_DigestInit_ex\fP (EVP_MD_CTX *ctx, const EVP_MD *md, ENGINE *engine)"
106 .RI "int \fBEVP_DigestUpdate\fP (EVP_MD_CTX *ctx, const void *data, size_t size)"
109 .RI "int \fBEVP_DigestFinal_ex\fP (EVP_MD_CTX *ctx, void *hash, unsigned int *size)"
112 .RI "int \fBEVP_Digest\fP (const void *data, size_t dsize, void *hash, unsigned int *hsize, const EVP_MD *md, ENGINE *engine)"
115 .RI "const EVP_MD * \fBEVP_sha256\fP (void)"
118 .RI "const EVP_MD * \fBEVP_sha384\fP (void)"
121 .RI "const EVP_MD * \fBEVP_sha512\fP (void)"
124 .RI "const EVP_MD * \fBEVP_sha1\fP (void)"
127 .RI "const EVP_MD * \fBEVP_sha\fP (void)"
130 .RI "const EVP_MD * \fBEVP_md5\fP (void)"
133 .RI "const EVP_MD * \fBEVP_md4\fP (void)"
136 .RI "const EVP_MD * \fBEVP_md2\fP (void)"
139 .RI "const EVP_MD * \fBEVP_md_null\fP (void)"
142 .RI "size_t \fBEVP_CIPHER_block_size\fP (const EVP_CIPHER *c)"
145 .RI "size_t \fBEVP_CIPHER_key_length\fP (const EVP_CIPHER *c)"
148 .RI "size_t \fBEVP_CIPHER_iv_length\fP (const EVP_CIPHER *c)"
151 .RI "void \fBEVP_CIPHER_CTX_init\fP (EVP_CIPHER_CTX *c)"
154 .RI "int \fBEVP_CIPHER_CTX_cleanup\fP (EVP_CIPHER_CTX *c)"
157 .RI "int \fBEVP_CIPHER_CTX_set_key_length\fP (EVP_CIPHER_CTX *c, int length)"
160 .RI "const EVP_CIPHER * \fBEVP_CIPHER_CTX_cipher\fP (EVP_CIPHER_CTX *ctx)"
163 .RI "size_t \fBEVP_CIPHER_CTX_block_size\fP (const EVP_CIPHER_CTX *ctx)"
166 .RI "size_t \fBEVP_CIPHER_CTX_key_length\fP (const EVP_CIPHER_CTX *ctx)"
169 .RI "size_t \fBEVP_CIPHER_CTX_iv_length\fP (const EVP_CIPHER_CTX *ctx)"
172 .RI "unsigned long \fBEVP_CIPHER_CTX_flags\fP (const EVP_CIPHER_CTX *ctx)"
175 .RI "int \fBEVP_CIPHER_CTX_mode\fP (const EVP_CIPHER_CTX *ctx)"
178 .RI "void * \fBEVP_CIPHER_CTX_get_app_data\fP (EVP_CIPHER_CTX *ctx)"
181 .RI "void \fBEVP_CIPHER_CTX_set_app_data\fP (EVP_CIPHER_CTX *ctx, void *data)"
184 .RI "int \fBEVP_CipherInit_ex\fP (EVP_CIPHER_CTX *ctx, const EVP_CIPHER *c, ENGINE *engine, const void *key, const void *iv, int encp)"
187 .RI "int \fBEVP_CipherUpdate\fP (EVP_CIPHER_CTX *ctx, void *out, int *outlen, void *in, size_t inlen)"
190 .RI "int \fBEVP_CipherFinal_ex\fP (EVP_CIPHER_CTX *ctx, void *out, int *outlen)"
193 .RI "const EVP_CIPHER * \fBEVP_enc_null\fP (void)"
196 .RI "const EVP_CIPHER * \fBEVP_rc2_cbc\fP (void)"
199 .RI "const EVP_CIPHER * \fBEVP_rc2_40_cbc\fP (void)"
202 .RI "const EVP_CIPHER * \fBEVP_rc2_64_cbc\fP (void)"
205 .RI "const EVP_CIPHER * \fBEVP_rc4\fP (void)"
208 .RI "const EVP_CIPHER * \fBEVP_rc4_40\fP (void)"
211 .RI "const EVP_CIPHER * \fBEVP_des_cbc\fP (void)"
214 .RI "const EVP_CIPHER * \fBEVP_des_ede3_cbc\fP (void)"
217 .RI "const EVP_CIPHER * \fBEVP_aes_128_cbc\fP (void)"
220 .RI "const EVP_CIPHER * \fBEVP_aes_192_cbc\fP (void)"
223 .RI "const EVP_CIPHER * \fBEVP_aes_256_cbc\fP (void)"
226 .RI "const EVP_CIPHER * \fBEVP_aes_128_cfb8\fP (void)"
229 .RI "const EVP_CIPHER * \fBEVP_aes_192_cfb8\fP (void)"
232 .RI "const EVP_CIPHER * \fBEVP_aes_256_cfb8\fP (void)"
235 .RI "const EVP_CIPHER * \fBEVP_camellia_128_cbc\fP (void)"
238 .RI "const EVP_CIPHER * \fBEVP_camellia_192_cbc\fP (void)"
241 .RI "const EVP_CIPHER * \fBEVP_camellia_256_cbc\fP (void)"
244 .RI "const EVP_CIPHER * \fBEVP_get_cipherbyname\fP (const char *name)"
247 .RI "int \fBEVP_BytesToKey\fP (const EVP_CIPHER *type, const EVP_MD *md, const void *salt, const void *data, size_t datalen, unsigned int count, void *keydata, void *ivdata)"
250 .SH "Detailed Description"
252 See the \fBEVP - generic crypto interface\fP for description and examples.
253 .SH "Function Documentation"
255 .SS "const EVP_CIPHER* EVP_aes_128_cbc (void)"
257 The AES-128 cipher type
261 the AES-128 EVP_CIPHER pointer.
268 \fBexample_evp_cipher.c\fP.
269 .SS "const EVP_CIPHER* EVP_aes_128_cfb8 (void)"
271 The AES-128 cipher type
275 the AES-128 EVP_CIPHER pointer.
279 .SS "const EVP_CIPHER* EVP_aes_192_cbc (void)"
281 The AES-192 cipher type
285 the AES-192 EVP_CIPHER pointer.
289 .SS "const EVP_CIPHER* EVP_aes_192_cfb8 (void)"
291 The AES-192 cipher type
295 the AES-192 EVP_CIPHER pointer.
299 .SS "const EVP_CIPHER* EVP_aes_256_cbc (void)"
301 The AES-256 cipher type
305 the AES-256 EVP_CIPHER pointer.
309 .SS "const EVP_CIPHER* EVP_aes_256_cfb8 (void)"
311 The AES-256 cipher type
315 the AES-256 EVP_CIPHER pointer.
319 .SS "int EVP_BytesToKey (const EVP_CIPHER * type, const EVP_MD * md, const void * salt, const void * data, size_t datalen, unsigned int count, void * keydata, void * ivdata)"
321 Provides a legancy string to key function, used in PEM files.
323 New protocols should use new string to key functions like NIST SP56-800A or PKCS#5 v2.0 (see \fBPKCS5_PBKDF2_HMAC_SHA1()\fP).
327 \fItype\fP type of cipher to use
329 \fImd\fP message digest to use
331 \fIsalt\fP salt salt string, should be an binary 8 byte buffer.
333 \fIdata\fP the password/input key string.
335 \fIdatalen\fP length of data parameter.
337 \fIcount\fP iteration counter.
339 \fIkeydata\fP output keydata, needs to of the size \fBEVP_CIPHER_key_length()\fP.
341 \fIivdata\fP output ivdata, needs to of the size \fBEVP_CIPHER_block_size()\fP.
346 the size of derived key.
350 .SS "const EVP_CIPHER* EVP_camellia_128_cbc (void)"
352 The Camellia-128 cipher type
356 the Camellia-128 EVP_CIPHER pointer.
360 .SS "const EVP_CIPHER* EVP_camellia_192_cbc (void)"
362 The Camellia-198 cipher type
366 the Camellia-198 EVP_CIPHER pointer.
370 .SS "const EVP_CIPHER* EVP_camellia_256_cbc (void)"
372 The Camellia-256 cipher type
376 the Camellia-256 EVP_CIPHER pointer.
380 .SS "size_t EVP_CIPHER_block_size (const EVP_CIPHER * c)"
382 Return the block size of the cipher.
386 \fIc\fP cipher to get the block size from.
391 the block size of the cipher.
398 \fBexample_evp_cipher.c\fP.
399 .SS "size_t EVP_CIPHER_CTX_block_size (const EVP_CIPHER_CTX * ctx)"
401 Return the block size of the cipher context.
405 \fIctx\fP cipher context to get the block size from.
410 the block size of the cipher context.
414 .SS "const EVP_CIPHER* EVP_CIPHER_CTX_cipher (EVP_CIPHER_CTX * ctx)"
416 Return the EVP_CIPHER for a EVP_CIPHER_CTX context.
420 \fIctx\fP the context to get the cipher type from.
425 the EVP_CIPHER pointer.
429 .SS "int EVP_CIPHER_CTX_cleanup (EVP_CIPHER_CTX * c)"
431 Clean up the EVP_CIPHER_CTX context.
435 \fIc\fP the cipher to clean up.
447 \fBexample_evp_cipher.c\fP.
448 .SS "unsigned long EVP_CIPHER_CTX_flags (const EVP_CIPHER_CTX * ctx)"
450 Get the flags for an EVP_CIPHER_CTX context.
454 \fIctx\fP the EVP_CIPHER_CTX to get the flags from
459 the flags for an EVP_CIPHER_CTX.
463 .SS "void* EVP_CIPHER_CTX_get_app_data (EVP_CIPHER_CTX * ctx)"
465 Get the app data for an EVP_CIPHER_CTX context.
469 \fIctx\fP the EVP_CIPHER_CTX to get the app data from
474 the app data for an EVP_CIPHER_CTX.
478 .SS "void EVP_CIPHER_CTX_init (EVP_CIPHER_CTX * c)"
480 Initiate a EVP_CIPHER_CTX context. Clean up with \fBEVP_CIPHER_CTX_cleanup()\fP.
484 \fIc\fP the cipher initiate.
491 \fBexample_evp_cipher.c\fP.
492 .SS "size_t EVP_CIPHER_CTX_iv_length (const EVP_CIPHER_CTX * ctx)"
494 Return the IV size of the cipher context.
498 \fIctx\fP cipher context to get the IV size from.
503 the IV size of the cipher context.
507 .SS "size_t EVP_CIPHER_CTX_key_length (const EVP_CIPHER_CTX * ctx)"
509 Return the key size of the cipher context.
513 \fIctx\fP cipher context to get the key size from.
518 the key size of the cipher context.
522 .SS "int EVP_CIPHER_CTX_mode (const EVP_CIPHER_CTX * ctx)"
524 Get the mode for an EVP_CIPHER_CTX context.
528 \fIctx\fP the EVP_CIPHER_CTX to get the mode from
533 the mode for an EVP_CIPHER_CTX.
537 .SS "void EVP_CIPHER_CTX_set_app_data (EVP_CIPHER_CTX * ctx, void * data)"
539 Set the app data for an EVP_CIPHER_CTX context.
543 \fIctx\fP the EVP_CIPHER_CTX to set the app data for
545 \fIdata\fP the app data to set for an EVP_CIPHER_CTX.
549 .SS "int EVP_CIPHER_CTX_set_key_length (EVP_CIPHER_CTX * c, int length)"
551 If the cipher type supports it, change the key length
555 \fIc\fP the cipher context to change the key length for
557 \fIlength\fP new key length
566 .SS "size_t EVP_CIPHER_iv_length (const EVP_CIPHER * c)"
568 Return the IV size of the cipher.
572 \fIc\fP cipher to get the IV size from.
577 the IV size of the cipher.
584 \fBexample_evp_cipher.c\fP.
585 .SS "size_t EVP_CIPHER_key_length (const EVP_CIPHER * c)"
587 Return the key size of the cipher.
591 \fIc\fP cipher to get the key size from.
596 the key size of the cipher.
603 \fBexample_evp_cipher.c\fP.
604 .SS "int EVP_CipherFinal_ex (EVP_CIPHER_CTX * ctx, void * out, int * outlen)"
606 Encipher/decipher final data
610 \fIctx\fP the cipher context.
612 \fIout\fP output data from the operation.
614 \fIoutlen\fP output length
617 The input length needs to be at least \fBEVP_CIPHER_block_size()\fP bytes long.
619 See \fBEVP Cipher\fP for an example how to use this function.
630 \fBexample_evp_cipher.c\fP.
631 .SS "int EVP_CipherInit_ex (EVP_CIPHER_CTX * ctx, const EVP_CIPHER * c, ENGINE * engine, const void * key, const void * iv, int encp)"
633 Initiate the EVP_CIPHER_CTX context to encrypt or decrypt data. Clean up with \fBEVP_CIPHER_CTX_cleanup()\fP.
637 \fIctx\fP context to initiate
639 \fIc\fP cipher to use.
641 \fIengine\fP crypto engine to use, NULL to select default.
643 \fIkey\fP the crypto key to use, NULL will use the previous value.
645 \fIiv\fP the IV to use, NULL will use the previous value.
647 \fIencp\fP non zero will encrypt, -1 use the previous value.
659 \fBexample_evp_cipher.c\fP.
660 .SS "int EVP_CipherUpdate (EVP_CIPHER_CTX * ctx, void * out, int * outlen, void * in, size_t inlen)"
662 Encipher/decipher partial data
666 \fIctx\fP the cipher context.
668 \fIout\fP output data from the operation.
670 \fIoutlen\fP output length
672 \fIin\fP input data to the operation.
674 \fIinlen\fP length of data.
677 The output buffer length should at least be \fBEVP_CIPHER_block_size()\fP byte longer then the input length.
679 See \fBEVP Cipher\fP for an example how to use this function.
688 If there in no spare bytes in the left from last Update and the input length is on the block boundery, the \fBEVP_CipherUpdate()\fP function can take a shortcut (and preformance gain) and directly encrypt the data, otherwise we hav to fix it up and store extra it the EVP_CIPHER_CTX.
692 \fBexample_evp_cipher.c\fP.
693 .SS "const EVP_CIPHER* EVP_des_cbc (void)"
699 the DES-CBC EVP_CIPHER pointer.
703 .SS "const EVP_CIPHER* EVP_des_ede3_cbc (void)"
705 The tripple DES cipher type
709 the DES-EDE3-CBC EVP_CIPHER pointer.
713 .SS "int EVP_Digest (const void * data, size_t dsize, void * hash, unsigned int * hsize, const EVP_MD * md, ENGINE * engine)"
715 Do the whole \fBEVP_MD_CTX_create()\fP, \fBEVP_DigestInit_ex()\fP, \fBEVP_DigestUpdate()\fP, \fBEVP_DigestFinal_ex()\fP, \fBEVP_MD_CTX_destroy()\fP dance in one call.
719 \fIdata\fP the data to update the context with
721 \fIdsize\fP length of data
723 \fIhash\fP output data of at least \fBEVP_MD_size()\fP length.
725 \fIhsize\fP output length of hash.
727 \fImd\fP message digest to use
729 \fIengine\fP engine to use, NULL for default engine.
738 .SS "int EVP_DigestFinal_ex (EVP_MD_CTX * ctx, void * hash, unsigned int * size)"
740 Complete the message digest.
744 \fIctx\fP the context to complete.
746 \fIhash\fP the output of the message digest function. At least \fBEVP_MD_size()\fP.
748 \fIsize\fP the output size of hash.
757 .SS "int EVP_DigestInit_ex (EVP_MD_CTX * ctx, const EVP_MD * md, ENGINE * engine)"
759 Init a EVP_MD_CTX for use a specific message digest and engine.
763 \fIctx\fP the message digest context to init.
765 \fImd\fP the message digest to use.
767 \fIengine\fP the engine to use, NULL to use the default engine.
776 .SS "int EVP_DigestUpdate (EVP_MD_CTX * ctx, const void * data, size_t size)"
778 Update the digest with some data.
782 \fIctx\fP the context to update
784 \fIdata\fP the data to update the context with
786 \fIsize\fP length of data
795 .SS "const EVP_CIPHER* EVP_enc_null (void)"
797 The NULL cipher type, does no encryption/decryption.
801 the null EVP_CIPHER pointer.
805 .SS "const EVP_CIPHER* EVP_get_cipherbyname (const char * name)"
807 Get the cipher type using their name.
811 \fIname\fP the name of the cipher.
816 the selected EVP_CIPHER pointer or NULL if not found.
820 .SS "const EVP_CIPHER* EVP_hcrypto_aes_128_cbc (void)"
822 The AES-128 cipher type (hcrypto)
826 the AES-128 EVP_CIPHER pointer.
830 .SS "const EVP_CIPHER* EVP_hcrypto_aes_128_cfb8 (void)"
832 The AES-128 CFB8 cipher type (hcrypto)
836 the AES-128 EVP_CIPHER pointer.
840 .SS "const EVP_CIPHER* EVP_hcrypto_aes_192_cbc (void)"
842 The AES-192 cipher type (hcrypto)
846 the AES-192 EVP_CIPHER pointer.
850 .SS "const EVP_CIPHER* EVP_hcrypto_aes_192_cfb8 (void)"
852 The AES-192 CFB8 cipher type (hcrypto)
856 the AES-192 EVP_CIPHER pointer.
860 .SS "const EVP_CIPHER* EVP_hcrypto_aes_256_cbc (void)"
862 The AES-256 cipher type (hcrypto)
866 the AES-256 EVP_CIPHER pointer.
870 .SS "const EVP_CIPHER* EVP_hcrypto_aes_256_cfb8 (void)"
872 The AES-256 CFB8 cipher type (hcrypto)
876 the AES-256 EVP_CIPHER pointer.
880 .SS "const EVP_CIPHER* EVP_hcrypto_camellia_128_cbc (void)"
882 The Camellia-128 cipher type - hcrypto
886 the Camellia-128 EVP_CIPHER pointer.
890 .SS "const EVP_CIPHER* EVP_hcrypto_camellia_192_cbc (void)"
892 The Camellia-198 cipher type - hcrypto
896 the Camellia-198 EVP_CIPHER pointer.
900 .SS "const EVP_CIPHER* EVP_hcrypto_camellia_256_cbc (void)"
902 The Camellia-256 cipher type - hcrypto
906 the Camellia-256 EVP_CIPHER pointer.
910 .SS "const EVP_CIPHER* EVP_hcrypto_des_cbc (void)"
916 the DES-CBC EVP_CIPHER pointer.
920 .SS "const EVP_CIPHER* EVP_hcrypto_des_ede3_cbc (void)"
922 The tripple DES cipher type - hcrypto
926 the DES-EDE3-CBC EVP_CIPHER pointer.
930 .SS "const EVP_MD* EVP_hcrypto_md2 (void)"
932 The message digest MD2 - hcrypto
936 the message digest type.
940 .SS "const EVP_MD* EVP_hcrypto_md4 (void)"
942 The message digest MD4 - hcrypto
946 the message digest type.
950 .SS "const EVP_MD* EVP_hcrypto_md5 (void)"
952 The message digest MD5 - hcrypto
956 the message digest type.
960 .SS "const EVP_CIPHER* EVP_hcrypto_rc2_40_cbc (void)"
962 The RC2-40 cipher type
966 the RC2-40 EVP_CIPHER pointer.
970 .SS "const EVP_CIPHER* EVP_hcrypto_rc2_64_cbc (void)"
972 The RC2-64 cipher type
976 the RC2-64 EVP_CIPHER pointer.
980 .SS "const EVP_CIPHER* EVP_hcrypto_rc2_cbc (void)"
982 The RC2 cipher type - hcrypto
986 the RC2 EVP_CIPHER pointer.
990 .SS "const EVP_MD* EVP_hcrypto_sha1 (void)"
992 The message digest SHA1 - hcrypto
996 the message digest type.
1000 .SS "const EVP_MD* EVP_hcrypto_sha256 (void)"
1002 The message digest SHA256 - hcrypto
1006 the message digest type.
1010 .SS "const EVP_MD* EVP_hcrypto_sha384 (void)"
1012 The message digest SHA384 - hcrypto
1016 the message digest type.
1020 .SS "const EVP_MD* EVP_hcrypto_sha512 (void)"
1022 The message digest SHA512 - hcrypto
1026 the message digest type.
1030 .SS "const EVP_MD* EVP_md2 (void)"
1032 The message digest MD2
1036 the message digest type.
1040 .SS "const EVP_MD* EVP_md4 (void)"
1042 The message digest MD4
1046 the message digest type.
1050 .SS "const EVP_MD* EVP_md5 (void)"
1052 The message digest MD5
1056 the message digest type.
1060 .SS "size_t EVP_MD_block_size (const EVP_MD * md)"
1062 Return the blocksize of the message digest function.
1066 \fImd\fP the evp message
1071 size size of the message digest block size
1075 .SS "size_t EVP_MD_CTX_block_size (EVP_MD_CTX * ctx)"
1077 Return the blocksize of the message digest function.
1081 \fIctx\fP the evp message digest context
1086 size size of the message digest block size
1090 .SS "int EVP_MD_CTX_cleanup (EVP_MD_CTX * ctx)"
1092 Free the resources used by the EVP_MD context.
1096 \fIctx\fP the context to free the resources from.
1105 .SS "EVP_MD_CTX* EVP_MD_CTX_create (void)"
1107 Allocate a messsage digest context object. Free with \fBEVP_MD_CTX_destroy()\fP.
1111 a newly allocated message digest context object.
1115 .SS "void EVP_MD_CTX_destroy (EVP_MD_CTX * ctx)"
1117 Free a messsage digest context object.
1121 \fIctx\fP context to free.
1125 .SS "void EVP_MD_CTX_init (EVP_MD_CTX * ctx)"
1127 Initiate a messsage digest context object. Deallocate with \fBEVP_MD_CTX_cleanup()\fP. Please use \fBEVP_MD_CTX_create()\fP instead.
1131 \fIctx\fP variable to initiate.
1135 .SS "const EVP_MD* EVP_MD_CTX_md (EVP_MD_CTX * ctx)"
1137 Get the EVP_MD use for a specified context.
1141 \fIctx\fP the EVP_MD context to get the EVP_MD for.
1146 the EVP_MD used for the context.
1150 .SS "size_t EVP_MD_CTX_size (EVP_MD_CTX * ctx)"
1152 Return the output size of the message digest function.
1156 \fIctx\fP the evp message digest context
1161 size output size of the message digest function.
1165 .SS "const EVP_MD* EVP_md_null (void)"
1167 The null message digest
1171 the message digest type.
1175 .SS "size_t EVP_MD_size (const EVP_MD * md)"
1177 Return the output size of the message digest function.
1181 \fImd\fP the evp message
1186 size output size of the message digest function.
1190 .SS "const EVP_CIPHER* EVP_rc2_40_cbc (void)"
1196 the RC2 EVP_CIPHER pointer.
1200 .SS "const EVP_CIPHER* EVP_rc2_64_cbc (void)"
1206 the RC2 EVP_CIPHER pointer.
1210 .SS "const EVP_CIPHER* EVP_rc2_cbc (void)"
1216 the RC2 EVP_CIPHER pointer.
1220 .SS "const EVP_CIPHER* EVP_rc4 (void)"
1226 the RC4 EVP_CIPHER pointer.
1230 .SS "const EVP_CIPHER* EVP_rc4_40 (void)"
1232 The RC4-40 cipher type
1236 the RC4-40 EVP_CIPHER pointer.
1240 .SS "const EVP_MD* EVP_sha (void)"
1242 The message digest SHA1
1246 the message digest type.
1250 .SS "const EVP_MD* EVP_sha1 (void)"
1252 The message digest SHA1
1256 the message digest type.
1260 .SS "const EVP_MD* EVP_sha256 (void)"
1262 The message digest SHA256
1266 the message digest type.
1270 .SS "const EVP_MD* EVP_sha384 (void)"
1272 The message digest SHA384
1276 the message digest type.
1280 .SS "const EVP_MD* EVP_sha512 (void)"
1282 The message digest SHA512
1286 the message digest type.
1290 .SS "const EVP_CIPHER* EVP_wincrypt_des_ede3_cbc (void)"
1292 The tripple DES cipher type (Micrsoft crypt provider)
1296 the DES-EDE3-CBC EVP_CIPHER pointer.