group__hcrypto__evp.html revision 234027
1226031Sstas<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2226031Sstas<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> 3226031Sstas<title>Heimdal crypto library: EVP generic crypto functions</title> 4226031Sstas<link href="doxygen.css" rel="stylesheet" type="text/css"> 5226031Sstas<link href="tabs.css" rel="stylesheet" type="text/css"> 6226031Sstas</head><body> 7226031Sstas<p> 8226031Sstas<a href="http://www.h5l.org/"><img src="http://www.h5l.org/keyhole-heimdal.png" alt="keyhole logo"/></a> 9226031Sstas</p> 10226031Sstas<!-- end of header marker --> 11226031Sstas<!-- Generated by Doxygen 1.5.6 --> 12226031Sstas<div class="navigation" id="top"> 13226031Sstas <div class="tabs"> 14226031Sstas <ul> 15226031Sstas <li><a href="index.html"><span>Main Page</span></a></li> 16226031Sstas <li><a href="modules.html"><span>Modules</span></a></li> 17226031Sstas <li><a href="examples.html"><span>Examples</span></a></li> 18226031Sstas </ul> 19226031Sstas </div> 20226031Sstas</div> 21226031Sstas<div class="contents"> 22226031Sstas<h1>EVP generic crypto functions</h1><table border="0" cellpadding="0" cellspacing="0"> 23226031Sstas<tr><td></td></tr> 24226031Sstas<tr><td colspan="2"><br><h2>Functions</h2></td></tr> 25226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_CIPHER * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g769121c112a501748233bda8345cb47a">EVP_wincrypt_des_ede3_cbc</a> (void)</td></tr> 26226031Sstas 27226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_CIPHER * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g2decf06c0d9b08e364e9c4c8f4d3a7a3">EVP_hcrypto_aes_128_cbc</a> (void)</td></tr> 28226031Sstas 29226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_CIPHER * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g16b21d9262c4af37121b0e85cc83b555">EVP_hcrypto_aes_192_cbc</a> (void)</td></tr> 30226031Sstas 31226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_CIPHER * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g49b683aa07c039ad31d7e498c87ad95f">EVP_hcrypto_aes_256_cbc</a> (void)</td></tr> 32226031Sstas 33226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_CIPHER * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g44eb080ab987799883eae8e64970be6c">EVP_hcrypto_aes_128_cfb8</a> (void)</td></tr> 34226031Sstas 35226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_CIPHER * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g532a6f5c56334ccf8615791bfaef041d">EVP_hcrypto_aes_192_cfb8</a> (void)</td></tr> 36226031Sstas 37226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_CIPHER * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g4f7c34086cea5e4da92f56d543ec24bf">EVP_hcrypto_aes_256_cfb8</a> (void)</td></tr> 38226031Sstas 39226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_MD * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g12b7608ec40d059f5539fd24277baae0">EVP_hcrypto_sha256</a> (void)</td></tr> 40226031Sstas 41226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_MD * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#gc002bcb2cc8ee9bb58b5924ab0bc3533">EVP_hcrypto_sha384</a> (void)</td></tr> 42226031Sstas 43226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_MD * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#gef3c401b9d2e696f89f27335f4b261e2">EVP_hcrypto_sha512</a> (void)</td></tr> 44226031Sstas 45226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_MD * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g5dc409fc540bad0751b96b3f74185477">EVP_hcrypto_sha1</a> (void)</td></tr> 46226031Sstas 47226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_MD * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g3c7a8676a690817ec03d71568a7deb1b">EVP_hcrypto_md5</a> (void)</td></tr> 48226031Sstas 49226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_MD * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g4456dfa7c2f23830fa32b99969720719">EVP_hcrypto_md4</a> (void)</td></tr> 50226031Sstas 51226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_MD * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g89d756ccb4919c5102481da488b86aaa">EVP_hcrypto_md2</a> (void)</td></tr> 52226031Sstas 53226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_CIPHER * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g0cc4edf9d19ebf7198e33ac0c8138f04">EVP_hcrypto_des_cbc</a> (void)</td></tr> 54226031Sstas 55226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_CIPHER * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g1c0e19f28dc594d929f089721e737237">EVP_hcrypto_des_ede3_cbc</a> (void)</td></tr> 56226031Sstas 57226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_CIPHER * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#gc238450b802f4e0c78752ef1ba1198e9">EVP_hcrypto_rc2_cbc</a> (void)</td></tr> 58226031Sstas 59226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_CIPHER * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g35d681a86e0ed71b505b53e5fc199ed5">EVP_hcrypto_rc2_40_cbc</a> (void)</td></tr> 60226031Sstas 61226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_CIPHER * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#gb7534f69db09cd76e4c36703a9340212">EVP_hcrypto_rc2_64_cbc</a> (void)</td></tr> 62226031Sstas 63226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_CIPHER * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g68deec0ffc93c0dcd83db0478e72d5b8">EVP_hcrypto_camellia_128_cbc</a> (void)</td></tr> 64226031Sstas 65226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_CIPHER * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#gfd6acecc697a1f9516909ca228cb54e5">EVP_hcrypto_camellia_192_cbc</a> (void)</td></tr> 66226031Sstas 67226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_CIPHER * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g211f7122bdeeb3551dcd02c37a7a11e6">EVP_hcrypto_camellia_256_cbc</a> (void)</td></tr> 68226031Sstas 69226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#gbea28e9ccb98329a7a76c95e8699221c">EVP_MD_size</a> (const EVP_MD *md)</td></tr> 70226031Sstas 71226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g48ccb698903828660dc1722d31311420">EVP_MD_block_size</a> (const EVP_MD *md)</td></tr> 72226031Sstas 73226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">EVP_MD_CTX * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g54bfa0296db2c131ef69e3a18c445357">EVP_MD_CTX_create</a> (void)</td></tr> 74226031Sstas 75226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g3fd216754cf705b7d4980744b1508410">EVP_MD_CTX_init</a> (EVP_MD_CTX *ctx) HC_DEPRECATED</td></tr> 76226031Sstas 77226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#ge105ea6e5626f521fbe8cad0a85cbe46">EVP_MD_CTX_destroy</a> (EVP_MD_CTX *ctx)</td></tr> 78226031Sstas 79226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g34dea52c788c741fdb4f8fb051be3308">EVP_MD_CTX_cleanup</a> (EVP_MD_CTX *ctx) HC_DEPRECATED</td></tr> 80226031Sstas 81226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_MD * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#ged3480025ecf31d0afcb62174d6acc24">EVP_MD_CTX_md</a> (EVP_MD_CTX *ctx)</td></tr> 82226031Sstas 83226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g25a51444f0586be1494f78e4e17e65f8">EVP_MD_CTX_size</a> (EVP_MD_CTX *ctx)</td></tr> 84226031Sstas 85226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#gb35a28f548e64c74dbfd7198c04dad5d">EVP_MD_CTX_block_size</a> (EVP_MD_CTX *ctx)</td></tr> 86226031Sstas 87226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#gb6b800ba80b850cba223723b28fc9a44">EVP_DigestInit_ex</a> (EVP_MD_CTX *ctx, const EVP_MD *md, ENGINE *engine)</td></tr> 88226031Sstas 89226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g12039fea1f371ef39a489d450f564338">EVP_DigestUpdate</a> (EVP_MD_CTX *ctx, const void *data, size_t size)</td></tr> 90226031Sstas 91226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g5103bec19556f264e1f442c6ffc3bddc">EVP_DigestFinal_ex</a> (EVP_MD_CTX *ctx, void *hash, unsigned int *size)</td></tr> 92226031Sstas 93226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#gb785fa9dd0a45be223a0d576af062c4b">EVP_Digest</a> (const void *data, size_t dsize, void *hash, unsigned int *hsize, const EVP_MD *md, ENGINE *engine)</td></tr> 94226031Sstas 95226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_MD * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#gfe55e56742a9b9ecffdaef7e95a6707a">EVP_sha256</a> (void)</td></tr> 96226031Sstas 97226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_MD * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g031405a10c84711b9a9699fadc8dbf2a">EVP_sha384</a> (void)</td></tr> 98226031Sstas 99226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_MD * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#gceda0d5da59b56159d2e3515039a46ce">EVP_sha512</a> (void)</td></tr> 100226031Sstas 101226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_MD * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#ga090d659a494a10525e38d272efb01ae">EVP_sha1</a> (void)</td></tr> 102226031Sstas 103226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_MD * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#gee62cb107a208bd6984dd767f9feb8c0">EVP_sha</a> (void)</td></tr> 104226031Sstas 105226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_MD * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g3ccaad2c97f5cf27adb461b1b50aeabb">EVP_md5</a> (void)</td></tr> 106226031Sstas 107226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_MD * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#gd232ca5dcef4ec58b182cb967f519999">EVP_md4</a> (void)</td></tr> 108226031Sstas 109226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_MD * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g4b583f3de5fc66b04f675428da25efd0">EVP_md2</a> (void)</td></tr> 110226031Sstas 111226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_MD * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g5183830cf039ea4d9a2c1bd3c539e9af">EVP_md_null</a> (void)</td></tr> 112226031Sstas 113226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g3123ff4b426783dd972538249b9e9d4d">EVP_CIPHER_block_size</a> (const EVP_CIPHER *c)</td></tr> 114226031Sstas 115226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g4793a9e130da86ac42c497b19395b748">EVP_CIPHER_key_length</a> (const EVP_CIPHER *c)</td></tr> 116226031Sstas 117226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g7edebe76d19dee11686a6698d24f19f5">EVP_CIPHER_iv_length</a> (const EVP_CIPHER *c)</td></tr> 118226031Sstas 119226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g13d0ff0e87312566cb6b3591157f9754">EVP_CIPHER_CTX_init</a> (EVP_CIPHER_CTX *c)</td></tr> 120226031Sstas 121226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#gc16dd3987cd90c8bcdbad5290c558359">EVP_CIPHER_CTX_cleanup</a> (EVP_CIPHER_CTX *c)</td></tr> 122226031Sstas 123226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#gc4d29d4bc3473f2499cfa83f0201386c">EVP_CIPHER_CTX_set_key_length</a> (EVP_CIPHER_CTX *c, int length)</td></tr> 124226031Sstas 125226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_CIPHER * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g4018621241b76f106903263614967aff">EVP_CIPHER_CTX_cipher</a> (EVP_CIPHER_CTX *ctx)</td></tr> 126226031Sstas 127226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g9eaa8ae82fd5550771c4dfed92d82d5b">EVP_CIPHER_CTX_block_size</a> (const EVP_CIPHER_CTX *ctx)</td></tr> 128226031Sstas 129226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#gd9a4a54b9b5d0b6035c7522ca461a9db">EVP_CIPHER_CTX_key_length</a> (const EVP_CIPHER_CTX *ctx)</td></tr> 130226031Sstas 131226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#ge160dd334fea8b844a4ef8a2ed5fbb0b">EVP_CIPHER_CTX_iv_length</a> (const EVP_CIPHER_CTX *ctx)</td></tr> 132226031Sstas 133226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned long </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g6f8b7130068dbc4f03fb2cf65cee02bf">EVP_CIPHER_CTX_flags</a> (const EVP_CIPHER_CTX *ctx)</td></tr> 134226031Sstas 135226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#gc8013ca93e9b1ed25df3f535eb633f1a">EVP_CIPHER_CTX_mode</a> (const EVP_CIPHER_CTX *ctx)</td></tr> 136226031Sstas 137226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g0f78fd8ac0fa0765245e373d42fc90e3">EVP_CIPHER_CTX_get_app_data</a> (EVP_CIPHER_CTX *ctx)</td></tr> 138226031Sstas 139226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g4fa322f7c3fe5fc570b8343d4d64fc52">EVP_CIPHER_CTX_set_app_data</a> (EVP_CIPHER_CTX *ctx, void *data)</td></tr> 140226031Sstas 141226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g98da5a5c1aa25d9cb2e4717fa11314bd">EVP_CipherInit_ex</a> (EVP_CIPHER_CTX *ctx, const EVP_CIPHER *c, ENGINE *engine, const void *key, const void *iv, int encp)</td></tr> 142226031Sstas 143226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g863349e1001b36cfd6c4afedddd12862">EVP_CipherUpdate</a> (EVP_CIPHER_CTX *ctx, void *out, int *outlen, void *in, size_t inlen)</td></tr> 144226031Sstas 145226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g714eef7d737fd68171d852043a4995de">EVP_CipherFinal_ex</a> (EVP_CIPHER_CTX *ctx, void *out, int *outlen)</td></tr> 146226031Sstas 147226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_CIPHER * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g70a05495ee115c6eb26d958a5ac75c8b">EVP_enc_null</a> (void)</td></tr> 148226031Sstas 149226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_CIPHER * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#gc7d0f7590921dde70bebeebadd2fec36">EVP_rc2_cbc</a> (void)</td></tr> 150226031Sstas 151226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_CIPHER * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g104bcd969bcc30dc3e7e77d63a38a87e">EVP_rc2_40_cbc</a> (void)</td></tr> 152226031Sstas 153226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_CIPHER * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g09cd194a211931839f1e7bb8e578099e">EVP_rc2_64_cbc</a> (void)</td></tr> 154226031Sstas 155226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_CIPHER * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g9cb683240f384ddbd0f3279960af93ba">EVP_rc4</a> (void)</td></tr> 156226031Sstas 157226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_CIPHER * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#ge5cbdfcb5012a07fec8df1d6b9c5d772">EVP_rc4_40</a> (void)</td></tr> 158226031Sstas 159226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_CIPHER * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g8ba85e78fac7521ad71cb29ef62beab9">EVP_des_cbc</a> (void)</td></tr> 160226031Sstas 161226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_CIPHER * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g191c1d946437661ee23de2ad9b3383e3">EVP_des_ede3_cbc</a> (void)</td></tr> 162226031Sstas 163226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_CIPHER * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g2747bac943db15c97167ac37fdc2af43">EVP_aes_128_cbc</a> (void)</td></tr> 164226031Sstas 165226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_CIPHER * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g06625e6b350dcb0d99e05bde8d813867">EVP_aes_192_cbc</a> (void)</td></tr> 166226031Sstas 167226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_CIPHER * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g597a638984cfe169f5b794a01076d289">EVP_aes_256_cbc</a> (void)</td></tr> 168226031Sstas 169226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_CIPHER * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g95457efd23f815aaa9d54a39f71bd4f6">EVP_aes_128_cfb8</a> (void)</td></tr> 170226031Sstas 171226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_CIPHER * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g6c566f0f7831881bd835db251372790b">EVP_aes_192_cfb8</a> (void)</td></tr> 172226031Sstas 173226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_CIPHER * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g4bf9f0274a43b3964f1c880900c80ded">EVP_aes_256_cfb8</a> (void)</td></tr> 174226031Sstas 175226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_CIPHER * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g204d1d59a0ec740ed29ec0ebcc2d9c97">EVP_camellia_128_cbc</a> (void)</td></tr> 176226031Sstas 177226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_CIPHER * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g40e2b8cba4baa4ec4aa467bbd1defeb7">EVP_camellia_192_cbc</a> (void)</td></tr> 178226031Sstas 179226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_CIPHER * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g6de35c364f330f1decfb3444c4c6fa3c">EVP_camellia_256_cbc</a> (void)</td></tr> 180226031Sstas 181226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">const EVP_CIPHER * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#gead9b446ac5ebd90dc7be0dbe6aba2b0">EVP_get_cipherbyname</a> (const char *name)</td></tr> 182226031Sstas 183226031Sstas<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__hcrypto__evp.html#g25d3fb64e10e2c494858de14fc5d79b3">EVP_BytesToKey</a> (const EVP_CIPHER *type, const EVP_MD *md, const void *salt, const void *data, size_t datalen, unsigned int count, void *keydata, void *ivdata)</td></tr> 184226031Sstas 185226031Sstas</table> 186226031Sstas<hr><a name="_details"></a><h2>Detailed Description</h2> 187226031SstasSee the <a class="el" href="page_evp.html">EVP - generic crypto interface</a> for description and examples. <hr><h2>Function Documentation</h2> 188226031Sstas<a class="anchor" name="g2747bac943db15c97167ac37fdc2af43"></a><!-- doxytag: member="evp.c::EVP_aes_128_cbc" ref="g2747bac943db15c97167ac37fdc2af43" args="(void)" --> 189226031Sstas<div class="memitem"> 190226031Sstas<div class="memproto"> 191226031Sstas <table class="memname"> 192226031Sstas <tr> 193226031Sstas <td class="memname">const EVP_CIPHER* EVP_aes_128_cbc </td> 194226031Sstas <td>(</td> 195226031Sstas <td class="paramtype">void </td> 196226031Sstas <td class="paramname"> </td> 197226031Sstas <td> ) </td> 198226031Sstas <td></td> 199226031Sstas </tr> 200226031Sstas </table> 201226031Sstas</div> 202226031Sstas<div class="memdoc"> 203226031Sstas 204226031Sstas<p> 205226031SstasThe AES-128 cipher type<p> 206226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the AES-128 EVP_CIPHER pointer. </dd></dl> 207226031Sstas<dl compact><dt><b>Examples: </b></dt><dd> 208226031Sstas<a class="el" href="example__evp__cipher_8c-example.html#a0">example_evp_cipher.c</a>.</dl> 209226031Sstas</div> 210226031Sstas</div><p> 211226031Sstas<a class="anchor" name="g95457efd23f815aaa9d54a39f71bd4f6"></a><!-- doxytag: member="evp.c::EVP_aes_128_cfb8" ref="g95457efd23f815aaa9d54a39f71bd4f6" args="(void)" --> 212226031Sstas<div class="memitem"> 213226031Sstas<div class="memproto"> 214226031Sstas <table class="memname"> 215226031Sstas <tr> 216226031Sstas <td class="memname">const EVP_CIPHER* EVP_aes_128_cfb8 </td> 217226031Sstas <td>(</td> 218226031Sstas <td class="paramtype">void </td> 219226031Sstas <td class="paramname"> </td> 220226031Sstas <td> ) </td> 221226031Sstas <td></td> 222226031Sstas </tr> 223226031Sstas </table> 224226031Sstas</div> 225226031Sstas<div class="memdoc"> 226226031Sstas 227226031Sstas<p> 228226031SstasThe AES-128 cipher type<p> 229226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the AES-128 EVP_CIPHER pointer. </dd></dl> 230226031Sstas 231226031Sstas</div> 232226031Sstas</div><p> 233226031Sstas<a class="anchor" name="g06625e6b350dcb0d99e05bde8d813867"></a><!-- doxytag: member="evp.c::EVP_aes_192_cbc" ref="g06625e6b350dcb0d99e05bde8d813867" args="(void)" --> 234226031Sstas<div class="memitem"> 235226031Sstas<div class="memproto"> 236226031Sstas <table class="memname"> 237226031Sstas <tr> 238226031Sstas <td class="memname">const EVP_CIPHER* EVP_aes_192_cbc </td> 239226031Sstas <td>(</td> 240226031Sstas <td class="paramtype">void </td> 241226031Sstas <td class="paramname"> </td> 242226031Sstas <td> ) </td> 243226031Sstas <td></td> 244226031Sstas </tr> 245226031Sstas </table> 246226031Sstas</div> 247226031Sstas<div class="memdoc"> 248226031Sstas 249226031Sstas<p> 250226031SstasThe AES-192 cipher type<p> 251226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the AES-192 EVP_CIPHER pointer. </dd></dl> 252226031Sstas 253226031Sstas</div> 254226031Sstas</div><p> 255226031Sstas<a class="anchor" name="g6c566f0f7831881bd835db251372790b"></a><!-- doxytag: member="evp.c::EVP_aes_192_cfb8" ref="g6c566f0f7831881bd835db251372790b" args="(void)" --> 256226031Sstas<div class="memitem"> 257226031Sstas<div class="memproto"> 258226031Sstas <table class="memname"> 259226031Sstas <tr> 260226031Sstas <td class="memname">const EVP_CIPHER* EVP_aes_192_cfb8 </td> 261226031Sstas <td>(</td> 262226031Sstas <td class="paramtype">void </td> 263226031Sstas <td class="paramname"> </td> 264226031Sstas <td> ) </td> 265226031Sstas <td></td> 266226031Sstas </tr> 267226031Sstas </table> 268226031Sstas</div> 269226031Sstas<div class="memdoc"> 270226031Sstas 271226031Sstas<p> 272226031SstasThe AES-192 cipher type<p> 273226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the AES-192 EVP_CIPHER pointer. </dd></dl> 274226031Sstas 275226031Sstas</div> 276226031Sstas</div><p> 277226031Sstas<a class="anchor" name="g597a638984cfe169f5b794a01076d289"></a><!-- doxytag: member="evp.c::EVP_aes_256_cbc" ref="g597a638984cfe169f5b794a01076d289" args="(void)" --> 278226031Sstas<div class="memitem"> 279226031Sstas<div class="memproto"> 280226031Sstas <table class="memname"> 281226031Sstas <tr> 282226031Sstas <td class="memname">const EVP_CIPHER* EVP_aes_256_cbc </td> 283226031Sstas <td>(</td> 284226031Sstas <td class="paramtype">void </td> 285226031Sstas <td class="paramname"> </td> 286226031Sstas <td> ) </td> 287226031Sstas <td></td> 288226031Sstas </tr> 289226031Sstas </table> 290226031Sstas</div> 291226031Sstas<div class="memdoc"> 292226031Sstas 293226031Sstas<p> 294226031SstasThe AES-256 cipher type<p> 295226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the AES-256 EVP_CIPHER pointer. </dd></dl> 296226031Sstas 297226031Sstas</div> 298226031Sstas</div><p> 299226031Sstas<a class="anchor" name="g4bf9f0274a43b3964f1c880900c80ded"></a><!-- doxytag: member="evp.c::EVP_aes_256_cfb8" ref="g4bf9f0274a43b3964f1c880900c80ded" args="(void)" --> 300226031Sstas<div class="memitem"> 301226031Sstas<div class="memproto"> 302226031Sstas <table class="memname"> 303226031Sstas <tr> 304226031Sstas <td class="memname">const EVP_CIPHER* EVP_aes_256_cfb8 </td> 305226031Sstas <td>(</td> 306226031Sstas <td class="paramtype">void </td> 307226031Sstas <td class="paramname"> </td> 308226031Sstas <td> ) </td> 309226031Sstas <td></td> 310226031Sstas </tr> 311226031Sstas </table> 312226031Sstas</div> 313226031Sstas<div class="memdoc"> 314226031Sstas 315226031Sstas<p> 316226031SstasThe AES-256 cipher type<p> 317226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the AES-256 EVP_CIPHER pointer. </dd></dl> 318226031Sstas 319226031Sstas</div> 320226031Sstas</div><p> 321226031Sstas<a class="anchor" name="g25d3fb64e10e2c494858de14fc5d79b3"></a><!-- doxytag: member="evp.c::EVP_BytesToKey" ref="g25d3fb64e10e2c494858de14fc5d79b3" args="(const EVP_CIPHER *type, const EVP_MD *md, const void *salt, const void *data, size_t datalen, unsigned int count, void *keydata, void *ivdata)" --> 322226031Sstas<div class="memitem"> 323226031Sstas<div class="memproto"> 324226031Sstas <table class="memname"> 325226031Sstas <tr> 326226031Sstas <td class="memname">int EVP_BytesToKey </td> 327226031Sstas <td>(</td> 328226031Sstas <td class="paramtype">const EVP_CIPHER * </td> 329226031Sstas <td class="paramname"> <em>type</em>, </td> 330226031Sstas </tr> 331226031Sstas <tr> 332226031Sstas <td class="paramkey"></td> 333226031Sstas <td></td> 334226031Sstas <td class="paramtype">const EVP_MD * </td> 335226031Sstas <td class="paramname"> <em>md</em>, </td> 336226031Sstas </tr> 337226031Sstas <tr> 338226031Sstas <td class="paramkey"></td> 339226031Sstas <td></td> 340226031Sstas <td class="paramtype">const void * </td> 341226031Sstas <td class="paramname"> <em>salt</em>, </td> 342226031Sstas </tr> 343226031Sstas <tr> 344226031Sstas <td class="paramkey"></td> 345226031Sstas <td></td> 346226031Sstas <td class="paramtype">const void * </td> 347226031Sstas <td class="paramname"> <em>data</em>, </td> 348226031Sstas </tr> 349226031Sstas <tr> 350226031Sstas <td class="paramkey"></td> 351226031Sstas <td></td> 352226031Sstas <td class="paramtype">size_t </td> 353226031Sstas <td class="paramname"> <em>datalen</em>, </td> 354226031Sstas </tr> 355226031Sstas <tr> 356226031Sstas <td class="paramkey"></td> 357226031Sstas <td></td> 358226031Sstas <td class="paramtype">unsigned int </td> 359226031Sstas <td class="paramname"> <em>count</em>, </td> 360226031Sstas </tr> 361226031Sstas <tr> 362226031Sstas <td class="paramkey"></td> 363226031Sstas <td></td> 364226031Sstas <td class="paramtype">void * </td> 365226031Sstas <td class="paramname"> <em>keydata</em>, </td> 366226031Sstas </tr> 367226031Sstas <tr> 368226031Sstas <td class="paramkey"></td> 369226031Sstas <td></td> 370226031Sstas <td class="paramtype">void * </td> 371226031Sstas <td class="paramname"> <em>ivdata</em></td><td> </td> 372226031Sstas </tr> 373226031Sstas <tr> 374226031Sstas <td></td> 375226031Sstas <td>)</td> 376226031Sstas <td></td><td></td><td></td> 377226031Sstas </tr> 378226031Sstas </table> 379226031Sstas</div> 380226031Sstas<div class="memdoc"> 381226031Sstas 382226031Sstas<p> 383226031SstasProvides a legancy string to key function, used in PEM files.<p> 384226031SstasNew protocols should use new string to key functions like NIST SP56-800A or PKCS#5 v2.0 (see <a class="el" href="group__hcrypto__misc.html#gece1627cc5535ef7b5e86e2f5a3eec04">PKCS5_PBKDF2_HMAC_SHA1()</a>).<p> 385226031Sstas<dl compact><dt><b>Parameters:</b></dt><dd> 386226031Sstas <table border="0" cellspacing="2" cellpadding="0"> 387226031Sstas <tr><td valign="top"></td><td valign="top"><em>type</em> </td><td>type of cipher to use </td></tr> 388226031Sstas <tr><td valign="top"></td><td valign="top"><em>md</em> </td><td>message digest to use </td></tr> 389226031Sstas <tr><td valign="top"></td><td valign="top"><em>salt</em> </td><td>salt salt string, should be an binary 8 byte buffer. </td></tr> 390226031Sstas <tr><td valign="top"></td><td valign="top"><em>data</em> </td><td>the password/input key string. </td></tr> 391226031Sstas <tr><td valign="top"></td><td valign="top"><em>datalen</em> </td><td>length of data parameter. </td></tr> 392226031Sstas <tr><td valign="top"></td><td valign="top"><em>count</em> </td><td>iteration counter. </td></tr> 393226031Sstas <tr><td valign="top"></td><td valign="top"><em>keydata</em> </td><td>output keydata, needs to of the size <a class="el" href="group__hcrypto__evp.html#g4793a9e130da86ac42c497b19395b748">EVP_CIPHER_key_length()</a>. </td></tr> 394226031Sstas <tr><td valign="top"></td><td valign="top"><em>ivdata</em> </td><td>output ivdata, needs to of the size <a class="el" href="group__hcrypto__evp.html#g3123ff4b426783dd972538249b9e9d4d">EVP_CIPHER_block_size()</a>.</td></tr> 395226031Sstas </table> 396226031Sstas</dl> 397226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the size of derived key. </dd></dl> 398226031Sstas 399226031Sstas</div> 400226031Sstas</div><p> 401226031Sstas<a class="anchor" name="g204d1d59a0ec740ed29ec0ebcc2d9c97"></a><!-- doxytag: member="evp.c::EVP_camellia_128_cbc" ref="g204d1d59a0ec740ed29ec0ebcc2d9c97" args="(void)" --> 402226031Sstas<div class="memitem"> 403226031Sstas<div class="memproto"> 404226031Sstas <table class="memname"> 405226031Sstas <tr> 406226031Sstas <td class="memname">const EVP_CIPHER* EVP_camellia_128_cbc </td> 407226031Sstas <td>(</td> 408226031Sstas <td class="paramtype">void </td> 409226031Sstas <td class="paramname"> </td> 410226031Sstas <td> ) </td> 411226031Sstas <td></td> 412226031Sstas </tr> 413226031Sstas </table> 414226031Sstas</div> 415226031Sstas<div class="memdoc"> 416226031Sstas 417226031Sstas<p> 418226031SstasThe Camellia-128 cipher type<p> 419226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the Camellia-128 EVP_CIPHER pointer. </dd></dl> 420226031Sstas 421226031Sstas</div> 422226031Sstas</div><p> 423226031Sstas<a class="anchor" name="g40e2b8cba4baa4ec4aa467bbd1defeb7"></a><!-- doxytag: member="evp.c::EVP_camellia_192_cbc" ref="g40e2b8cba4baa4ec4aa467bbd1defeb7" args="(void)" --> 424226031Sstas<div class="memitem"> 425226031Sstas<div class="memproto"> 426226031Sstas <table class="memname"> 427226031Sstas <tr> 428226031Sstas <td class="memname">const EVP_CIPHER* EVP_camellia_192_cbc </td> 429226031Sstas <td>(</td> 430226031Sstas <td class="paramtype">void </td> 431226031Sstas <td class="paramname"> </td> 432226031Sstas <td> ) </td> 433226031Sstas <td></td> 434226031Sstas </tr> 435226031Sstas </table> 436226031Sstas</div> 437226031Sstas<div class="memdoc"> 438226031Sstas 439226031Sstas<p> 440226031SstasThe Camellia-198 cipher type<p> 441226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the Camellia-198 EVP_CIPHER pointer. </dd></dl> 442226031Sstas 443226031Sstas</div> 444226031Sstas</div><p> 445226031Sstas<a class="anchor" name="g6de35c364f330f1decfb3444c4c6fa3c"></a><!-- doxytag: member="evp.c::EVP_camellia_256_cbc" ref="g6de35c364f330f1decfb3444c4c6fa3c" args="(void)" --> 446226031Sstas<div class="memitem"> 447226031Sstas<div class="memproto"> 448226031Sstas <table class="memname"> 449226031Sstas <tr> 450226031Sstas <td class="memname">const EVP_CIPHER* EVP_camellia_256_cbc </td> 451226031Sstas <td>(</td> 452226031Sstas <td class="paramtype">void </td> 453226031Sstas <td class="paramname"> </td> 454226031Sstas <td> ) </td> 455226031Sstas <td></td> 456226031Sstas </tr> 457226031Sstas </table> 458226031Sstas</div> 459226031Sstas<div class="memdoc"> 460226031Sstas 461226031Sstas<p> 462226031SstasThe Camellia-256 cipher type<p> 463226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the Camellia-256 EVP_CIPHER pointer. </dd></dl> 464226031Sstas 465226031Sstas</div> 466226031Sstas</div><p> 467226031Sstas<a class="anchor" name="g3123ff4b426783dd972538249b9e9d4d"></a><!-- doxytag: member="evp.c::EVP_CIPHER_block_size" ref="g3123ff4b426783dd972538249b9e9d4d" args="(const EVP_CIPHER *c)" --> 468226031Sstas<div class="memitem"> 469226031Sstas<div class="memproto"> 470226031Sstas <table class="memname"> 471226031Sstas <tr> 472226031Sstas <td class="memname">size_t EVP_CIPHER_block_size </td> 473226031Sstas <td>(</td> 474226031Sstas <td class="paramtype">const EVP_CIPHER * </td> 475226031Sstas <td class="paramname"> <em>c</em> </td> 476226031Sstas <td> ) </td> 477226031Sstas <td></td> 478226031Sstas </tr> 479226031Sstas </table> 480226031Sstas</div> 481226031Sstas<div class="memdoc"> 482226031Sstas 483226031Sstas<p> 484226031SstasReturn the block size of the cipher.<p> 485226031Sstas<dl compact><dt><b>Parameters:</b></dt><dd> 486226031Sstas <table border="0" cellspacing="2" cellpadding="0"> 487226031Sstas <tr><td valign="top"></td><td valign="top"><em>c</em> </td><td>cipher to get the block size from.</td></tr> 488226031Sstas </table> 489226031Sstas</dl> 490226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the block size of the cipher. </dd></dl> 491226031Sstas<dl compact><dt><b>Examples: </b></dt><dd> 492226031Sstas<a class="el" href="example__evp__cipher_8c-example.html#a3">example_evp_cipher.c</a>.</dl> 493226031Sstas</div> 494226031Sstas</div><p> 495226031Sstas<a class="anchor" name="g9eaa8ae82fd5550771c4dfed92d82d5b"></a><!-- doxytag: member="evp.c::EVP_CIPHER_CTX_block_size" ref="g9eaa8ae82fd5550771c4dfed92d82d5b" args="(const EVP_CIPHER_CTX *ctx)" --> 496226031Sstas<div class="memitem"> 497226031Sstas<div class="memproto"> 498226031Sstas <table class="memname"> 499226031Sstas <tr> 500226031Sstas <td class="memname">size_t EVP_CIPHER_CTX_block_size </td> 501226031Sstas <td>(</td> 502226031Sstas <td class="paramtype">const EVP_CIPHER_CTX * </td> 503226031Sstas <td class="paramname"> <em>ctx</em> </td> 504226031Sstas <td> ) </td> 505226031Sstas <td></td> 506226031Sstas </tr> 507226031Sstas </table> 508226031Sstas</div> 509226031Sstas<div class="memdoc"> 510226031Sstas 511226031Sstas<p> 512226031SstasReturn the block size of the cipher context.<p> 513226031Sstas<dl compact><dt><b>Parameters:</b></dt><dd> 514226031Sstas <table border="0" cellspacing="2" cellpadding="0"> 515226031Sstas <tr><td valign="top"></td><td valign="top"><em>ctx</em> </td><td>cipher context to get the block size from.</td></tr> 516226031Sstas </table> 517226031Sstas</dl> 518226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the block size of the cipher context. </dd></dl> 519226031Sstas 520226031Sstas</div> 521226031Sstas</div><p> 522226031Sstas<a class="anchor" name="g4018621241b76f106903263614967aff"></a><!-- doxytag: member="evp.c::EVP_CIPHER_CTX_cipher" ref="g4018621241b76f106903263614967aff" args="(EVP_CIPHER_CTX *ctx)" --> 523226031Sstas<div class="memitem"> 524226031Sstas<div class="memproto"> 525226031Sstas <table class="memname"> 526226031Sstas <tr> 527226031Sstas <td class="memname">const EVP_CIPHER* EVP_CIPHER_CTX_cipher </td> 528226031Sstas <td>(</td> 529226031Sstas <td class="paramtype">EVP_CIPHER_CTX * </td> 530226031Sstas <td class="paramname"> <em>ctx</em> </td> 531226031Sstas <td> ) </td> 532226031Sstas <td></td> 533226031Sstas </tr> 534226031Sstas </table> 535226031Sstas</div> 536226031Sstas<div class="memdoc"> 537226031Sstas 538226031Sstas<p> 539226031SstasReturn the EVP_CIPHER for a EVP_CIPHER_CTX context.<p> 540226031Sstas<dl compact><dt><b>Parameters:</b></dt><dd> 541226031Sstas <table border="0" cellspacing="2" cellpadding="0"> 542226031Sstas <tr><td valign="top"></td><td valign="top"><em>ctx</em> </td><td>the context to get the cipher type from.</td></tr> 543226031Sstas </table> 544226031Sstas</dl> 545226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the EVP_CIPHER pointer. </dd></dl> 546226031Sstas 547226031Sstas</div> 548226031Sstas</div><p> 549226031Sstas<a class="anchor" name="gc16dd3987cd90c8bcdbad5290c558359"></a><!-- doxytag: member="evp.c::EVP_CIPHER_CTX_cleanup" ref="gc16dd3987cd90c8bcdbad5290c558359" args="(EVP_CIPHER_CTX *c)" --> 550226031Sstas<div class="memitem"> 551226031Sstas<div class="memproto"> 552226031Sstas <table class="memname"> 553226031Sstas <tr> 554226031Sstas <td class="memname">int EVP_CIPHER_CTX_cleanup </td> 555226031Sstas <td>(</td> 556226031Sstas <td class="paramtype">EVP_CIPHER_CTX * </td> 557226031Sstas <td class="paramname"> <em>c</em> </td> 558226031Sstas <td> ) </td> 559226031Sstas <td></td> 560226031Sstas </tr> 561226031Sstas </table> 562226031Sstas</div> 563226031Sstas<div class="memdoc"> 564226031Sstas 565226031Sstas<p> 566226031SstasClean up the EVP_CIPHER_CTX context.<p> 567226031Sstas<dl compact><dt><b>Parameters:</b></dt><dd> 568226031Sstas <table border="0" cellspacing="2" cellpadding="0"> 569226031Sstas <tr><td valign="top"></td><td valign="top"><em>c</em> </td><td>the cipher to clean up.</td></tr> 570226031Sstas </table> 571226031Sstas</dl> 572226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>1 on success. </dd></dl> 573226031Sstas<dl compact><dt><b>Examples: </b></dt><dd> 574226031Sstas<a class="el" href="example__evp__cipher_8c-example.html#a7">example_evp_cipher.c</a>.</dl> 575226031Sstas</div> 576226031Sstas</div><p> 577226031Sstas<a class="anchor" name="g6f8b7130068dbc4f03fb2cf65cee02bf"></a><!-- doxytag: member="evp.c::EVP_CIPHER_CTX_flags" ref="g6f8b7130068dbc4f03fb2cf65cee02bf" args="(const EVP_CIPHER_CTX *ctx)" --> 578226031Sstas<div class="memitem"> 579226031Sstas<div class="memproto"> 580226031Sstas <table class="memname"> 581226031Sstas <tr> 582226031Sstas <td class="memname">unsigned long EVP_CIPHER_CTX_flags </td> 583226031Sstas <td>(</td> 584226031Sstas <td class="paramtype">const EVP_CIPHER_CTX * </td> 585226031Sstas <td class="paramname"> <em>ctx</em> </td> 586226031Sstas <td> ) </td> 587226031Sstas <td></td> 588226031Sstas </tr> 589226031Sstas </table> 590226031Sstas</div> 591226031Sstas<div class="memdoc"> 592226031Sstas 593226031Sstas<p> 594226031SstasGet the flags for an EVP_CIPHER_CTX context.<p> 595226031Sstas<dl compact><dt><b>Parameters:</b></dt><dd> 596226031Sstas <table border="0" cellspacing="2" cellpadding="0"> 597226031Sstas <tr><td valign="top"></td><td valign="top"><em>ctx</em> </td><td>the EVP_CIPHER_CTX to get the flags from</td></tr> 598226031Sstas </table> 599226031Sstas</dl> 600226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the flags for an EVP_CIPHER_CTX. </dd></dl> 601226031Sstas 602226031Sstas</div> 603226031Sstas</div><p> 604226031Sstas<a class="anchor" name="g0f78fd8ac0fa0765245e373d42fc90e3"></a><!-- doxytag: member="evp.c::EVP_CIPHER_CTX_get_app_data" ref="g0f78fd8ac0fa0765245e373d42fc90e3" args="(EVP_CIPHER_CTX *ctx)" --> 605226031Sstas<div class="memitem"> 606226031Sstas<div class="memproto"> 607226031Sstas <table class="memname"> 608226031Sstas <tr> 609226031Sstas <td class="memname">void* EVP_CIPHER_CTX_get_app_data </td> 610226031Sstas <td>(</td> 611226031Sstas <td class="paramtype">EVP_CIPHER_CTX * </td> 612226031Sstas <td class="paramname"> <em>ctx</em> </td> 613226031Sstas <td> ) </td> 614226031Sstas <td></td> 615226031Sstas </tr> 616226031Sstas </table> 617226031Sstas</div> 618226031Sstas<div class="memdoc"> 619226031Sstas 620226031Sstas<p> 621226031SstasGet the app data for an EVP_CIPHER_CTX context.<p> 622226031Sstas<dl compact><dt><b>Parameters:</b></dt><dd> 623226031Sstas <table border="0" cellspacing="2" cellpadding="0"> 624226031Sstas <tr><td valign="top"></td><td valign="top"><em>ctx</em> </td><td>the EVP_CIPHER_CTX to get the app data from</td></tr> 625226031Sstas </table> 626226031Sstas</dl> 627226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the app data for an EVP_CIPHER_CTX. </dd></dl> 628226031Sstas 629226031Sstas</div> 630226031Sstas</div><p> 631226031Sstas<a class="anchor" name="g13d0ff0e87312566cb6b3591157f9754"></a><!-- doxytag: member="evp.c::EVP_CIPHER_CTX_init" ref="g13d0ff0e87312566cb6b3591157f9754" args="(EVP_CIPHER_CTX *c)" --> 632226031Sstas<div class="memitem"> 633226031Sstas<div class="memproto"> 634226031Sstas <table class="memname"> 635226031Sstas <tr> 636226031Sstas <td class="memname">void EVP_CIPHER_CTX_init </td> 637226031Sstas <td>(</td> 638226031Sstas <td class="paramtype">EVP_CIPHER_CTX * </td> 639226031Sstas <td class="paramname"> <em>c</em> </td> 640226031Sstas <td> ) </td> 641226031Sstas <td></td> 642226031Sstas </tr> 643226031Sstas </table> 644226031Sstas</div> 645226031Sstas<div class="memdoc"> 646226031Sstas 647226031Sstas<p> 648226031SstasInitiate a EVP_CIPHER_CTX context. Clean up with <a class="el" href="group__hcrypto__evp.html#gc16dd3987cd90c8bcdbad5290c558359">EVP_CIPHER_CTX_cleanup()</a>.<p> 649226031Sstas<dl compact><dt><b>Parameters:</b></dt><dd> 650226031Sstas <table border="0" cellspacing="2" cellpadding="0"> 651226031Sstas <tr><td valign="top"></td><td valign="top"><em>c</em> </td><td>the cipher initiate. </td></tr> 652226031Sstas </table> 653226031Sstas</dl> 654226031Sstas<dl compact><dt><b>Examples: </b></dt><dd> 655226031Sstas<a class="el" href="example__evp__cipher_8c-example.html#a4">example_evp_cipher.c</a>.</dl> 656226031Sstas</div> 657226031Sstas</div><p> 658226031Sstas<a class="anchor" name="ge160dd334fea8b844a4ef8a2ed5fbb0b"></a><!-- doxytag: member="evp.c::EVP_CIPHER_CTX_iv_length" ref="ge160dd334fea8b844a4ef8a2ed5fbb0b" args="(const EVP_CIPHER_CTX *ctx)" --> 659226031Sstas<div class="memitem"> 660226031Sstas<div class="memproto"> 661226031Sstas <table class="memname"> 662226031Sstas <tr> 663226031Sstas <td class="memname">size_t EVP_CIPHER_CTX_iv_length </td> 664226031Sstas <td>(</td> 665226031Sstas <td class="paramtype">const EVP_CIPHER_CTX * </td> 666226031Sstas <td class="paramname"> <em>ctx</em> </td> 667226031Sstas <td> ) </td> 668226031Sstas <td></td> 669226031Sstas </tr> 670226031Sstas </table> 671226031Sstas</div> 672226031Sstas<div class="memdoc"> 673226031Sstas 674226031Sstas<p> 675226031SstasReturn the IV size of the cipher context.<p> 676226031Sstas<dl compact><dt><b>Parameters:</b></dt><dd> 677226031Sstas <table border="0" cellspacing="2" cellpadding="0"> 678226031Sstas <tr><td valign="top"></td><td valign="top"><em>ctx</em> </td><td>cipher context to get the IV size from.</td></tr> 679226031Sstas </table> 680226031Sstas</dl> 681226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the IV size of the cipher context. </dd></dl> 682226031Sstas 683226031Sstas</div> 684226031Sstas</div><p> 685226031Sstas<a class="anchor" name="gd9a4a54b9b5d0b6035c7522ca461a9db"></a><!-- doxytag: member="evp.c::EVP_CIPHER_CTX_key_length" ref="gd9a4a54b9b5d0b6035c7522ca461a9db" args="(const EVP_CIPHER_CTX *ctx)" --> 686226031Sstas<div class="memitem"> 687226031Sstas<div class="memproto"> 688226031Sstas <table class="memname"> 689226031Sstas <tr> 690226031Sstas <td class="memname">size_t EVP_CIPHER_CTX_key_length </td> 691226031Sstas <td>(</td> 692226031Sstas <td class="paramtype">const EVP_CIPHER_CTX * </td> 693226031Sstas <td class="paramname"> <em>ctx</em> </td> 694226031Sstas <td> ) </td> 695226031Sstas <td></td> 696226031Sstas </tr> 697226031Sstas </table> 698226031Sstas</div> 699226031Sstas<div class="memdoc"> 700226031Sstas 701226031Sstas<p> 702226031SstasReturn the key size of the cipher context.<p> 703226031Sstas<dl compact><dt><b>Parameters:</b></dt><dd> 704226031Sstas <table border="0" cellspacing="2" cellpadding="0"> 705226031Sstas <tr><td valign="top"></td><td valign="top"><em>ctx</em> </td><td>cipher context to get the key size from.</td></tr> 706226031Sstas </table> 707226031Sstas</dl> 708226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the key size of the cipher context. </dd></dl> 709226031Sstas 710226031Sstas</div> 711226031Sstas</div><p> 712226031Sstas<a class="anchor" name="gc8013ca93e9b1ed25df3f535eb633f1a"></a><!-- doxytag: member="evp.c::EVP_CIPHER_CTX_mode" ref="gc8013ca93e9b1ed25df3f535eb633f1a" args="(const EVP_CIPHER_CTX *ctx)" --> 713226031Sstas<div class="memitem"> 714226031Sstas<div class="memproto"> 715226031Sstas <table class="memname"> 716226031Sstas <tr> 717226031Sstas <td class="memname">int EVP_CIPHER_CTX_mode </td> 718226031Sstas <td>(</td> 719226031Sstas <td class="paramtype">const EVP_CIPHER_CTX * </td> 720226031Sstas <td class="paramname"> <em>ctx</em> </td> 721226031Sstas <td> ) </td> 722226031Sstas <td></td> 723226031Sstas </tr> 724226031Sstas </table> 725226031Sstas</div> 726226031Sstas<div class="memdoc"> 727226031Sstas 728226031Sstas<p> 729226031SstasGet the mode for an EVP_CIPHER_CTX context.<p> 730226031Sstas<dl compact><dt><b>Parameters:</b></dt><dd> 731226031Sstas <table border="0" cellspacing="2" cellpadding="0"> 732226031Sstas <tr><td valign="top"></td><td valign="top"><em>ctx</em> </td><td>the EVP_CIPHER_CTX to get the mode from</td></tr> 733226031Sstas </table> 734226031Sstas</dl> 735226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the mode for an EVP_CIPHER_CTX. </dd></dl> 736226031Sstas 737226031Sstas</div> 738226031Sstas</div><p> 739226031Sstas<a class="anchor" name="g4fa322f7c3fe5fc570b8343d4d64fc52"></a><!-- doxytag: member="evp.c::EVP_CIPHER_CTX_set_app_data" ref="g4fa322f7c3fe5fc570b8343d4d64fc52" args="(EVP_CIPHER_CTX *ctx, void *data)" --> 740226031Sstas<div class="memitem"> 741226031Sstas<div class="memproto"> 742226031Sstas <table class="memname"> 743226031Sstas <tr> 744226031Sstas <td class="memname">void EVP_CIPHER_CTX_set_app_data </td> 745226031Sstas <td>(</td> 746226031Sstas <td class="paramtype">EVP_CIPHER_CTX * </td> 747226031Sstas <td class="paramname"> <em>ctx</em>, </td> 748226031Sstas </tr> 749226031Sstas <tr> 750226031Sstas <td class="paramkey"></td> 751226031Sstas <td></td> 752226031Sstas <td class="paramtype">void * </td> 753226031Sstas <td class="paramname"> <em>data</em></td><td> </td> 754226031Sstas </tr> 755226031Sstas <tr> 756226031Sstas <td></td> 757226031Sstas <td>)</td> 758226031Sstas <td></td><td></td><td></td> 759226031Sstas </tr> 760226031Sstas </table> 761226031Sstas</div> 762226031Sstas<div class="memdoc"> 763226031Sstas 764226031Sstas<p> 765226031SstasSet the app data for an EVP_CIPHER_CTX context.<p> 766226031Sstas<dl compact><dt><b>Parameters:</b></dt><dd> 767226031Sstas <table border="0" cellspacing="2" cellpadding="0"> 768226031Sstas <tr><td valign="top"></td><td valign="top"><em>ctx</em> </td><td>the EVP_CIPHER_CTX to set the app data for </td></tr> 769226031Sstas <tr><td valign="top"></td><td valign="top"><em>data</em> </td><td>the app data to set for an EVP_CIPHER_CTX. </td></tr> 770226031Sstas </table> 771226031Sstas</dl> 772226031Sstas 773226031Sstas</div> 774226031Sstas</div><p> 775226031Sstas<a class="anchor" name="gc4d29d4bc3473f2499cfa83f0201386c"></a><!-- doxytag: member="evp.c::EVP_CIPHER_CTX_set_key_length" ref="gc4d29d4bc3473f2499cfa83f0201386c" args="(EVP_CIPHER_CTX *c, int length)" --> 776226031Sstas<div class="memitem"> 777226031Sstas<div class="memproto"> 778226031Sstas <table class="memname"> 779226031Sstas <tr> 780226031Sstas <td class="memname">int EVP_CIPHER_CTX_set_key_length </td> 781226031Sstas <td>(</td> 782226031Sstas <td class="paramtype">EVP_CIPHER_CTX * </td> 783226031Sstas <td class="paramname"> <em>c</em>, </td> 784226031Sstas </tr> 785226031Sstas <tr> 786226031Sstas <td class="paramkey"></td> 787226031Sstas <td></td> 788226031Sstas <td class="paramtype">int </td> 789226031Sstas <td class="paramname"> <em>length</em></td><td> </td> 790226031Sstas </tr> 791226031Sstas <tr> 792226031Sstas <td></td> 793226031Sstas <td>)</td> 794226031Sstas <td></td><td></td><td></td> 795226031Sstas </tr> 796226031Sstas </table> 797226031Sstas</div> 798226031Sstas<div class="memdoc"> 799226031Sstas 800226031Sstas<p> 801226031SstasIf the cipher type supports it, change the key length<p> 802226031Sstas<dl compact><dt><b>Parameters:</b></dt><dd> 803226031Sstas <table border="0" cellspacing="2" cellpadding="0"> 804226031Sstas <tr><td valign="top"></td><td valign="top"><em>c</em> </td><td>the cipher context to change the key length for </td></tr> 805226031Sstas <tr><td valign="top"></td><td valign="top"><em>length</em> </td><td>new key length</td></tr> 806226031Sstas </table> 807226031Sstas</dl> 808226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>1 on success. </dd></dl> 809226031Sstas 810226031Sstas</div> 811226031Sstas</div><p> 812226031Sstas<a class="anchor" name="g7edebe76d19dee11686a6698d24f19f5"></a><!-- doxytag: member="evp.c::EVP_CIPHER_iv_length" ref="g7edebe76d19dee11686a6698d24f19f5" args="(const EVP_CIPHER *c)" --> 813226031Sstas<div class="memitem"> 814226031Sstas<div class="memproto"> 815226031Sstas <table class="memname"> 816226031Sstas <tr> 817226031Sstas <td class="memname">size_t EVP_CIPHER_iv_length </td> 818226031Sstas <td>(</td> 819226031Sstas <td class="paramtype">const EVP_CIPHER * </td> 820226031Sstas <td class="paramname"> <em>c</em> </td> 821226031Sstas <td> ) </td> 822226031Sstas <td></td> 823226031Sstas </tr> 824226031Sstas </table> 825226031Sstas</div> 826226031Sstas<div class="memdoc"> 827226031Sstas 828226031Sstas<p> 829226031SstasReturn the IV size of the cipher.<p> 830226031Sstas<dl compact><dt><b>Parameters:</b></dt><dd> 831226031Sstas <table border="0" cellspacing="2" cellpadding="0"> 832226031Sstas <tr><td valign="top"></td><td valign="top"><em>c</em> </td><td>cipher to get the IV size from.</td></tr> 833226031Sstas </table> 834226031Sstas</dl> 835226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the IV size of the cipher. </dd></dl> 836226031Sstas<dl compact><dt><b>Examples: </b></dt><dd> 837226031Sstas<a class="el" href="example__evp__cipher_8c-example.html#a2">example_evp_cipher.c</a>.</dl> 838226031Sstas</div> 839226031Sstas</div><p> 840226031Sstas<a class="anchor" name="g4793a9e130da86ac42c497b19395b748"></a><!-- doxytag: member="evp.c::EVP_CIPHER_key_length" ref="g4793a9e130da86ac42c497b19395b748" args="(const EVP_CIPHER *c)" --> 841226031Sstas<div class="memitem"> 842226031Sstas<div class="memproto"> 843226031Sstas <table class="memname"> 844226031Sstas <tr> 845226031Sstas <td class="memname">size_t EVP_CIPHER_key_length </td> 846226031Sstas <td>(</td> 847226031Sstas <td class="paramtype">const EVP_CIPHER * </td> 848226031Sstas <td class="paramname"> <em>c</em> </td> 849226031Sstas <td> ) </td> 850226031Sstas <td></td> 851226031Sstas </tr> 852226031Sstas </table> 853226031Sstas</div> 854226031Sstas<div class="memdoc"> 855226031Sstas 856226031Sstas<p> 857226031SstasReturn the key size of the cipher.<p> 858226031Sstas<dl compact><dt><b>Parameters:</b></dt><dd> 859226031Sstas <table border="0" cellspacing="2" cellpadding="0"> 860226031Sstas <tr><td valign="top"></td><td valign="top"><em>c</em> </td><td>cipher to get the key size from.</td></tr> 861226031Sstas </table> 862226031Sstas</dl> 863226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the key size of the cipher. </dd></dl> 864226031Sstas<dl compact><dt><b>Examples: </b></dt><dd> 865226031Sstas<a class="el" href="example__evp__cipher_8c-example.html#a1">example_evp_cipher.c</a>.</dl> 866226031Sstas</div> 867226031Sstas</div><p> 868226031Sstas<a class="anchor" name="g714eef7d737fd68171d852043a4995de"></a><!-- doxytag: member="evp.c::EVP_CipherFinal_ex" ref="g714eef7d737fd68171d852043a4995de" args="(EVP_CIPHER_CTX *ctx, void *out, int *outlen)" --> 869226031Sstas<div class="memitem"> 870226031Sstas<div class="memproto"> 871226031Sstas <table class="memname"> 872226031Sstas <tr> 873226031Sstas <td class="memname">int EVP_CipherFinal_ex </td> 874226031Sstas <td>(</td> 875226031Sstas <td class="paramtype">EVP_CIPHER_CTX * </td> 876226031Sstas <td class="paramname"> <em>ctx</em>, </td> 877226031Sstas </tr> 878226031Sstas <tr> 879226031Sstas <td class="paramkey"></td> 880226031Sstas <td></td> 881226031Sstas <td class="paramtype">void * </td> 882226031Sstas <td class="paramname"> <em>out</em>, </td> 883226031Sstas </tr> 884226031Sstas <tr> 885226031Sstas <td class="paramkey"></td> 886226031Sstas <td></td> 887226031Sstas <td class="paramtype">int * </td> 888226031Sstas <td class="paramname"> <em>outlen</em></td><td> </td> 889226031Sstas </tr> 890226031Sstas <tr> 891226031Sstas <td></td> 892226031Sstas <td>)</td> 893226031Sstas <td></td><td></td><td></td> 894226031Sstas </tr> 895226031Sstas </table> 896226031Sstas</div> 897226031Sstas<div class="memdoc"> 898226031Sstas 899226031Sstas<p> 900226031SstasEncipher/decipher final data<p> 901226031Sstas<dl compact><dt><b>Parameters:</b></dt><dd> 902226031Sstas <table border="0" cellspacing="2" cellpadding="0"> 903226031Sstas <tr><td valign="top"></td><td valign="top"><em>ctx</em> </td><td>the cipher context. </td></tr> 904226031Sstas <tr><td valign="top"></td><td valign="top"><em>out</em> </td><td>output data from the operation. </td></tr> 905226031Sstas <tr><td valign="top"></td><td valign="top"><em>outlen</em> </td><td>output length</td></tr> 906226031Sstas </table> 907226031Sstas</dl> 908226031SstasThe input length needs to be at least <a class="el" href="group__hcrypto__evp.html#g3123ff4b426783dd972538249b9e9d4d">EVP_CIPHER_block_size()</a> bytes long.<p> 909226031SstasSee <a class="el" href="page_evp.html#evp_cipher">EVP Cipher</a> for an example how to use this function.<p> 910226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>1 on success. </dd></dl> 911226031Sstas<dl compact><dt><b>Examples: </b></dt><dd> 912226031Sstas<a class="el" href="example__evp__cipher_8c-example.html#a8">example_evp_cipher.c</a>.</dl> 913226031Sstas</div> 914226031Sstas</div><p> 915226031Sstas<a class="anchor" name="g98da5a5c1aa25d9cb2e4717fa11314bd"></a><!-- doxytag: member="evp.c::EVP_CipherInit_ex" ref="g98da5a5c1aa25d9cb2e4717fa11314bd" args="(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *c, ENGINE *engine, const void *key, const void *iv, int encp)" --> 916226031Sstas<div class="memitem"> 917226031Sstas<div class="memproto"> 918226031Sstas <table class="memname"> 919226031Sstas <tr> 920226031Sstas <td class="memname">int EVP_CipherInit_ex </td> 921226031Sstas <td>(</td> 922226031Sstas <td class="paramtype">EVP_CIPHER_CTX * </td> 923226031Sstas <td class="paramname"> <em>ctx</em>, </td> 924226031Sstas </tr> 925226031Sstas <tr> 926226031Sstas <td class="paramkey"></td> 927226031Sstas <td></td> 928226031Sstas <td class="paramtype">const EVP_CIPHER * </td> 929226031Sstas <td class="paramname"> <em>c</em>, </td> 930226031Sstas </tr> 931226031Sstas <tr> 932226031Sstas <td class="paramkey"></td> 933226031Sstas <td></td> 934226031Sstas <td class="paramtype">ENGINE * </td> 935226031Sstas <td class="paramname"> <em>engine</em>, </td> 936226031Sstas </tr> 937226031Sstas <tr> 938226031Sstas <td class="paramkey"></td> 939226031Sstas <td></td> 940226031Sstas <td class="paramtype">const void * </td> 941226031Sstas <td class="paramname"> <em>key</em>, </td> 942226031Sstas </tr> 943226031Sstas <tr> 944226031Sstas <td class="paramkey"></td> 945226031Sstas <td></td> 946226031Sstas <td class="paramtype">const void * </td> 947226031Sstas <td class="paramname"> <em>iv</em>, </td> 948226031Sstas </tr> 949226031Sstas <tr> 950226031Sstas <td class="paramkey"></td> 951226031Sstas <td></td> 952226031Sstas <td class="paramtype">int </td> 953226031Sstas <td class="paramname"> <em>encp</em></td><td> </td> 954226031Sstas </tr> 955226031Sstas <tr> 956226031Sstas <td></td> 957226031Sstas <td>)</td> 958226031Sstas <td></td><td></td><td></td> 959226031Sstas </tr> 960226031Sstas </table> 961226031Sstas</div> 962226031Sstas<div class="memdoc"> 963226031Sstas 964226031Sstas<p> 965226031SstasInitiate the EVP_CIPHER_CTX context to encrypt or decrypt data. Clean up with <a class="el" href="group__hcrypto__evp.html#gc16dd3987cd90c8bcdbad5290c558359">EVP_CIPHER_CTX_cleanup()</a>.<p> 966226031Sstas<dl compact><dt><b>Parameters:</b></dt><dd> 967226031Sstas <table border="0" cellspacing="2" cellpadding="0"> 968226031Sstas <tr><td valign="top"></td><td valign="top"><em>ctx</em> </td><td>context to initiate </td></tr> 969226031Sstas <tr><td valign="top"></td><td valign="top"><em>c</em> </td><td>cipher to use. </td></tr> 970226031Sstas <tr><td valign="top"></td><td valign="top"><em>engine</em> </td><td>crypto engine to use, NULL to select default. </td></tr> 971226031Sstas <tr><td valign="top"></td><td valign="top"><em>key</em> </td><td>the crypto key to use, NULL will use the previous value. </td></tr> 972226031Sstas <tr><td valign="top"></td><td valign="top"><em>iv</em> </td><td>the IV to use, NULL will use the previous value. </td></tr> 973226031Sstas <tr><td valign="top"></td><td valign="top"><em>encp</em> </td><td>non zero will encrypt, -1 use the previous value.</td></tr> 974226031Sstas </table> 975226031Sstas</dl> 976226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>1 on success. </dd></dl> 977226031Sstas<dl compact><dt><b>Examples: </b></dt><dd> 978226031Sstas<a class="el" href="example__evp__cipher_8c-example.html#a5">example_evp_cipher.c</a>.</dl> 979226031Sstas</div> 980226031Sstas</div><p> 981226031Sstas<a class="anchor" name="g863349e1001b36cfd6c4afedddd12862"></a><!-- doxytag: member="evp.c::EVP_CipherUpdate" ref="g863349e1001b36cfd6c4afedddd12862" args="(EVP_CIPHER_CTX *ctx, void *out, int *outlen, void *in, size_t inlen)" --> 982226031Sstas<div class="memitem"> 983226031Sstas<div class="memproto"> 984226031Sstas <table class="memname"> 985226031Sstas <tr> 986226031Sstas <td class="memname">int EVP_CipherUpdate </td> 987226031Sstas <td>(</td> 988226031Sstas <td class="paramtype">EVP_CIPHER_CTX * </td> 989226031Sstas <td class="paramname"> <em>ctx</em>, </td> 990226031Sstas </tr> 991226031Sstas <tr> 992226031Sstas <td class="paramkey"></td> 993226031Sstas <td></td> 994226031Sstas <td class="paramtype">void * </td> 995226031Sstas <td class="paramname"> <em>out</em>, </td> 996226031Sstas </tr> 997226031Sstas <tr> 998226031Sstas <td class="paramkey"></td> 999226031Sstas <td></td> 1000226031Sstas <td class="paramtype">int * </td> 1001226031Sstas <td class="paramname"> <em>outlen</em>, </td> 1002226031Sstas </tr> 1003226031Sstas <tr> 1004226031Sstas <td class="paramkey"></td> 1005226031Sstas <td></td> 1006226031Sstas <td class="paramtype">void * </td> 1007226031Sstas <td class="paramname"> <em>in</em>, </td> 1008226031Sstas </tr> 1009226031Sstas <tr> 1010226031Sstas <td class="paramkey"></td> 1011226031Sstas <td></td> 1012226031Sstas <td class="paramtype">size_t </td> 1013226031Sstas <td class="paramname"> <em>inlen</em></td><td> </td> 1014226031Sstas </tr> 1015226031Sstas <tr> 1016226031Sstas <td></td> 1017226031Sstas <td>)</td> 1018226031Sstas <td></td><td></td><td></td> 1019226031Sstas </tr> 1020226031Sstas </table> 1021226031Sstas</div> 1022226031Sstas<div class="memdoc"> 1023226031Sstas 1024226031Sstas<p> 1025226031SstasEncipher/decipher partial data<p> 1026226031Sstas<dl compact><dt><b>Parameters:</b></dt><dd> 1027226031Sstas <table border="0" cellspacing="2" cellpadding="0"> 1028226031Sstas <tr><td valign="top"></td><td valign="top"><em>ctx</em> </td><td>the cipher context. </td></tr> 1029226031Sstas <tr><td valign="top"></td><td valign="top"><em>out</em> </td><td>output data from the operation. </td></tr> 1030226031Sstas <tr><td valign="top"></td><td valign="top"><em>outlen</em> </td><td>output length </td></tr> 1031226031Sstas <tr><td valign="top"></td><td valign="top"><em>in</em> </td><td>input data to the operation. </td></tr> 1032226031Sstas <tr><td valign="top"></td><td valign="top"><em>inlen</em> </td><td>length of data.</td></tr> 1033226031Sstas </table> 1034226031Sstas</dl> 1035226031SstasThe output buffer length should at least be <a class="el" href="group__hcrypto__evp.html#g3123ff4b426783dd972538249b9e9d4d">EVP_CIPHER_block_size()</a> byte longer then the input length.<p> 1036226031SstasSee <a class="el" href="page_evp.html#evp_cipher">EVP Cipher</a> for an example how to use this function.<p> 1037226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>1 on success. </dd></dl> 1038226031Sstas 1039226031Sstas<p> 1040226031SstasIf there in no spare bytes in the left from last Update and the input length is on the block boundery, the <a class="el" href="group__hcrypto__evp.html#g863349e1001b36cfd6c4afedddd12862">EVP_CipherUpdate()</a> 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. <dl compact><dt><b>Examples: </b></dt><dd> 1041226031Sstas<a class="el" href="example__evp__cipher_8c-example.html#a6">example_evp_cipher.c</a>.</dl> 1042226031Sstas</div> 1043226031Sstas</div><p> 1044226031Sstas<a class="anchor" name="g8ba85e78fac7521ad71cb29ef62beab9"></a><!-- doxytag: member="evp.c::EVP_des_cbc" ref="g8ba85e78fac7521ad71cb29ef62beab9" args="(void)" --> 1045226031Sstas<div class="memitem"> 1046226031Sstas<div class="memproto"> 1047226031Sstas <table class="memname"> 1048226031Sstas <tr> 1049226031Sstas <td class="memname">const EVP_CIPHER* EVP_des_cbc </td> 1050226031Sstas <td>(</td> 1051226031Sstas <td class="paramtype">void </td> 1052226031Sstas <td class="paramname"> </td> 1053226031Sstas <td> ) </td> 1054226031Sstas <td></td> 1055226031Sstas </tr> 1056226031Sstas </table> 1057226031Sstas</div> 1058226031Sstas<div class="memdoc"> 1059226031Sstas 1060226031Sstas<p> 1061226031SstasThe DES cipher type<p> 1062226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the DES-CBC EVP_CIPHER pointer. </dd></dl> 1063226031Sstas 1064226031Sstas</div> 1065226031Sstas</div><p> 1066226031Sstas<a class="anchor" name="g191c1d946437661ee23de2ad9b3383e3"></a><!-- doxytag: member="evp.c::EVP_des_ede3_cbc" ref="g191c1d946437661ee23de2ad9b3383e3" args="(void)" --> 1067226031Sstas<div class="memitem"> 1068226031Sstas<div class="memproto"> 1069226031Sstas <table class="memname"> 1070226031Sstas <tr> 1071226031Sstas <td class="memname">const EVP_CIPHER* EVP_des_ede3_cbc </td> 1072226031Sstas <td>(</td> 1073226031Sstas <td class="paramtype">void </td> 1074226031Sstas <td class="paramname"> </td> 1075226031Sstas <td> ) </td> 1076226031Sstas <td></td> 1077226031Sstas </tr> 1078226031Sstas </table> 1079226031Sstas</div> 1080226031Sstas<div class="memdoc"> 1081226031Sstas 1082226031Sstas<p> 1083226031SstasThe tripple DES cipher type<p> 1084226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the DES-EDE3-CBC EVP_CIPHER pointer. </dd></dl> 1085226031Sstas 1086226031Sstas</div> 1087226031Sstas</div><p> 1088226031Sstas<a class="anchor" name="gb785fa9dd0a45be223a0d576af062c4b"></a><!-- doxytag: member="evp.c::EVP_Digest" ref="gb785fa9dd0a45be223a0d576af062c4b" args="(const void *data, size_t dsize, void *hash, unsigned int *hsize, const EVP_MD *md, ENGINE *engine)" --> 1089226031Sstas<div class="memitem"> 1090226031Sstas<div class="memproto"> 1091226031Sstas <table class="memname"> 1092226031Sstas <tr> 1093226031Sstas <td class="memname">int EVP_Digest </td> 1094226031Sstas <td>(</td> 1095226031Sstas <td class="paramtype">const void * </td> 1096226031Sstas <td class="paramname"> <em>data</em>, </td> 1097226031Sstas </tr> 1098226031Sstas <tr> 1099226031Sstas <td class="paramkey"></td> 1100226031Sstas <td></td> 1101226031Sstas <td class="paramtype">size_t </td> 1102226031Sstas <td class="paramname"> <em>dsize</em>, </td> 1103226031Sstas </tr> 1104226031Sstas <tr> 1105226031Sstas <td class="paramkey"></td> 1106226031Sstas <td></td> 1107226031Sstas <td class="paramtype">void * </td> 1108226031Sstas <td class="paramname"> <em>hash</em>, </td> 1109226031Sstas </tr> 1110226031Sstas <tr> 1111226031Sstas <td class="paramkey"></td> 1112226031Sstas <td></td> 1113226031Sstas <td class="paramtype">unsigned int * </td> 1114226031Sstas <td class="paramname"> <em>hsize</em>, </td> 1115226031Sstas </tr> 1116226031Sstas <tr> 1117226031Sstas <td class="paramkey"></td> 1118226031Sstas <td></td> 1119226031Sstas <td class="paramtype">const EVP_MD * </td> 1120226031Sstas <td class="paramname"> <em>md</em>, </td> 1121226031Sstas </tr> 1122226031Sstas <tr> 1123226031Sstas <td class="paramkey"></td> 1124226031Sstas <td></td> 1125226031Sstas <td class="paramtype">ENGINE * </td> 1126226031Sstas <td class="paramname"> <em>engine</em></td><td> </td> 1127226031Sstas </tr> 1128226031Sstas <tr> 1129226031Sstas <td></td> 1130226031Sstas <td>)</td> 1131226031Sstas <td></td><td></td><td></td> 1132226031Sstas </tr> 1133226031Sstas </table> 1134226031Sstas</div> 1135226031Sstas<div class="memdoc"> 1136226031Sstas 1137226031Sstas<p> 1138226031SstasDo the whole <a class="el" href="group__hcrypto__evp.html#g54bfa0296db2c131ef69e3a18c445357">EVP_MD_CTX_create()</a>, <a class="el" href="group__hcrypto__evp.html#gb6b800ba80b850cba223723b28fc9a44">EVP_DigestInit_ex()</a>, <a class="el" href="group__hcrypto__evp.html#g12039fea1f371ef39a489d450f564338">EVP_DigestUpdate()</a>, <a class="el" href="group__hcrypto__evp.html#g5103bec19556f264e1f442c6ffc3bddc">EVP_DigestFinal_ex()</a>, <a class="el" href="group__hcrypto__evp.html#ge105ea6e5626f521fbe8cad0a85cbe46">EVP_MD_CTX_destroy()</a> dance in one call.<p> 1139226031Sstas<dl compact><dt><b>Parameters:</b></dt><dd> 1140226031Sstas <table border="0" cellspacing="2" cellpadding="0"> 1141226031Sstas <tr><td valign="top"></td><td valign="top"><em>data</em> </td><td>the data to update the context with </td></tr> 1142226031Sstas <tr><td valign="top"></td><td valign="top"><em>dsize</em> </td><td>length of data </td></tr> 1143226031Sstas <tr><td valign="top"></td><td valign="top"><em>hash</em> </td><td>output data of at least <a class="el" href="group__hcrypto__evp.html#gbea28e9ccb98329a7a76c95e8699221c">EVP_MD_size()</a> length. </td></tr> 1144226031Sstas <tr><td valign="top"></td><td valign="top"><em>hsize</em> </td><td>output length of hash. </td></tr> 1145226031Sstas <tr><td valign="top"></td><td valign="top"><em>md</em> </td><td>message digest to use </td></tr> 1146226031Sstas <tr><td valign="top"></td><td valign="top"><em>engine</em> </td><td>engine to use, NULL for default engine.</td></tr> 1147226031Sstas </table> 1148226031Sstas</dl> 1149226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>1 on success. </dd></dl> 1150226031Sstas 1151226031Sstas</div> 1152226031Sstas</div><p> 1153226031Sstas<a class="anchor" name="g5103bec19556f264e1f442c6ffc3bddc"></a><!-- doxytag: member="evp.c::EVP_DigestFinal_ex" ref="g5103bec19556f264e1f442c6ffc3bddc" args="(EVP_MD_CTX *ctx, void *hash, unsigned int *size)" --> 1154226031Sstas<div class="memitem"> 1155226031Sstas<div class="memproto"> 1156226031Sstas <table class="memname"> 1157226031Sstas <tr> 1158226031Sstas <td class="memname">int EVP_DigestFinal_ex </td> 1159226031Sstas <td>(</td> 1160226031Sstas <td class="paramtype">EVP_MD_CTX * </td> 1161226031Sstas <td class="paramname"> <em>ctx</em>, </td> 1162226031Sstas </tr> 1163226031Sstas <tr> 1164226031Sstas <td class="paramkey"></td> 1165226031Sstas <td></td> 1166226031Sstas <td class="paramtype">void * </td> 1167226031Sstas <td class="paramname"> <em>hash</em>, </td> 1168226031Sstas </tr> 1169226031Sstas <tr> 1170226031Sstas <td class="paramkey"></td> 1171226031Sstas <td></td> 1172226031Sstas <td class="paramtype">unsigned int * </td> 1173226031Sstas <td class="paramname"> <em>size</em></td><td> </td> 1174226031Sstas </tr> 1175226031Sstas <tr> 1176226031Sstas <td></td> 1177226031Sstas <td>)</td> 1178226031Sstas <td></td><td></td><td></td> 1179226031Sstas </tr> 1180226031Sstas </table> 1181226031Sstas</div> 1182226031Sstas<div class="memdoc"> 1183226031Sstas 1184226031Sstas<p> 1185226031SstasComplete the message digest.<p> 1186226031Sstas<dl compact><dt><b>Parameters:</b></dt><dd> 1187226031Sstas <table border="0" cellspacing="2" cellpadding="0"> 1188226031Sstas <tr><td valign="top"></td><td valign="top"><em>ctx</em> </td><td>the context to complete. </td></tr> 1189226031Sstas <tr><td valign="top"></td><td valign="top"><em>hash</em> </td><td>the output of the message digest function. At least <a class="el" href="group__hcrypto__evp.html#gbea28e9ccb98329a7a76c95e8699221c">EVP_MD_size()</a>. </td></tr> 1190226031Sstas <tr><td valign="top"></td><td valign="top"><em>size</em> </td><td>the output size of hash.</td></tr> 1191226031Sstas </table> 1192226031Sstas</dl> 1193226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>1 on success. </dd></dl> 1194226031Sstas 1195226031Sstas</div> 1196226031Sstas</div><p> 1197226031Sstas<a class="anchor" name="gb6b800ba80b850cba223723b28fc9a44"></a><!-- doxytag: member="evp.c::EVP_DigestInit_ex" ref="gb6b800ba80b850cba223723b28fc9a44" args="(EVP_MD_CTX *ctx, const EVP_MD *md, ENGINE *engine)" --> 1198226031Sstas<div class="memitem"> 1199226031Sstas<div class="memproto"> 1200226031Sstas <table class="memname"> 1201226031Sstas <tr> 1202226031Sstas <td class="memname">int EVP_DigestInit_ex </td> 1203226031Sstas <td>(</td> 1204226031Sstas <td class="paramtype">EVP_MD_CTX * </td> 1205226031Sstas <td class="paramname"> <em>ctx</em>, </td> 1206226031Sstas </tr> 1207226031Sstas <tr> 1208226031Sstas <td class="paramkey"></td> 1209226031Sstas <td></td> 1210226031Sstas <td class="paramtype">const EVP_MD * </td> 1211226031Sstas <td class="paramname"> <em>md</em>, </td> 1212226031Sstas </tr> 1213226031Sstas <tr> 1214226031Sstas <td class="paramkey"></td> 1215226031Sstas <td></td> 1216226031Sstas <td class="paramtype">ENGINE * </td> 1217226031Sstas <td class="paramname"> <em>engine</em></td><td> </td> 1218226031Sstas </tr> 1219226031Sstas <tr> 1220226031Sstas <td></td> 1221226031Sstas <td>)</td> 1222226031Sstas <td></td><td></td><td></td> 1223226031Sstas </tr> 1224226031Sstas </table> 1225226031Sstas</div> 1226226031Sstas<div class="memdoc"> 1227226031Sstas 1228226031Sstas<p> 1229226031SstasInit a EVP_MD_CTX for use a specific message digest and engine.<p> 1230226031Sstas<dl compact><dt><b>Parameters:</b></dt><dd> 1231226031Sstas <table border="0" cellspacing="2" cellpadding="0"> 1232226031Sstas <tr><td valign="top"></td><td valign="top"><em>ctx</em> </td><td>the message digest context to init. </td></tr> 1233226031Sstas <tr><td valign="top"></td><td valign="top"><em>md</em> </td><td>the message digest to use. </td></tr> 1234226031Sstas <tr><td valign="top"></td><td valign="top"><em>engine</em> </td><td>the engine to use, NULL to use the default engine.</td></tr> 1235226031Sstas </table> 1236226031Sstas</dl> 1237226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>1 on success. </dd></dl> 1238226031Sstas 1239226031Sstas</div> 1240226031Sstas</div><p> 1241226031Sstas<a class="anchor" name="g12039fea1f371ef39a489d450f564338"></a><!-- doxytag: member="evp.c::EVP_DigestUpdate" ref="g12039fea1f371ef39a489d450f564338" args="(EVP_MD_CTX *ctx, const void *data, size_t size)" --> 1242226031Sstas<div class="memitem"> 1243226031Sstas<div class="memproto"> 1244226031Sstas <table class="memname"> 1245226031Sstas <tr> 1246226031Sstas <td class="memname">int EVP_DigestUpdate </td> 1247226031Sstas <td>(</td> 1248226031Sstas <td class="paramtype">EVP_MD_CTX * </td> 1249226031Sstas <td class="paramname"> <em>ctx</em>, </td> 1250226031Sstas </tr> 1251226031Sstas <tr> 1252226031Sstas <td class="paramkey"></td> 1253226031Sstas <td></td> 1254226031Sstas <td class="paramtype">const void * </td> 1255226031Sstas <td class="paramname"> <em>data</em>, </td> 1256226031Sstas </tr> 1257226031Sstas <tr> 1258226031Sstas <td class="paramkey"></td> 1259226031Sstas <td></td> 1260226031Sstas <td class="paramtype">size_t </td> 1261226031Sstas <td class="paramname"> <em>size</em></td><td> </td> 1262226031Sstas </tr> 1263226031Sstas <tr> 1264226031Sstas <td></td> 1265226031Sstas <td>)</td> 1266226031Sstas <td></td><td></td><td></td> 1267226031Sstas </tr> 1268226031Sstas </table> 1269226031Sstas</div> 1270226031Sstas<div class="memdoc"> 1271226031Sstas 1272226031Sstas<p> 1273226031SstasUpdate the digest with some data.<p> 1274226031Sstas<dl compact><dt><b>Parameters:</b></dt><dd> 1275226031Sstas <table border="0" cellspacing="2" cellpadding="0"> 1276226031Sstas <tr><td valign="top"></td><td valign="top"><em>ctx</em> </td><td>the context to update </td></tr> 1277226031Sstas <tr><td valign="top"></td><td valign="top"><em>data</em> </td><td>the data to update the context with </td></tr> 1278226031Sstas <tr><td valign="top"></td><td valign="top"><em>size</em> </td><td>length of data</td></tr> 1279226031Sstas </table> 1280226031Sstas</dl> 1281226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>1 on success. </dd></dl> 1282226031Sstas 1283226031Sstas</div> 1284226031Sstas</div><p> 1285226031Sstas<a class="anchor" name="g70a05495ee115c6eb26d958a5ac75c8b"></a><!-- doxytag: member="evp.c::EVP_enc_null" ref="g70a05495ee115c6eb26d958a5ac75c8b" args="(void)" --> 1286226031Sstas<div class="memitem"> 1287226031Sstas<div class="memproto"> 1288226031Sstas <table class="memname"> 1289226031Sstas <tr> 1290226031Sstas <td class="memname">const EVP_CIPHER* EVP_enc_null </td> 1291226031Sstas <td>(</td> 1292226031Sstas <td class="paramtype">void </td> 1293226031Sstas <td class="paramname"> </td> 1294226031Sstas <td> ) </td> 1295226031Sstas <td></td> 1296226031Sstas </tr> 1297226031Sstas </table> 1298226031Sstas</div> 1299226031Sstas<div class="memdoc"> 1300226031Sstas 1301226031Sstas<p> 1302226031SstasThe NULL cipher type, does no encryption/decryption.<p> 1303226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the null EVP_CIPHER pointer. </dd></dl> 1304226031Sstas 1305226031Sstas</div> 1306226031Sstas</div><p> 1307226031Sstas<a class="anchor" name="gead9b446ac5ebd90dc7be0dbe6aba2b0"></a><!-- doxytag: member="evp.c::EVP_get_cipherbyname" ref="gead9b446ac5ebd90dc7be0dbe6aba2b0" args="(const char *name)" --> 1308226031Sstas<div class="memitem"> 1309226031Sstas<div class="memproto"> 1310226031Sstas <table class="memname"> 1311226031Sstas <tr> 1312226031Sstas <td class="memname">const EVP_CIPHER* EVP_get_cipherbyname </td> 1313226031Sstas <td>(</td> 1314226031Sstas <td class="paramtype">const char * </td> 1315226031Sstas <td class="paramname"> <em>name</em> </td> 1316226031Sstas <td> ) </td> 1317226031Sstas <td></td> 1318226031Sstas </tr> 1319226031Sstas </table> 1320226031Sstas</div> 1321226031Sstas<div class="memdoc"> 1322226031Sstas 1323226031Sstas<p> 1324226031SstasGet the cipher type using their name.<p> 1325226031Sstas<dl compact><dt><b>Parameters:</b></dt><dd> 1326226031Sstas <table border="0" cellspacing="2" cellpadding="0"> 1327226031Sstas <tr><td valign="top"></td><td valign="top"><em>name</em> </td><td>the name of the cipher.</td></tr> 1328226031Sstas </table> 1329226031Sstas</dl> 1330226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the selected EVP_CIPHER pointer or NULL if not found. </dd></dl> 1331226031Sstas 1332226031Sstas</div> 1333226031Sstas</div><p> 1334226031Sstas<a class="anchor" name="g2decf06c0d9b08e364e9c4c8f4d3a7a3"></a><!-- doxytag: member="evp-hcrypto.c::EVP_hcrypto_aes_128_cbc" ref="g2decf06c0d9b08e364e9c4c8f4d3a7a3" args="(void)" --> 1335226031Sstas<div class="memitem"> 1336226031Sstas<div class="memproto"> 1337226031Sstas <table class="memname"> 1338226031Sstas <tr> 1339226031Sstas <td class="memname">const EVP_CIPHER* EVP_hcrypto_aes_128_cbc </td> 1340226031Sstas <td>(</td> 1341226031Sstas <td class="paramtype">void </td> 1342226031Sstas <td class="paramname"> </td> 1343226031Sstas <td> ) </td> 1344226031Sstas <td></td> 1345226031Sstas </tr> 1346226031Sstas </table> 1347226031Sstas</div> 1348226031Sstas<div class="memdoc"> 1349226031Sstas 1350226031Sstas<p> 1351226031SstasThe AES-128 cipher type (hcrypto)<p> 1352226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the AES-128 EVP_CIPHER pointer. </dd></dl> 1353226031Sstas 1354226031Sstas</div> 1355226031Sstas</div><p> 1356226031Sstas<a class="anchor" name="g44eb080ab987799883eae8e64970be6c"></a><!-- doxytag: member="evp-hcrypto.c::EVP_hcrypto_aes_128_cfb8" ref="g44eb080ab987799883eae8e64970be6c" args="(void)" --> 1357226031Sstas<div class="memitem"> 1358226031Sstas<div class="memproto"> 1359226031Sstas <table class="memname"> 1360226031Sstas <tr> 1361226031Sstas <td class="memname">const EVP_CIPHER* EVP_hcrypto_aes_128_cfb8 </td> 1362226031Sstas <td>(</td> 1363226031Sstas <td class="paramtype">void </td> 1364226031Sstas <td class="paramname"> </td> 1365226031Sstas <td> ) </td> 1366226031Sstas <td></td> 1367226031Sstas </tr> 1368226031Sstas </table> 1369226031Sstas</div> 1370226031Sstas<div class="memdoc"> 1371226031Sstas 1372226031Sstas<p> 1373226031SstasThe AES-128 CFB8 cipher type (hcrypto)<p> 1374226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the AES-128 EVP_CIPHER pointer. </dd></dl> 1375226031Sstas 1376226031Sstas</div> 1377226031Sstas</div><p> 1378226031Sstas<a class="anchor" name="g16b21d9262c4af37121b0e85cc83b555"></a><!-- doxytag: member="evp-hcrypto.c::EVP_hcrypto_aes_192_cbc" ref="g16b21d9262c4af37121b0e85cc83b555" args="(void)" --> 1379226031Sstas<div class="memitem"> 1380226031Sstas<div class="memproto"> 1381226031Sstas <table class="memname"> 1382226031Sstas <tr> 1383226031Sstas <td class="memname">const EVP_CIPHER* EVP_hcrypto_aes_192_cbc </td> 1384226031Sstas <td>(</td> 1385226031Sstas <td class="paramtype">void </td> 1386226031Sstas <td class="paramname"> </td> 1387226031Sstas <td> ) </td> 1388226031Sstas <td></td> 1389226031Sstas </tr> 1390226031Sstas </table> 1391226031Sstas</div> 1392226031Sstas<div class="memdoc"> 1393226031Sstas 1394226031Sstas<p> 1395226031SstasThe AES-192 cipher type (hcrypto)<p> 1396226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the AES-192 EVP_CIPHER pointer. </dd></dl> 1397226031Sstas 1398226031Sstas</div> 1399226031Sstas</div><p> 1400226031Sstas<a class="anchor" name="g532a6f5c56334ccf8615791bfaef041d"></a><!-- doxytag: member="evp-hcrypto.c::EVP_hcrypto_aes_192_cfb8" ref="g532a6f5c56334ccf8615791bfaef041d" args="(void)" --> 1401226031Sstas<div class="memitem"> 1402226031Sstas<div class="memproto"> 1403226031Sstas <table class="memname"> 1404226031Sstas <tr> 1405226031Sstas <td class="memname">const EVP_CIPHER* EVP_hcrypto_aes_192_cfb8 </td> 1406226031Sstas <td>(</td> 1407226031Sstas <td class="paramtype">void </td> 1408226031Sstas <td class="paramname"> </td> 1409226031Sstas <td> ) </td> 1410226031Sstas <td></td> 1411226031Sstas </tr> 1412226031Sstas </table> 1413226031Sstas</div> 1414226031Sstas<div class="memdoc"> 1415226031Sstas 1416226031Sstas<p> 1417226031SstasThe AES-192 CFB8 cipher type (hcrypto)<p> 1418226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the AES-192 EVP_CIPHER pointer. </dd></dl> 1419226031Sstas 1420226031Sstas</div> 1421226031Sstas</div><p> 1422226031Sstas<a class="anchor" name="g49b683aa07c039ad31d7e498c87ad95f"></a><!-- doxytag: member="evp-hcrypto.c::EVP_hcrypto_aes_256_cbc" ref="g49b683aa07c039ad31d7e498c87ad95f" args="(void)" --> 1423226031Sstas<div class="memitem"> 1424226031Sstas<div class="memproto"> 1425226031Sstas <table class="memname"> 1426226031Sstas <tr> 1427226031Sstas <td class="memname">const EVP_CIPHER* EVP_hcrypto_aes_256_cbc </td> 1428226031Sstas <td>(</td> 1429226031Sstas <td class="paramtype">void </td> 1430226031Sstas <td class="paramname"> </td> 1431226031Sstas <td> ) </td> 1432226031Sstas <td></td> 1433226031Sstas </tr> 1434226031Sstas </table> 1435226031Sstas</div> 1436226031Sstas<div class="memdoc"> 1437226031Sstas 1438226031Sstas<p> 1439226031SstasThe AES-256 cipher type (hcrypto)<p> 1440226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the AES-256 EVP_CIPHER pointer. </dd></dl> 1441226031Sstas 1442226031Sstas</div> 1443226031Sstas</div><p> 1444226031Sstas<a class="anchor" name="g4f7c34086cea5e4da92f56d543ec24bf"></a><!-- doxytag: member="evp-hcrypto.c::EVP_hcrypto_aes_256_cfb8" ref="g4f7c34086cea5e4da92f56d543ec24bf" args="(void)" --> 1445226031Sstas<div class="memitem"> 1446226031Sstas<div class="memproto"> 1447226031Sstas <table class="memname"> 1448226031Sstas <tr> 1449226031Sstas <td class="memname">const EVP_CIPHER* EVP_hcrypto_aes_256_cfb8 </td> 1450226031Sstas <td>(</td> 1451226031Sstas <td class="paramtype">void </td> 1452226031Sstas <td class="paramname"> </td> 1453226031Sstas <td> ) </td> 1454226031Sstas <td></td> 1455226031Sstas </tr> 1456226031Sstas </table> 1457226031Sstas</div> 1458226031Sstas<div class="memdoc"> 1459226031Sstas 1460226031Sstas<p> 1461226031SstasThe AES-256 CFB8 cipher type (hcrypto)<p> 1462226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the AES-256 EVP_CIPHER pointer. </dd></dl> 1463226031Sstas 1464226031Sstas</div> 1465226031Sstas</div><p> 1466226031Sstas<a class="anchor" name="g68deec0ffc93c0dcd83db0478e72d5b8"></a><!-- doxytag: member="evp-hcrypto.c::EVP_hcrypto_camellia_128_cbc" ref="g68deec0ffc93c0dcd83db0478e72d5b8" args="(void)" --> 1467226031Sstas<div class="memitem"> 1468226031Sstas<div class="memproto"> 1469226031Sstas <table class="memname"> 1470226031Sstas <tr> 1471226031Sstas <td class="memname">const EVP_CIPHER* EVP_hcrypto_camellia_128_cbc </td> 1472226031Sstas <td>(</td> 1473226031Sstas <td class="paramtype">void </td> 1474226031Sstas <td class="paramname"> </td> 1475226031Sstas <td> ) </td> 1476226031Sstas <td></td> 1477226031Sstas </tr> 1478226031Sstas </table> 1479226031Sstas</div> 1480226031Sstas<div class="memdoc"> 1481226031Sstas 1482226031Sstas<p> 1483226031SstasThe Camellia-128 cipher type - hcrypto<p> 1484226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the Camellia-128 EVP_CIPHER pointer. </dd></dl> 1485226031Sstas 1486226031Sstas</div> 1487226031Sstas</div><p> 1488226031Sstas<a class="anchor" name="gfd6acecc697a1f9516909ca228cb54e5"></a><!-- doxytag: member="evp-hcrypto.c::EVP_hcrypto_camellia_192_cbc" ref="gfd6acecc697a1f9516909ca228cb54e5" args="(void)" --> 1489226031Sstas<div class="memitem"> 1490226031Sstas<div class="memproto"> 1491226031Sstas <table class="memname"> 1492226031Sstas <tr> 1493226031Sstas <td class="memname">const EVP_CIPHER* EVP_hcrypto_camellia_192_cbc </td> 1494226031Sstas <td>(</td> 1495226031Sstas <td class="paramtype">void </td> 1496226031Sstas <td class="paramname"> </td> 1497226031Sstas <td> ) </td> 1498226031Sstas <td></td> 1499226031Sstas </tr> 1500226031Sstas </table> 1501226031Sstas</div> 1502226031Sstas<div class="memdoc"> 1503226031Sstas 1504226031Sstas<p> 1505226031SstasThe Camellia-198 cipher type - hcrypto<p> 1506226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the Camellia-198 EVP_CIPHER pointer. </dd></dl> 1507226031Sstas 1508226031Sstas</div> 1509226031Sstas</div><p> 1510226031Sstas<a class="anchor" name="g211f7122bdeeb3551dcd02c37a7a11e6"></a><!-- doxytag: member="evp-hcrypto.c::EVP_hcrypto_camellia_256_cbc" ref="g211f7122bdeeb3551dcd02c37a7a11e6" args="(void)" --> 1511226031Sstas<div class="memitem"> 1512226031Sstas<div class="memproto"> 1513226031Sstas <table class="memname"> 1514226031Sstas <tr> 1515226031Sstas <td class="memname">const EVP_CIPHER* EVP_hcrypto_camellia_256_cbc </td> 1516226031Sstas <td>(</td> 1517226031Sstas <td class="paramtype">void </td> 1518226031Sstas <td class="paramname"> </td> 1519226031Sstas <td> ) </td> 1520226031Sstas <td></td> 1521226031Sstas </tr> 1522226031Sstas </table> 1523226031Sstas</div> 1524226031Sstas<div class="memdoc"> 1525226031Sstas 1526226031Sstas<p> 1527226031SstasThe Camellia-256 cipher type - hcrypto<p> 1528226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the Camellia-256 EVP_CIPHER pointer. </dd></dl> 1529226031Sstas 1530226031Sstas</div> 1531226031Sstas</div><p> 1532226031Sstas<a class="anchor" name="g0cc4edf9d19ebf7198e33ac0c8138f04"></a><!-- doxytag: member="evp-hcrypto.c::EVP_hcrypto_des_cbc" ref="g0cc4edf9d19ebf7198e33ac0c8138f04" args="(void)" --> 1533226031Sstas<div class="memitem"> 1534226031Sstas<div class="memproto"> 1535226031Sstas <table class="memname"> 1536226031Sstas <tr> 1537226031Sstas <td class="memname">const EVP_CIPHER* EVP_hcrypto_des_cbc </td> 1538226031Sstas <td>(</td> 1539226031Sstas <td class="paramtype">void </td> 1540226031Sstas <td class="paramname"> </td> 1541226031Sstas <td> ) </td> 1542226031Sstas <td></td> 1543226031Sstas </tr> 1544226031Sstas </table> 1545226031Sstas</div> 1546226031Sstas<div class="memdoc"> 1547226031Sstas 1548226031Sstas<p> 1549226031SstasThe DES cipher type<p> 1550226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the DES-CBC EVP_CIPHER pointer. </dd></dl> 1551226031Sstas 1552226031Sstas</div> 1553226031Sstas</div><p> 1554226031Sstas<a class="anchor" name="g1c0e19f28dc594d929f089721e737237"></a><!-- doxytag: member="evp-hcrypto.c::EVP_hcrypto_des_ede3_cbc" ref="g1c0e19f28dc594d929f089721e737237" args="(void)" --> 1555226031Sstas<div class="memitem"> 1556226031Sstas<div class="memproto"> 1557226031Sstas <table class="memname"> 1558226031Sstas <tr> 1559226031Sstas <td class="memname">const EVP_CIPHER* EVP_hcrypto_des_ede3_cbc </td> 1560226031Sstas <td>(</td> 1561226031Sstas <td class="paramtype">void </td> 1562226031Sstas <td class="paramname"> </td> 1563226031Sstas <td> ) </td> 1564226031Sstas <td></td> 1565226031Sstas </tr> 1566226031Sstas </table> 1567226031Sstas</div> 1568226031Sstas<div class="memdoc"> 1569226031Sstas 1570226031Sstas<p> 1571226031SstasThe tripple DES cipher type - hcrypto<p> 1572226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the DES-EDE3-CBC EVP_CIPHER pointer. </dd></dl> 1573226031Sstas 1574226031Sstas</div> 1575226031Sstas</div><p> 1576226031Sstas<a class="anchor" name="g89d756ccb4919c5102481da488b86aaa"></a><!-- doxytag: member="evp-hcrypto.c::EVP_hcrypto_md2" ref="g89d756ccb4919c5102481da488b86aaa" args="(void)" --> 1577226031Sstas<div class="memitem"> 1578226031Sstas<div class="memproto"> 1579226031Sstas <table class="memname"> 1580226031Sstas <tr> 1581226031Sstas <td class="memname">const EVP_MD* EVP_hcrypto_md2 </td> 1582226031Sstas <td>(</td> 1583226031Sstas <td class="paramtype">void </td> 1584226031Sstas <td class="paramname"> </td> 1585226031Sstas <td> ) </td> 1586226031Sstas <td></td> 1587226031Sstas </tr> 1588226031Sstas </table> 1589226031Sstas</div> 1590226031Sstas<div class="memdoc"> 1591226031Sstas 1592226031Sstas<p> 1593226031SstasThe message digest MD2 - hcrypto<p> 1594226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the message digest type. </dd></dl> 1595226031Sstas 1596226031Sstas</div> 1597226031Sstas</div><p> 1598226031Sstas<a class="anchor" name="g4456dfa7c2f23830fa32b99969720719"></a><!-- doxytag: member="evp-hcrypto.c::EVP_hcrypto_md4" ref="g4456dfa7c2f23830fa32b99969720719" args="(void)" --> 1599226031Sstas<div class="memitem"> 1600226031Sstas<div class="memproto"> 1601226031Sstas <table class="memname"> 1602226031Sstas <tr> 1603226031Sstas <td class="memname">const EVP_MD* EVP_hcrypto_md4 </td> 1604226031Sstas <td>(</td> 1605226031Sstas <td class="paramtype">void </td> 1606226031Sstas <td class="paramname"> </td> 1607226031Sstas <td> ) </td> 1608226031Sstas <td></td> 1609226031Sstas </tr> 1610226031Sstas </table> 1611226031Sstas</div> 1612226031Sstas<div class="memdoc"> 1613226031Sstas 1614226031Sstas<p> 1615226031SstasThe message digest MD4 - hcrypto<p> 1616226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the message digest type. </dd></dl> 1617226031Sstas 1618226031Sstas</div> 1619226031Sstas</div><p> 1620226031Sstas<a class="anchor" name="g3c7a8676a690817ec03d71568a7deb1b"></a><!-- doxytag: member="evp-hcrypto.c::EVP_hcrypto_md5" ref="g3c7a8676a690817ec03d71568a7deb1b" args="(void)" --> 1621226031Sstas<div class="memitem"> 1622226031Sstas<div class="memproto"> 1623226031Sstas <table class="memname"> 1624226031Sstas <tr> 1625226031Sstas <td class="memname">const EVP_MD* EVP_hcrypto_md5 </td> 1626226031Sstas <td>(</td> 1627226031Sstas <td class="paramtype">void </td> 1628226031Sstas <td class="paramname"> </td> 1629226031Sstas <td> ) </td> 1630226031Sstas <td></td> 1631226031Sstas </tr> 1632226031Sstas </table> 1633226031Sstas</div> 1634226031Sstas<div class="memdoc"> 1635226031Sstas 1636226031Sstas<p> 1637226031SstasThe message digest MD5 - hcrypto<p> 1638226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the message digest type. </dd></dl> 1639226031Sstas 1640226031Sstas</div> 1641226031Sstas</div><p> 1642226031Sstas<a class="anchor" name="g35d681a86e0ed71b505b53e5fc199ed5"></a><!-- doxytag: member="evp-hcrypto.c::EVP_hcrypto_rc2_40_cbc" ref="g35d681a86e0ed71b505b53e5fc199ed5" args="(void)" --> 1643226031Sstas<div class="memitem"> 1644226031Sstas<div class="memproto"> 1645226031Sstas <table class="memname"> 1646226031Sstas <tr> 1647226031Sstas <td class="memname">const EVP_CIPHER* EVP_hcrypto_rc2_40_cbc </td> 1648226031Sstas <td>(</td> 1649226031Sstas <td class="paramtype">void </td> 1650226031Sstas <td class="paramname"> </td> 1651226031Sstas <td> ) </td> 1652226031Sstas <td></td> 1653226031Sstas </tr> 1654226031Sstas </table> 1655226031Sstas</div> 1656226031Sstas<div class="memdoc"> 1657226031Sstas 1658226031Sstas<p> 1659226031SstasThe RC2-40 cipher type<p> 1660226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the RC2-40 EVP_CIPHER pointer. </dd></dl> 1661226031Sstas 1662226031Sstas</div> 1663226031Sstas</div><p> 1664226031Sstas<a class="anchor" name="gb7534f69db09cd76e4c36703a9340212"></a><!-- doxytag: member="evp-hcrypto.c::EVP_hcrypto_rc2_64_cbc" ref="gb7534f69db09cd76e4c36703a9340212" args="(void)" --> 1665226031Sstas<div class="memitem"> 1666226031Sstas<div class="memproto"> 1667226031Sstas <table class="memname"> 1668226031Sstas <tr> 1669226031Sstas <td class="memname">const EVP_CIPHER* EVP_hcrypto_rc2_64_cbc </td> 1670226031Sstas <td>(</td> 1671226031Sstas <td class="paramtype">void </td> 1672226031Sstas <td class="paramname"> </td> 1673226031Sstas <td> ) </td> 1674226031Sstas <td></td> 1675226031Sstas </tr> 1676226031Sstas </table> 1677226031Sstas</div> 1678226031Sstas<div class="memdoc"> 1679226031Sstas 1680226031Sstas<p> 1681226031SstasThe RC2-64 cipher type<p> 1682226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the RC2-64 EVP_CIPHER pointer. </dd></dl> 1683226031Sstas 1684226031Sstas</div> 1685226031Sstas</div><p> 1686226031Sstas<a class="anchor" name="gc238450b802f4e0c78752ef1ba1198e9"></a><!-- doxytag: member="evp-hcrypto.c::EVP_hcrypto_rc2_cbc" ref="gc238450b802f4e0c78752ef1ba1198e9" args="(void)" --> 1687226031Sstas<div class="memitem"> 1688226031Sstas<div class="memproto"> 1689226031Sstas <table class="memname"> 1690226031Sstas <tr> 1691226031Sstas <td class="memname">const EVP_CIPHER* EVP_hcrypto_rc2_cbc </td> 1692226031Sstas <td>(</td> 1693226031Sstas <td class="paramtype">void </td> 1694226031Sstas <td class="paramname"> </td> 1695226031Sstas <td> ) </td> 1696226031Sstas <td></td> 1697226031Sstas </tr> 1698226031Sstas </table> 1699226031Sstas</div> 1700226031Sstas<div class="memdoc"> 1701226031Sstas 1702226031Sstas<p> 1703226031SstasThe RC2 cipher type - hcrypto<p> 1704226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the RC2 EVP_CIPHER pointer. </dd></dl> 1705226031Sstas 1706226031Sstas</div> 1707226031Sstas</div><p> 1708226031Sstas<a class="anchor" name="g5dc409fc540bad0751b96b3f74185477"></a><!-- doxytag: member="evp-hcrypto.c::EVP_hcrypto_sha1" ref="g5dc409fc540bad0751b96b3f74185477" args="(void)" --> 1709226031Sstas<div class="memitem"> 1710226031Sstas<div class="memproto"> 1711226031Sstas <table class="memname"> 1712226031Sstas <tr> 1713226031Sstas <td class="memname">const EVP_MD* EVP_hcrypto_sha1 </td> 1714226031Sstas <td>(</td> 1715226031Sstas <td class="paramtype">void </td> 1716226031Sstas <td class="paramname"> </td> 1717226031Sstas <td> ) </td> 1718226031Sstas <td></td> 1719226031Sstas </tr> 1720226031Sstas </table> 1721226031Sstas</div> 1722226031Sstas<div class="memdoc"> 1723226031Sstas 1724226031Sstas<p> 1725226031SstasThe message digest SHA1 - hcrypto<p> 1726226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the message digest type. </dd></dl> 1727226031Sstas 1728226031Sstas</div> 1729226031Sstas</div><p> 1730226031Sstas<a class="anchor" name="g12b7608ec40d059f5539fd24277baae0"></a><!-- doxytag: member="evp-hcrypto.c::EVP_hcrypto_sha256" ref="g12b7608ec40d059f5539fd24277baae0" args="(void)" --> 1731226031Sstas<div class="memitem"> 1732226031Sstas<div class="memproto"> 1733226031Sstas <table class="memname"> 1734226031Sstas <tr> 1735226031Sstas <td class="memname">const EVP_MD* EVP_hcrypto_sha256 </td> 1736226031Sstas <td>(</td> 1737226031Sstas <td class="paramtype">void </td> 1738226031Sstas <td class="paramname"> </td> 1739226031Sstas <td> ) </td> 1740226031Sstas <td></td> 1741226031Sstas </tr> 1742226031Sstas </table> 1743226031Sstas</div> 1744226031Sstas<div class="memdoc"> 1745226031Sstas 1746226031Sstas<p> 1747226031SstasThe message digest SHA256 - hcrypto<p> 1748226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the message digest type. </dd></dl> 1749226031Sstas 1750226031Sstas</div> 1751226031Sstas</div><p> 1752226031Sstas<a class="anchor" name="gc002bcb2cc8ee9bb58b5924ab0bc3533"></a><!-- doxytag: member="evp-hcrypto.c::EVP_hcrypto_sha384" ref="gc002bcb2cc8ee9bb58b5924ab0bc3533" args="(void)" --> 1753226031Sstas<div class="memitem"> 1754226031Sstas<div class="memproto"> 1755226031Sstas <table class="memname"> 1756226031Sstas <tr> 1757226031Sstas <td class="memname">const EVP_MD* EVP_hcrypto_sha384 </td> 1758226031Sstas <td>(</td> 1759226031Sstas <td class="paramtype">void </td> 1760226031Sstas <td class="paramname"> </td> 1761226031Sstas <td> ) </td> 1762226031Sstas <td></td> 1763226031Sstas </tr> 1764226031Sstas </table> 1765226031Sstas</div> 1766226031Sstas<div class="memdoc"> 1767226031Sstas 1768226031Sstas<p> 1769226031SstasThe message digest SHA384 - hcrypto<p> 1770226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the message digest type. </dd></dl> 1771226031Sstas 1772226031Sstas</div> 1773226031Sstas</div><p> 1774226031Sstas<a class="anchor" name="gef3c401b9d2e696f89f27335f4b261e2"></a><!-- doxytag: member="evp-hcrypto.c::EVP_hcrypto_sha512" ref="gef3c401b9d2e696f89f27335f4b261e2" args="(void)" --> 1775226031Sstas<div class="memitem"> 1776226031Sstas<div class="memproto"> 1777226031Sstas <table class="memname"> 1778226031Sstas <tr> 1779226031Sstas <td class="memname">const EVP_MD* EVP_hcrypto_sha512 </td> 1780226031Sstas <td>(</td> 1781226031Sstas <td class="paramtype">void </td> 1782226031Sstas <td class="paramname"> </td> 1783226031Sstas <td> ) </td> 1784226031Sstas <td></td> 1785226031Sstas </tr> 1786226031Sstas </table> 1787226031Sstas</div> 1788226031Sstas<div class="memdoc"> 1789226031Sstas 1790226031Sstas<p> 1791226031SstasThe message digest SHA512 - hcrypto<p> 1792226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the message digest type. </dd></dl> 1793226031Sstas 1794226031Sstas</div> 1795226031Sstas</div><p> 1796226031Sstas<a class="anchor" name="g4b583f3de5fc66b04f675428da25efd0"></a><!-- doxytag: member="evp.c::EVP_md2" ref="g4b583f3de5fc66b04f675428da25efd0" args="(void)" --> 1797226031Sstas<div class="memitem"> 1798226031Sstas<div class="memproto"> 1799226031Sstas <table class="memname"> 1800226031Sstas <tr> 1801226031Sstas <td class="memname">const EVP_MD* EVP_md2 </td> 1802226031Sstas <td>(</td> 1803226031Sstas <td class="paramtype">void </td> 1804226031Sstas <td class="paramname"> </td> 1805226031Sstas <td> ) </td> 1806226031Sstas <td></td> 1807226031Sstas </tr> 1808226031Sstas </table> 1809226031Sstas</div> 1810226031Sstas<div class="memdoc"> 1811226031Sstas 1812226031Sstas<p> 1813226031SstasThe message digest MD2<p> 1814226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the message digest type. </dd></dl> 1815226031Sstas 1816226031Sstas</div> 1817226031Sstas</div><p> 1818226031Sstas<a class="anchor" name="gd232ca5dcef4ec58b182cb967f519999"></a><!-- doxytag: member="evp.c::EVP_md4" ref="gd232ca5dcef4ec58b182cb967f519999" args="(void)" --> 1819226031Sstas<div class="memitem"> 1820226031Sstas<div class="memproto"> 1821226031Sstas <table class="memname"> 1822226031Sstas <tr> 1823226031Sstas <td class="memname">const EVP_MD* EVP_md4 </td> 1824226031Sstas <td>(</td> 1825226031Sstas <td class="paramtype">void </td> 1826226031Sstas <td class="paramname"> </td> 1827226031Sstas <td> ) </td> 1828226031Sstas <td></td> 1829226031Sstas </tr> 1830226031Sstas </table> 1831226031Sstas</div> 1832226031Sstas<div class="memdoc"> 1833226031Sstas 1834226031Sstas<p> 1835226031SstasThe message digest MD4<p> 1836226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the message digest type. </dd></dl> 1837226031Sstas 1838226031Sstas</div> 1839226031Sstas</div><p> 1840226031Sstas<a class="anchor" name="g3ccaad2c97f5cf27adb461b1b50aeabb"></a><!-- doxytag: member="evp.c::EVP_md5" ref="g3ccaad2c97f5cf27adb461b1b50aeabb" args="(void)" --> 1841226031Sstas<div class="memitem"> 1842226031Sstas<div class="memproto"> 1843226031Sstas <table class="memname"> 1844226031Sstas <tr> 1845226031Sstas <td class="memname">const EVP_MD* EVP_md5 </td> 1846226031Sstas <td>(</td> 1847226031Sstas <td class="paramtype">void </td> 1848226031Sstas <td class="paramname"> </td> 1849226031Sstas <td> ) </td> 1850226031Sstas <td></td> 1851226031Sstas </tr> 1852226031Sstas </table> 1853226031Sstas</div> 1854226031Sstas<div class="memdoc"> 1855226031Sstas 1856226031Sstas<p> 1857226031SstasThe message digest MD5<p> 1858226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the message digest type. </dd></dl> 1859226031Sstas 1860226031Sstas</div> 1861226031Sstas</div><p> 1862226031Sstas<a class="anchor" name="g48ccb698903828660dc1722d31311420"></a><!-- doxytag: member="evp.c::EVP_MD_block_size" ref="g48ccb698903828660dc1722d31311420" args="(const EVP_MD *md)" --> 1863226031Sstas<div class="memitem"> 1864226031Sstas<div class="memproto"> 1865226031Sstas <table class="memname"> 1866226031Sstas <tr> 1867226031Sstas <td class="memname">size_t EVP_MD_block_size </td> 1868226031Sstas <td>(</td> 1869226031Sstas <td class="paramtype">const EVP_MD * </td> 1870226031Sstas <td class="paramname"> <em>md</em> </td> 1871226031Sstas <td> ) </td> 1872226031Sstas <td></td> 1873226031Sstas </tr> 1874226031Sstas </table> 1875226031Sstas</div> 1876226031Sstas<div class="memdoc"> 1877226031Sstas 1878226031Sstas<p> 1879226031SstasReturn the blocksize of the message digest function.<p> 1880226031Sstas<dl compact><dt><b>Parameters:</b></dt><dd> 1881226031Sstas <table border="0" cellspacing="2" cellpadding="0"> 1882226031Sstas <tr><td valign="top"></td><td valign="top"><em>md</em> </td><td>the evp message</td></tr> 1883226031Sstas </table> 1884226031Sstas</dl> 1885226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>size size of the message digest block size </dd></dl> 1886226031Sstas 1887226031Sstas</div> 1888226031Sstas</div><p> 1889226031Sstas<a class="anchor" name="gb35a28f548e64c74dbfd7198c04dad5d"></a><!-- doxytag: member="evp.c::EVP_MD_CTX_block_size" ref="gb35a28f548e64c74dbfd7198c04dad5d" args="(EVP_MD_CTX *ctx)" --> 1890226031Sstas<div class="memitem"> 1891226031Sstas<div class="memproto"> 1892226031Sstas <table class="memname"> 1893226031Sstas <tr> 1894226031Sstas <td class="memname">size_t EVP_MD_CTX_block_size </td> 1895226031Sstas <td>(</td> 1896226031Sstas <td class="paramtype">EVP_MD_CTX * </td> 1897226031Sstas <td class="paramname"> <em>ctx</em> </td> 1898226031Sstas <td> ) </td> 1899226031Sstas <td></td> 1900226031Sstas </tr> 1901226031Sstas </table> 1902226031Sstas</div> 1903226031Sstas<div class="memdoc"> 1904226031Sstas 1905226031Sstas<p> 1906226031SstasReturn the blocksize of the message digest function.<p> 1907226031Sstas<dl compact><dt><b>Parameters:</b></dt><dd> 1908226031Sstas <table border="0" cellspacing="2" cellpadding="0"> 1909226031Sstas <tr><td valign="top"></td><td valign="top"><em>ctx</em> </td><td>the evp message digest context</td></tr> 1910226031Sstas </table> 1911226031Sstas</dl> 1912226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>size size of the message digest block size </dd></dl> 1913226031Sstas 1914226031Sstas</div> 1915226031Sstas</div><p> 1916226031Sstas<a class="anchor" name="g34dea52c788c741fdb4f8fb051be3308"></a><!-- doxytag: member="evp.c::EVP_MD_CTX_cleanup" ref="g34dea52c788c741fdb4f8fb051be3308" args="(EVP_MD_CTX *ctx) HC_DEPRECATED" --> 1917226031Sstas<div class="memitem"> 1918226031Sstas<div class="memproto"> 1919226031Sstas <table class="memname"> 1920226031Sstas <tr> 1921226031Sstas <td class="memname">int EVP_MD_CTX_cleanup </td> 1922226031Sstas <td>(</td> 1923226031Sstas <td class="paramtype">EVP_MD_CTX * </td> 1924226031Sstas <td class="paramname"> <em>ctx</em> </td> 1925226031Sstas <td> ) </td> 1926226031Sstas <td></td> 1927226031Sstas </tr> 1928226031Sstas </table> 1929226031Sstas</div> 1930226031Sstas<div class="memdoc"> 1931226031Sstas 1932226031Sstas<p> 1933226031SstasFree the resources used by the EVP_MD context.<p> 1934226031Sstas<dl compact><dt><b>Parameters:</b></dt><dd> 1935226031Sstas <table border="0" cellspacing="2" cellpadding="0"> 1936226031Sstas <tr><td valign="top"></td><td valign="top"><em>ctx</em> </td><td>the context to free the resources from.</td></tr> 1937226031Sstas </table> 1938226031Sstas</dl> 1939226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>1 on success. </dd></dl> 1940226031Sstas 1941226031Sstas</div> 1942226031Sstas</div><p> 1943226031Sstas<a class="anchor" name="g54bfa0296db2c131ef69e3a18c445357"></a><!-- doxytag: member="evp.c::EVP_MD_CTX_create" ref="g54bfa0296db2c131ef69e3a18c445357" args="(void)" --> 1944226031Sstas<div class="memitem"> 1945226031Sstas<div class="memproto"> 1946226031Sstas <table class="memname"> 1947226031Sstas <tr> 1948226031Sstas <td class="memname">EVP_MD_CTX* EVP_MD_CTX_create </td> 1949226031Sstas <td>(</td> 1950226031Sstas <td class="paramtype">void </td> 1951226031Sstas <td class="paramname"> </td> 1952226031Sstas <td> ) </td> 1953226031Sstas <td></td> 1954226031Sstas </tr> 1955226031Sstas </table> 1956226031Sstas</div> 1957226031Sstas<div class="memdoc"> 1958226031Sstas 1959226031Sstas<p> 1960226031SstasAllocate a messsage digest context object. Free with <a class="el" href="group__hcrypto__evp.html#ge105ea6e5626f521fbe8cad0a85cbe46">EVP_MD_CTX_destroy()</a>.<p> 1961226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>a newly allocated message digest context object. </dd></dl> 1962226031Sstas 1963226031Sstas</div> 1964226031Sstas</div><p> 1965226031Sstas<a class="anchor" name="ge105ea6e5626f521fbe8cad0a85cbe46"></a><!-- doxytag: member="evp.c::EVP_MD_CTX_destroy" ref="ge105ea6e5626f521fbe8cad0a85cbe46" args="(EVP_MD_CTX *ctx)" --> 1966226031Sstas<div class="memitem"> 1967226031Sstas<div class="memproto"> 1968226031Sstas <table class="memname"> 1969226031Sstas <tr> 1970226031Sstas <td class="memname">void EVP_MD_CTX_destroy </td> 1971226031Sstas <td>(</td> 1972226031Sstas <td class="paramtype">EVP_MD_CTX * </td> 1973226031Sstas <td class="paramname"> <em>ctx</em> </td> 1974226031Sstas <td> ) </td> 1975226031Sstas <td></td> 1976226031Sstas </tr> 1977226031Sstas </table> 1978226031Sstas</div> 1979226031Sstas<div class="memdoc"> 1980226031Sstas 1981226031Sstas<p> 1982226031SstasFree a messsage digest context object.<p> 1983226031Sstas<dl compact><dt><b>Parameters:</b></dt><dd> 1984226031Sstas <table border="0" cellspacing="2" cellpadding="0"> 1985226031Sstas <tr><td valign="top"></td><td valign="top"><em>ctx</em> </td><td>context to free. </td></tr> 1986226031Sstas </table> 1987226031Sstas</dl> 1988226031Sstas 1989226031Sstas</div> 1990226031Sstas</div><p> 1991226031Sstas<a class="anchor" name="g3fd216754cf705b7d4980744b1508410"></a><!-- doxytag: member="evp.c::EVP_MD_CTX_init" ref="g3fd216754cf705b7d4980744b1508410" args="(EVP_MD_CTX *ctx) HC_DEPRECATED" --> 1992226031Sstas<div class="memitem"> 1993226031Sstas<div class="memproto"> 1994226031Sstas <table class="memname"> 1995226031Sstas <tr> 1996226031Sstas <td class="memname">void EVP_MD_CTX_init </td> 1997226031Sstas <td>(</td> 1998226031Sstas <td class="paramtype">EVP_MD_CTX * </td> 1999226031Sstas <td class="paramname"> <em>ctx</em> </td> 2000226031Sstas <td> ) </td> 2001226031Sstas <td></td> 2002226031Sstas </tr> 2003226031Sstas </table> 2004226031Sstas</div> 2005226031Sstas<div class="memdoc"> 2006226031Sstas 2007226031Sstas<p> 2008226031SstasInitiate a messsage digest context object. Deallocate with <a class="el" href="group__hcrypto__evp.html#g34dea52c788c741fdb4f8fb051be3308">EVP_MD_CTX_cleanup()</a>. Please use <a class="el" href="group__hcrypto__evp.html#g54bfa0296db2c131ef69e3a18c445357">EVP_MD_CTX_create()</a> instead.<p> 2009226031Sstas<dl compact><dt><b>Parameters:</b></dt><dd> 2010226031Sstas <table border="0" cellspacing="2" cellpadding="0"> 2011226031Sstas <tr><td valign="top"></td><td valign="top"><em>ctx</em> </td><td>variable to initiate. </td></tr> 2012226031Sstas </table> 2013226031Sstas</dl> 2014226031Sstas 2015226031Sstas</div> 2016226031Sstas</div><p> 2017226031Sstas<a class="anchor" name="ged3480025ecf31d0afcb62174d6acc24"></a><!-- doxytag: member="evp.c::EVP_MD_CTX_md" ref="ged3480025ecf31d0afcb62174d6acc24" args="(EVP_MD_CTX *ctx)" --> 2018226031Sstas<div class="memitem"> 2019226031Sstas<div class="memproto"> 2020226031Sstas <table class="memname"> 2021226031Sstas <tr> 2022226031Sstas <td class="memname">const EVP_MD* EVP_MD_CTX_md </td> 2023226031Sstas <td>(</td> 2024226031Sstas <td class="paramtype">EVP_MD_CTX * </td> 2025226031Sstas <td class="paramname"> <em>ctx</em> </td> 2026226031Sstas <td> ) </td> 2027226031Sstas <td></td> 2028226031Sstas </tr> 2029226031Sstas </table> 2030226031Sstas</div> 2031226031Sstas<div class="memdoc"> 2032226031Sstas 2033226031Sstas<p> 2034226031SstasGet the EVP_MD use for a specified context.<p> 2035226031Sstas<dl compact><dt><b>Parameters:</b></dt><dd> 2036226031Sstas <table border="0" cellspacing="2" cellpadding="0"> 2037226031Sstas <tr><td valign="top"></td><td valign="top"><em>ctx</em> </td><td>the EVP_MD context to get the EVP_MD for.</td></tr> 2038226031Sstas </table> 2039226031Sstas</dl> 2040226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the EVP_MD used for the context. </dd></dl> 2041226031Sstas 2042226031Sstas</div> 2043226031Sstas</div><p> 2044226031Sstas<a class="anchor" name="g25a51444f0586be1494f78e4e17e65f8"></a><!-- doxytag: member="evp.c::EVP_MD_CTX_size" ref="g25a51444f0586be1494f78e4e17e65f8" args="(EVP_MD_CTX *ctx)" --> 2045226031Sstas<div class="memitem"> 2046226031Sstas<div class="memproto"> 2047226031Sstas <table class="memname"> 2048226031Sstas <tr> 2049226031Sstas <td class="memname">size_t EVP_MD_CTX_size </td> 2050226031Sstas <td>(</td> 2051226031Sstas <td class="paramtype">EVP_MD_CTX * </td> 2052226031Sstas <td class="paramname"> <em>ctx</em> </td> 2053226031Sstas <td> ) </td> 2054226031Sstas <td></td> 2055226031Sstas </tr> 2056226031Sstas </table> 2057226031Sstas</div> 2058226031Sstas<div class="memdoc"> 2059226031Sstas 2060226031Sstas<p> 2061226031SstasReturn the output size of the message digest function.<p> 2062226031Sstas<dl compact><dt><b>Parameters:</b></dt><dd> 2063226031Sstas <table border="0" cellspacing="2" cellpadding="0"> 2064226031Sstas <tr><td valign="top"></td><td valign="top"><em>ctx</em> </td><td>the evp message digest context</td></tr> 2065226031Sstas </table> 2066226031Sstas</dl> 2067226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>size output size of the message digest function. </dd></dl> 2068226031Sstas 2069226031Sstas</div> 2070226031Sstas</div><p> 2071226031Sstas<a class="anchor" name="g5183830cf039ea4d9a2c1bd3c539e9af"></a><!-- doxytag: member="evp.c::EVP_md_null" ref="g5183830cf039ea4d9a2c1bd3c539e9af" args="(void)" --> 2072226031Sstas<div class="memitem"> 2073226031Sstas<div class="memproto"> 2074226031Sstas <table class="memname"> 2075226031Sstas <tr> 2076226031Sstas <td class="memname">const EVP_MD* EVP_md_null </td> 2077226031Sstas <td>(</td> 2078226031Sstas <td class="paramtype">void </td> 2079226031Sstas <td class="paramname"> </td> 2080226031Sstas <td> ) </td> 2081226031Sstas <td></td> 2082226031Sstas </tr> 2083226031Sstas </table> 2084226031Sstas</div> 2085226031Sstas<div class="memdoc"> 2086226031Sstas 2087226031Sstas<p> 2088226031SstasThe null message digest<p> 2089226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the message digest type. </dd></dl> 2090226031Sstas 2091226031Sstas</div> 2092226031Sstas</div><p> 2093226031Sstas<a class="anchor" name="gbea28e9ccb98329a7a76c95e8699221c"></a><!-- doxytag: member="evp.c::EVP_MD_size" ref="gbea28e9ccb98329a7a76c95e8699221c" args="(const EVP_MD *md)" --> 2094226031Sstas<div class="memitem"> 2095226031Sstas<div class="memproto"> 2096226031Sstas <table class="memname"> 2097226031Sstas <tr> 2098226031Sstas <td class="memname">size_t EVP_MD_size </td> 2099226031Sstas <td>(</td> 2100226031Sstas <td class="paramtype">const EVP_MD * </td> 2101226031Sstas <td class="paramname"> <em>md</em> </td> 2102226031Sstas <td> ) </td> 2103226031Sstas <td></td> 2104226031Sstas </tr> 2105226031Sstas </table> 2106226031Sstas</div> 2107226031Sstas<div class="memdoc"> 2108226031Sstas 2109226031Sstas<p> 2110226031SstasReturn the output size of the message digest function.<p> 2111226031Sstas<dl compact><dt><b>Parameters:</b></dt><dd> 2112226031Sstas <table border="0" cellspacing="2" cellpadding="0"> 2113226031Sstas <tr><td valign="top"></td><td valign="top"><em>md</em> </td><td>the evp message</td></tr> 2114226031Sstas </table> 2115226031Sstas</dl> 2116226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>size output size of the message digest function. </dd></dl> 2117226031Sstas 2118226031Sstas</div> 2119226031Sstas</div><p> 2120226031Sstas<a class="anchor" name="g104bcd969bcc30dc3e7e77d63a38a87e"></a><!-- doxytag: member="evp.c::EVP_rc2_40_cbc" ref="g104bcd969bcc30dc3e7e77d63a38a87e" args="(void)" --> 2121226031Sstas<div class="memitem"> 2122226031Sstas<div class="memproto"> 2123226031Sstas <table class="memname"> 2124226031Sstas <tr> 2125226031Sstas <td class="memname">const EVP_CIPHER* EVP_rc2_40_cbc </td> 2126226031Sstas <td>(</td> 2127226031Sstas <td class="paramtype">void </td> 2128226031Sstas <td class="paramname"> </td> 2129226031Sstas <td> ) </td> 2130226031Sstas <td></td> 2131226031Sstas </tr> 2132226031Sstas </table> 2133226031Sstas</div> 2134226031Sstas<div class="memdoc"> 2135226031Sstas 2136226031Sstas<p> 2137226031SstasThe RC2 cipher type<p> 2138226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the RC2 EVP_CIPHER pointer. </dd></dl> 2139226031Sstas 2140226031Sstas</div> 2141226031Sstas</div><p> 2142226031Sstas<a class="anchor" name="g09cd194a211931839f1e7bb8e578099e"></a><!-- doxytag: member="evp.c::EVP_rc2_64_cbc" ref="g09cd194a211931839f1e7bb8e578099e" args="(void)" --> 2143226031Sstas<div class="memitem"> 2144226031Sstas<div class="memproto"> 2145226031Sstas <table class="memname"> 2146226031Sstas <tr> 2147226031Sstas <td class="memname">const EVP_CIPHER* EVP_rc2_64_cbc </td> 2148226031Sstas <td>(</td> 2149226031Sstas <td class="paramtype">void </td> 2150226031Sstas <td class="paramname"> </td> 2151226031Sstas <td> ) </td> 2152226031Sstas <td></td> 2153226031Sstas </tr> 2154226031Sstas </table> 2155226031Sstas</div> 2156226031Sstas<div class="memdoc"> 2157226031Sstas 2158226031Sstas<p> 2159226031SstasThe RC2 cipher type<p> 2160226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the RC2 EVP_CIPHER pointer. </dd></dl> 2161226031Sstas 2162226031Sstas</div> 2163226031Sstas</div><p> 2164226031Sstas<a class="anchor" name="gc7d0f7590921dde70bebeebadd2fec36"></a><!-- doxytag: member="evp.c::EVP_rc2_cbc" ref="gc7d0f7590921dde70bebeebadd2fec36" args="(void)" --> 2165226031Sstas<div class="memitem"> 2166226031Sstas<div class="memproto"> 2167226031Sstas <table class="memname"> 2168226031Sstas <tr> 2169226031Sstas <td class="memname">const EVP_CIPHER* EVP_rc2_cbc </td> 2170226031Sstas <td>(</td> 2171226031Sstas <td class="paramtype">void </td> 2172226031Sstas <td class="paramname"> </td> 2173226031Sstas <td> ) </td> 2174226031Sstas <td></td> 2175226031Sstas </tr> 2176226031Sstas </table> 2177226031Sstas</div> 2178226031Sstas<div class="memdoc"> 2179226031Sstas 2180226031Sstas<p> 2181226031SstasThe RC2 cipher type<p> 2182226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the RC2 EVP_CIPHER pointer. </dd></dl> 2183226031Sstas 2184226031Sstas</div> 2185226031Sstas</div><p> 2186226031Sstas<a class="anchor" name="g9cb683240f384ddbd0f3279960af93ba"></a><!-- doxytag: member="evp.c::EVP_rc4" ref="g9cb683240f384ddbd0f3279960af93ba" args="(void)" --> 2187226031Sstas<div class="memitem"> 2188226031Sstas<div class="memproto"> 2189226031Sstas <table class="memname"> 2190226031Sstas <tr> 2191226031Sstas <td class="memname">const EVP_CIPHER* EVP_rc4 </td> 2192226031Sstas <td>(</td> 2193226031Sstas <td class="paramtype">void </td> 2194226031Sstas <td class="paramname"> </td> 2195226031Sstas <td> ) </td> 2196226031Sstas <td></td> 2197226031Sstas </tr> 2198226031Sstas </table> 2199226031Sstas</div> 2200226031Sstas<div class="memdoc"> 2201226031Sstas 2202226031Sstas<p> 2203226031SstasThe RC4 cipher type<p> 2204226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the RC4 EVP_CIPHER pointer. </dd></dl> 2205226031Sstas 2206226031Sstas</div> 2207226031Sstas</div><p> 2208226031Sstas<a class="anchor" name="ge5cbdfcb5012a07fec8df1d6b9c5d772"></a><!-- doxytag: member="evp.c::EVP_rc4_40" ref="ge5cbdfcb5012a07fec8df1d6b9c5d772" args="(void)" --> 2209226031Sstas<div class="memitem"> 2210226031Sstas<div class="memproto"> 2211226031Sstas <table class="memname"> 2212226031Sstas <tr> 2213226031Sstas <td class="memname">const EVP_CIPHER* EVP_rc4_40 </td> 2214226031Sstas <td>(</td> 2215226031Sstas <td class="paramtype">void </td> 2216226031Sstas <td class="paramname"> </td> 2217226031Sstas <td> ) </td> 2218226031Sstas <td></td> 2219226031Sstas </tr> 2220226031Sstas </table> 2221226031Sstas</div> 2222226031Sstas<div class="memdoc"> 2223226031Sstas 2224226031Sstas<p> 2225226031SstasThe RC4-40 cipher type<p> 2226226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the RC4-40 EVP_CIPHER pointer. </dd></dl> 2227226031Sstas 2228226031Sstas</div> 2229226031Sstas</div><p> 2230226031Sstas<a class="anchor" name="gee62cb107a208bd6984dd767f9feb8c0"></a><!-- doxytag: member="evp.c::EVP_sha" ref="gee62cb107a208bd6984dd767f9feb8c0" args="(void)" --> 2231226031Sstas<div class="memitem"> 2232226031Sstas<div class="memproto"> 2233226031Sstas <table class="memname"> 2234226031Sstas <tr> 2235226031Sstas <td class="memname">const EVP_MD* EVP_sha </td> 2236226031Sstas <td>(</td> 2237226031Sstas <td class="paramtype">void </td> 2238226031Sstas <td class="paramname"> </td> 2239226031Sstas <td> ) </td> 2240226031Sstas <td></td> 2241226031Sstas </tr> 2242226031Sstas </table> 2243226031Sstas</div> 2244226031Sstas<div class="memdoc"> 2245226031Sstas 2246226031Sstas<p> 2247226031SstasThe message digest SHA1<p> 2248226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the message digest type. </dd></dl> 2249226031Sstas 2250226031Sstas</div> 2251226031Sstas</div><p> 2252226031Sstas<a class="anchor" name="ga090d659a494a10525e38d272efb01ae"></a><!-- doxytag: member="evp.c::EVP_sha1" ref="ga090d659a494a10525e38d272efb01ae" args="(void)" --> 2253226031Sstas<div class="memitem"> 2254226031Sstas<div class="memproto"> 2255226031Sstas <table class="memname"> 2256226031Sstas <tr> 2257226031Sstas <td class="memname">const EVP_MD* EVP_sha1 </td> 2258226031Sstas <td>(</td> 2259226031Sstas <td class="paramtype">void </td> 2260226031Sstas <td class="paramname"> </td> 2261226031Sstas <td> ) </td> 2262226031Sstas <td></td> 2263226031Sstas </tr> 2264226031Sstas </table> 2265226031Sstas</div> 2266226031Sstas<div class="memdoc"> 2267226031Sstas 2268226031Sstas<p> 2269226031SstasThe message digest SHA1<p> 2270226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the message digest type. </dd></dl> 2271226031Sstas 2272226031Sstas</div> 2273226031Sstas</div><p> 2274226031Sstas<a class="anchor" name="gfe55e56742a9b9ecffdaef7e95a6707a"></a><!-- doxytag: member="evp.c::EVP_sha256" ref="gfe55e56742a9b9ecffdaef7e95a6707a" args="(void)" --> 2275226031Sstas<div class="memitem"> 2276226031Sstas<div class="memproto"> 2277226031Sstas <table class="memname"> 2278226031Sstas <tr> 2279226031Sstas <td class="memname">const EVP_MD* EVP_sha256 </td> 2280226031Sstas <td>(</td> 2281226031Sstas <td class="paramtype">void </td> 2282226031Sstas <td class="paramname"> </td> 2283226031Sstas <td> ) </td> 2284226031Sstas <td></td> 2285226031Sstas </tr> 2286226031Sstas </table> 2287226031Sstas</div> 2288226031Sstas<div class="memdoc"> 2289226031Sstas 2290226031Sstas<p> 2291226031SstasThe message digest SHA256<p> 2292226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the message digest type. </dd></dl> 2293226031Sstas 2294226031Sstas</div> 2295226031Sstas</div><p> 2296226031Sstas<a class="anchor" name="g031405a10c84711b9a9699fadc8dbf2a"></a><!-- doxytag: member="evp.c::EVP_sha384" ref="g031405a10c84711b9a9699fadc8dbf2a" args="(void)" --> 2297226031Sstas<div class="memitem"> 2298226031Sstas<div class="memproto"> 2299226031Sstas <table class="memname"> 2300226031Sstas <tr> 2301226031Sstas <td class="memname">const EVP_MD* EVP_sha384 </td> 2302226031Sstas <td>(</td> 2303226031Sstas <td class="paramtype">void </td> 2304226031Sstas <td class="paramname"> </td> 2305226031Sstas <td> ) </td> 2306226031Sstas <td></td> 2307226031Sstas </tr> 2308226031Sstas </table> 2309226031Sstas</div> 2310226031Sstas<div class="memdoc"> 2311226031Sstas 2312226031Sstas<p> 2313226031SstasThe message digest SHA384<p> 2314226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the message digest type. </dd></dl> 2315226031Sstas 2316226031Sstas</div> 2317226031Sstas</div><p> 2318226031Sstas<a class="anchor" name="gceda0d5da59b56159d2e3515039a46ce"></a><!-- doxytag: member="evp.c::EVP_sha512" ref="gceda0d5da59b56159d2e3515039a46ce" args="(void)" --> 2319226031Sstas<div class="memitem"> 2320226031Sstas<div class="memproto"> 2321226031Sstas <table class="memname"> 2322226031Sstas <tr> 2323226031Sstas <td class="memname">const EVP_MD* EVP_sha512 </td> 2324226031Sstas <td>(</td> 2325226031Sstas <td class="paramtype">void </td> 2326226031Sstas <td class="paramname"> </td> 2327226031Sstas <td> ) </td> 2328226031Sstas <td></td> 2329226031Sstas </tr> 2330226031Sstas </table> 2331226031Sstas</div> 2332226031Sstas<div class="memdoc"> 2333226031Sstas 2334226031Sstas<p> 2335226031SstasThe message digest SHA512<p> 2336226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the message digest type. </dd></dl> 2337226031Sstas 2338226031Sstas</div> 2339226031Sstas</div><p> 2340226031Sstas<a class="anchor" name="g769121c112a501748233bda8345cb47a"></a><!-- doxytag: member="evp-crypt.c::EVP_wincrypt_des_ede3_cbc" ref="g769121c112a501748233bda8345cb47a" args="(void)" --> 2341226031Sstas<div class="memitem"> 2342226031Sstas<div class="memproto"> 2343226031Sstas <table class="memname"> 2344226031Sstas <tr> 2345226031Sstas <td class="memname">const EVP_CIPHER* EVP_wincrypt_des_ede3_cbc </td> 2346226031Sstas <td>(</td> 2347226031Sstas <td class="paramtype">void </td> 2348226031Sstas <td class="paramname"> </td> 2349226031Sstas <td> ) </td> 2350226031Sstas <td></td> 2351226031Sstas </tr> 2352226031Sstas </table> 2353226031Sstas</div> 2354226031Sstas<div class="memdoc"> 2355226031Sstas 2356226031Sstas<p> 2357226031SstasThe tripple DES cipher type (Micrsoft crypt provider)<p> 2358226031Sstas<dl class="return" compact><dt><b>Returns:</b></dt><dd>the DES-EDE3-CBC EVP_CIPHER pointer. </dd></dl> 2359226031Sstas 2360226031Sstas</div> 2361226031Sstas</div><p> 2362226031Sstas</div> 2363226031Sstas<hr size="1"><address style="text-align: right;"><small> 2364234027SstasGenerated on Wed Jan 11 14:07:38 2012 for Heimdal crypto library by <a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6</small></address> 2365226031Sstas</body> 2366226031Sstas</html> 2367