| <html> |
| <head> |
| <title>Global Functions in Namespace in Sourcefile cipher.h</title> |
| <style> h1 { font-size:20pt; margin-top:3pt; margin-bottom:7pt; } |
| h2 { font-family:"Arial"; font-size:16pt; margin-top:3pt; margin-bottom:5pt; } |
| h3 { font-size:13pt; margin-top:2pt; margin-bottom:3pt; } |
| h4 { font-size:10pt; font-weight:bold; margin-top:2pt; margin-bottom:1pt; } |
| dl { margin-top:1pt; margin-bottom:1pt; } |
| dl.member { margin-top:1pt; margin-bottom:1pt; background-color:#eeeeff; } |
| dt { font-size:10pt; font-weight:bold; margin-top:2pt; margin-bottom:1pt; } |
| dt.member { font-size:13pt; font-weight:bold; margin-top:2pt; margin-bottom:1pt; } |
| dt.simple { font-size:10pt; font-weight:normal; margin-top:2pt; margin-bottom:1pt; } |
| dd { font-size:10pt; margin-top:1pt; margin-bottom:1pt; } |
| dd.member { font-size:10pt; margin-top:1pt; margin-bottom:1pt; background-color:#ffffff; } |
| p { font-size:10pt; margin-top:3pt; margin-bottom:1pt; } |
| pre { font-family: Times, serif; font-size:10pt; margin-top:1pt; margin-bottom:1pt; } |
| tr { font-size:10pt; } |
| td { font-size:10pt; } |
| </style> |
| |
| <meta HTTP-EQUIV="content-type" CONTENT="text/html; charset=UTF-8"> |
| </head> |
| <body bgcolor="#ffffff"> |
| <a name="_top_"> </a> |
| <table border="0" cellpadding="1" cellspacing="0"> |
| <tr align="center" valign="top"> |
| <td bgcolor="#eeeeff"> <a href="../index.html" alt><font family="Arial" color="#000000" size="+1"><b>Overview</b></font></a> </td> |
| <td bgcolor="#eeeeff"> <a href="index.html" alt><font family="Arial" color="#000000" size="+1"><b>Namespace</b></font></a> </td> |
| <td bgcolor="#eeeeff"> <font family="Arial" color="#000000" size="+1">Class</font> </td> |
| <td bgcolor="#eeeeff"> <a href="../index-files/index-1.html" alt><font family="Arial" color="#000000" size="+1"><b>Index</b></font></a> </td> |
| <td bgcolor="#eeeeff"> <a href="../help.html" alt><font family="Arial" color="#000000" size="+1"><b>Help</b></font></a> </td> |
| </tr> |
| </table> |
| <table cellpadding="0" cellspacing="3"></table> |
| <hr> |
| <div align="center" style="background-color:#ccccff; line-height:26pt;"><h2>Global Functions in Global Namespace C++<br> |
| in Sourcefile cipher.h</h2> |
| </div><hr> |
| <dl class="member"> |
| <dt class="member"><a name="rtl_cipher_create-490"> </a> |
| rtl_cipher_create</dt> |
| <dd class="member"><dl> |
| <dt class="simple">extern "C"<br> |
| <a href="t-rtlCipher.html">rtlCipher</a> <strong>rtl_cipher_create</strong>(</dt> |
| <dd><table> |
| <tr> |
| <td><a href="t-rtlCipherAlgorithm.html">rtlCipherAlgorithm</a> </td> |
| <td> Algorithm,</td> |
| </tr> |
| <tr> |
| <td><a href="t-rtlCipherMode.html">rtlCipherMode</a></td> |
| <td>Mode );</td> |
| </tr> |
| </table> |
| </dd> |
| </dl> |
| <br> |
| </dd> |
| <dd class="member"><table border cellspacing="0"> |
| <tr> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">virtual</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">abstract</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">const</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">volatile</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">template</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">static</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">inline</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">C-linkage</td> |
| </tr> |
| <tr> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt; font-weight:bold;">YES</td> |
| </tr> |
| </table> |
| <br> |
| </dd> |
| <dd class="member"><dl> |
| <dt>Summary</dt> |
| <dd>Create a cipher handle for the given algorithm and mode. |
| </dd> |
| <dt>See Also</dt> |
| <dd><a href="t-rtlCipherAlgorithm.html">rtlCipherAlgorithm</a> <br> |
| <a href="t-rtlCipherMode.html">rtlCipherMode</a> <br> |
| </dd> |
| <dt>Parameters</dt> |
| <dd><table border="0" width="100%" cellpadding="3" cellspacing="0"> |
| <tr> |
| <td width="15%" style="vertical-align:top; font-weight:bold">Algorithm</td> |
| <td><pre>cipher algorithm. |
| </pre></td> |
| </tr> |
| <tr> |
| <td width="15%" style="vertical-align:top; font-weight:bold">Mode</td> |
| <td><pre>cipher mode. |
| </pre></td> |
| </tr> |
| </table> |
| </dd> |
| <dt>Return</dt> |
| <dd>Cipher handle, or 0 upon failure. |
| </dd> |
| </dl> |
| </dd> |
| </dl> |
| <hr> |
| <dl class="member"> |
| <dt class="member"><a name="rtl_cipher_createBF-494"> </a> |
| rtl_cipher_createBF</dt> |
| <dd class="member"><dl> |
| <dt class="simple">extern "C"<br> |
| <a href="t-rtlCipher.html">rtlCipher</a> <strong>rtl_cipher_createBF</strong>(</dt> |
| <dd><table> |
| <tr> |
| <td><a href="t-rtlCipherMode.html">rtlCipherMode</a> </td> |
| <td> Mode );</td> |
| </tr> |
| </table> |
| </dd> |
| </dl> |
| <br> |
| </dd> |
| <dd class="member"><table border cellspacing="0"> |
| <tr> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">virtual</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">abstract</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">const</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">volatile</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">template</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">static</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">inline</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">C-linkage</td> |
| </tr> |
| <tr> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt; font-weight:bold;">YES</td> |
| </tr> |
| </table> |
| <br> |
| </dd> |
| <dd class="member"><dl> |
| <dt>Summary</dt> |
| <dd>Create a Blowfish cipher handle for the given mode. |
| </dd> |
| <dt>Description</dt> |
| <dd>The Blowfish block cipher algorithm is specified in |
| Bruce Schneier: Applied Cryptography, 2nd edition, ch. 14.3 |
| |
| </dd> |
| <dt>See Also</dt> |
| <dd><a href="o-cipher.h.html#rtl_cipher_create-490">rtl_cipher_create()</a> <br> |
| </dd> |
| </dl> |
| </dd> |
| </dl> |
| <hr> |
| <dl class="member"> |
| <dt class="member"><a name="rtl_cipher_decode-492"> </a> |
| rtl_cipher_decode</dt> |
| <dd class="member"><dl> |
| <dt class="simple">extern "C"<br> |
| <a href="t-rtlCipherError.html">rtlCipherError</a> <strong>rtl_cipher_decode</strong>(</dt> |
| <dd><table> |
| <tr> |
| <td><a href="t-rtlCipher.html">rtlCipher</a> </td> |
| <td> Cipher,</td> |
| </tr> |
| <tr> |
| <td>const void *</td> |
| <td>pData,</td> |
| </tr> |
| <tr> |
| <td><a href="t-sal_uInt32.html">sal_uInt32</a></td> |
| <td>nDatLen,</td> |
| </tr> |
| <tr> |
| <td><a href="t-sal_uInt8.html">sal_uInt8</a> *</td> |
| <td>pBuffer,</td> |
| </tr> |
| <tr> |
| <td><a href="t-sal_uInt32.html">sal_uInt32</a></td> |
| <td>nBufLen );</td> |
| </tr> |
| </table> |
| </dd> |
| </dl> |
| <br> |
| </dd> |
| <dd class="member"><table border cellspacing="0"> |
| <tr> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">virtual</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">abstract</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">const</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">volatile</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">template</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">static</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">inline</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">C-linkage</td> |
| </tr> |
| <tr> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt; font-weight:bold;">YES</td> |
| </tr> |
| </table> |
| <br> |
| </dd> |
| <dd class="member"><dl> |
| <dt>Summary</dt> |
| <dd>Decode a buffer under a given cipher algorithm. |
| </dd> |
| <dt>Precondition</dt> |
| <dd>Initialized for a compatible cipher direction. |
| </dd> |
| <dt>See Also</dt> |
| <dd><a href="o-cipher.h.html#rtl_cipher_init-491">rtl_cipher_init()</a> <br> |
| </dd> |
| <dt>Parameters</dt> |
| <dd><table border="0" width="100%" cellpadding="3" cellspacing="0"> |
| <tr> |
| <td width="15%" style="vertical-align:top; font-weight:bold">Cipher</td> |
| <td><pre>cipher handle. |
| </pre></td> |
| </tr> |
| <tr> |
| <td width="15%" style="vertical-align:top; font-weight:bold">pData</td> |
| <td><pre>ciphertext buffer. |
| </pre></td> |
| </tr> |
| <tr> |
| <td width="15%" style="vertical-align:top; font-weight:bold">nDatLen</td> |
| <td><pre>ciphertext length in bytes. |
| </pre></td> |
| </tr> |
| <tr> |
| <td width="15%" style="vertical-align:top; font-weight:bold">pBuffer</td> |
| <td><pre>plaintext buffer. |
| </pre></td> |
| </tr> |
| <tr> |
| <td width="15%" style="vertical-align:top; font-weight:bold">nBufLen</td> |
| <td><pre>plaintext length in bytes. |
| </pre></td> |
| </tr> |
| </table> |
| </dd> |
| <dt>Return</dt> |
| <dd>rtl_Cipher_E_None upon success. |
| </dd> |
| </dl> |
| </dd> |
| </dl> |
| <hr> |
| <dl class="member"> |
| <dt class="member"><a name="rtl_cipher_decodeBF-492"> </a> |
| rtl_cipher_decodeBF</dt> |
| <dd class="member"><dl> |
| <dt class="simple">extern "C"<br> |
| <a href="t-rtlCipherError.html">rtlCipherError</a> <strong>rtl_cipher_decodeBF</strong>(</dt> |
| <dd><table> |
| <tr> |
| <td><a href="t-rtlCipher.html">rtlCipher</a> </td> |
| <td> Cipher,</td> |
| </tr> |
| <tr> |
| <td>const void *</td> |
| <td>pData,</td> |
| </tr> |
| <tr> |
| <td><a href="t-sal_uInt32.html">sal_uInt32</a></td> |
| <td>nDatLen,</td> |
| </tr> |
| <tr> |
| <td><a href="t-sal_uInt8.html">sal_uInt8</a> *</td> |
| <td>pBuffer,</td> |
| </tr> |
| <tr> |
| <td><a href="t-sal_uInt32.html">sal_uInt32</a></td> |
| <td>nBufLen );</td> |
| </tr> |
| </table> |
| </dd> |
| </dl> |
| <br> |
| </dd> |
| <dd class="member"><table border cellspacing="0"> |
| <tr> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">virtual</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">abstract</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">const</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">volatile</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">template</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">static</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">inline</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">C-linkage</td> |
| </tr> |
| <tr> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt; font-weight:bold;">YES</td> |
| </tr> |
| </table> |
| <br> |
| </dd> |
| <dd class="member"><dl> |
| <dt>Summary</dt> |
| <dd>Decode a buffer under the Blowfish cipher algorithm. |
| </dd> |
| <dt>See Also</dt> |
| <dd><a href="o-cipher.h.html#rtl_cipher_decode-492">rtl_cipher_decode()</a> <br> |
| </dd> |
| </dl> |
| </dd> |
| </dl> |
| <hr> |
| <dl class="member"> |
| <dt class="member"><a name="rtl_cipher_destroy-493"> </a> |
| rtl_cipher_destroy</dt> |
| <dd class="member"><dl> |
| <dt class="simple">extern "C"<br> |
| void <strong>rtl_cipher_destroy</strong>(</dt> |
| <dd><table> |
| <tr> |
| <td><a href="t-rtlCipher.html">rtlCipher</a> </td> |
| <td> Cipher );</td> |
| </tr> |
| </table> |
| </dd> |
| </dl> |
| <br> |
| </dd> |
| <dd class="member"><table border cellspacing="0"> |
| <tr> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">virtual</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">abstract</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">const</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">volatile</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">template</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">static</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">inline</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">C-linkage</td> |
| </tr> |
| <tr> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt; font-weight:bold;">YES</td> |
| </tr> |
| </table> |
| <br> |
| </dd> |
| <dd class="member"><dl> |
| <dt>Summary</dt> |
| <dd>Destroy a cipher handle. |
| </dd> |
| <dt>Parameters</dt> |
| <dd><table border="0" width="100%" cellpadding="3" cellspacing="0"> |
| <tr> |
| <td width="15%" style="vertical-align:top; font-weight:bold">Cipher</td> |
| <td><pre>cipher handle to be destroyed. |
| </pre></td> |
| </tr> |
| </table> |
| </dd> |
| <dt>Return</dt> |
| <dd>None. Cipher handle destroyed and invalid. |
| </dd> |
| </dl> |
| </dd> |
| </dl> |
| <hr> |
| <dl class="member"> |
| <dt class="member"><a name="rtl_cipher_destroyBF-493"> </a> |
| rtl_cipher_destroyBF</dt> |
| <dd class="member"><dl> |
| <dt class="simple">extern "C"<br> |
| void <strong>rtl_cipher_destroyBF</strong>(</dt> |
| <dd><table> |
| <tr> |
| <td><a href="t-rtlCipher.html">rtlCipher</a> </td> |
| <td> Cipher );</td> |
| </tr> |
| </table> |
| </dd> |
| </dl> |
| <br> |
| </dd> |
| <dd class="member"><table border cellspacing="0"> |
| <tr> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">virtual</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">abstract</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">const</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">volatile</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">template</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">static</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">inline</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">C-linkage</td> |
| </tr> |
| <tr> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt; font-weight:bold;">YES</td> |
| </tr> |
| </table> |
| <br> |
| </dd> |
| <dd class="member"><dl> |
| <dt>Summary</dt> |
| <dd>Destroy a Blowfish cipher handle. |
| </dd> |
| <dt>See Also</dt> |
| <dd><a href="o-cipher.h.html#rtl_cipher_destroy-493">rtl_cipher_destroy()</a> <br> |
| </dd> |
| </dl> |
| </dd> |
| </dl> |
| <hr> |
| <dl class="member"> |
| <dt class="member"><a name="rtl_cipher_encode-492"> </a> |
| rtl_cipher_encode</dt> |
| <dd class="member"><dl> |
| <dt class="simple">extern "C"<br> |
| <a href="t-rtlCipherError.html">rtlCipherError</a> <strong>rtl_cipher_encode</strong>(</dt> |
| <dd><table> |
| <tr> |
| <td><a href="t-rtlCipher.html">rtlCipher</a> </td> |
| <td> Cipher,</td> |
| </tr> |
| <tr> |
| <td>const void *</td> |
| <td>pData,</td> |
| </tr> |
| <tr> |
| <td><a href="t-sal_uInt32.html">sal_uInt32</a></td> |
| <td>nDatLen,</td> |
| </tr> |
| <tr> |
| <td><a href="t-sal_uInt8.html">sal_uInt8</a> *</td> |
| <td>pBuffer,</td> |
| </tr> |
| <tr> |
| <td><a href="t-sal_uInt32.html">sal_uInt32</a></td> |
| <td>nBufLen );</td> |
| </tr> |
| </table> |
| </dd> |
| </dl> |
| <br> |
| </dd> |
| <dd class="member"><table border cellspacing="0"> |
| <tr> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">virtual</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">abstract</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">const</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">volatile</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">template</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">static</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">inline</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">C-linkage</td> |
| </tr> |
| <tr> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt; font-weight:bold;">YES</td> |
| </tr> |
| </table> |
| <br> |
| </dd> |
| <dd class="member"><dl> |
| <dt>Summary</dt> |
| <dd>Encode a buffer under a given cipher algorithm. |
| </dd> |
| <dt>Precondition</dt> |
| <dd>Initialized for a compatible cipher direction. |
| </dd> |
| <dt>See Also</dt> |
| <dd><a href="o-cipher.h.html#rtl_cipher_init-491">rtl_cipher_init()</a> <br> |
| </dd> |
| <dt>Parameters</dt> |
| <dd><table border="0" width="100%" cellpadding="3" cellspacing="0"> |
| <tr> |
| <td width="15%" style="vertical-align:top; font-weight:bold">Cipher</td> |
| <td><pre>cipher handle. |
| </pre></td> |
| </tr> |
| <tr> |
| <td width="15%" style="vertical-align:top; font-weight:bold">pData</td> |
| <td><pre>plaintext buffer. |
| </pre></td> |
| </tr> |
| <tr> |
| <td width="15%" style="vertical-align:top; font-weight:bold">nDatLen</td> |
| <td><pre>plaintext length in bytes. |
| </pre></td> |
| </tr> |
| <tr> |
| <td width="15%" style="vertical-align:top; font-weight:bold">pBuffer</td> |
| <td><pre>ciphertext buffer. |
| </pre></td> |
| </tr> |
| <tr> |
| <td width="15%" style="vertical-align:top; font-weight:bold">nBufLen</td> |
| <td><pre>ciphertext length in bytes. |
| </pre></td> |
| </tr> |
| </table> |
| </dd> |
| <dt>Return</dt> |
| <dd>rtl_Cipher_E_None upon success. |
| </dd> |
| </dl> |
| </dd> |
| </dl> |
| <hr> |
| <dl class="member"> |
| <dt class="member"><a name="rtl_cipher_encodeBF-492"> </a> |
| rtl_cipher_encodeBF</dt> |
| <dd class="member"><dl> |
| <dt class="simple">extern "C"<br> |
| <a href="t-rtlCipherError.html">rtlCipherError</a> <strong>rtl_cipher_encodeBF</strong>(</dt> |
| <dd><table> |
| <tr> |
| <td><a href="t-rtlCipher.html">rtlCipher</a> </td> |
| <td> Cipher,</td> |
| </tr> |
| <tr> |
| <td>const void *</td> |
| <td>pData,</td> |
| </tr> |
| <tr> |
| <td><a href="t-sal_uInt32.html">sal_uInt32</a></td> |
| <td>nDatLen,</td> |
| </tr> |
| <tr> |
| <td><a href="t-sal_uInt8.html">sal_uInt8</a> *</td> |
| <td>pBuffer,</td> |
| </tr> |
| <tr> |
| <td><a href="t-sal_uInt32.html">sal_uInt32</a></td> |
| <td>nBufLen );</td> |
| </tr> |
| </table> |
| </dd> |
| </dl> |
| <br> |
| </dd> |
| <dd class="member"><table border cellspacing="0"> |
| <tr> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">virtual</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">abstract</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">const</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">volatile</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">template</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">static</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">inline</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">C-linkage</td> |
| </tr> |
| <tr> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt; font-weight:bold;">YES</td> |
| </tr> |
| </table> |
| <br> |
| </dd> |
| <dd class="member"><dl> |
| <dt>Summary</dt> |
| <dd>Encode a buffer under the Blowfish cipher algorithm. |
| </dd> |
| <dt>See Also</dt> |
| <dd><a href="o-cipher.h.html#rtl_cipher_encode-492">rtl_cipher_encode()</a> <br> |
| </dd> |
| </dl> |
| </dd> |
| </dl> |
| <hr> |
| <dl class="member"> |
| <dt class="member"><a name="rtl_cipher_init-491"> </a> |
| rtl_cipher_init</dt> |
| <dd class="member"><dl> |
| <dt class="simple">extern "C"<br> |
| <a href="t-rtlCipherError.html">rtlCipherError</a> <strong>rtl_cipher_init</strong>(</dt> |
| <dd><table> |
| <tr> |
| <td><a href="t-rtlCipher.html">rtlCipher</a> </td> |
| <td> Cipher,</td> |
| </tr> |
| <tr> |
| <td><a href="t-rtlCipherDirection.html">rtlCipherDirection</a></td> |
| <td>Direction,</td> |
| </tr> |
| <tr> |
| <td>const <a href="t-sal_uInt8.html">sal_uInt8</a> *</td> |
| <td>pKeyData,</td> |
| </tr> |
| <tr> |
| <td><a href="t-sal_uInt32.html">sal_uInt32</a></td> |
| <td>nKeyLen,</td> |
| </tr> |
| <tr> |
| <td>const <a href="t-sal_uInt8.html">sal_uInt8</a> *</td> |
| <td>pArgData,</td> |
| </tr> |
| <tr> |
| <td><a href="t-sal_uInt32.html">sal_uInt32</a></td> |
| <td>nArgLen );</td> |
| </tr> |
| </table> |
| </dd> |
| </dl> |
| <br> |
| </dd> |
| <dd class="member"><table border cellspacing="0"> |
| <tr> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">virtual</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">abstract</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">const</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">volatile</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">template</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">static</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">inline</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">C-linkage</td> |
| </tr> |
| <tr> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt; font-weight:bold;">YES</td> |
| </tr> |
| </table> |
| <br> |
| </dd> |
| <dd class="member"><dl> |
| <dt>Summary</dt> |
| <dd>Inititialize a cipher for the given direction. |
| </dd> |
| <dt>See Also</dt> |
| <dd><a href="t-rtlCipherDirection.html">rtlCipherDirection</a> <br> |
| </dd> |
| <dt>Parameters</dt> |
| <dd><table border="0" width="100%" cellpadding="3" cellspacing="0"> |
| <tr> |
| <td width="15%" style="vertical-align:top; font-weight:bold">Cipher</td> |
| <td><pre>cipher handle. |
| </pre></td> |
| </tr> |
| <tr> |
| <td width="15%" style="vertical-align:top; font-weight:bold">Direction</td> |
| <td><pre>cipher direction. |
| </pre></td> |
| </tr> |
| <tr> |
| <td width="15%" style="vertical-align:top; font-weight:bold">pKeyData</td> |
| <td><pre>key material buffer. |
| </pre></td> |
| </tr> |
| <tr> |
| <td width="15%" style="vertical-align:top; font-weight:bold">nKeyLen</td> |
| <td><pre>key material length in bytes. |
| </pre></td> |
| </tr> |
| <tr> |
| <td width="15%" style="vertical-align:top; font-weight:bold">pArgData</td> |
| <td><pre>initialization vector buffer. |
| </pre></td> |
| </tr> |
| <tr> |
| <td width="15%" style="vertical-align:top; font-weight:bold">nArgLen</td> |
| <td><pre>initialization vector length in bytes. |
| </pre></td> |
| </tr> |
| </table> |
| </dd> |
| <dt>Return</dt> |
| <dd>rtl_Cipher_E_None upon success. |
| </dd> |
| </dl> |
| </dd> |
| </dl> |
| <hr> |
| <dl class="member"> |
| <dt class="member"><a name="rtl_cipher_initBF-491"> </a> |
| rtl_cipher_initBF</dt> |
| <dd class="member"><dl> |
| <dt class="simple">extern "C"<br> |
| <a href="t-rtlCipherError.html">rtlCipherError</a> <strong>rtl_cipher_initBF</strong>(</dt> |
| <dd><table> |
| <tr> |
| <td><a href="t-rtlCipher.html">rtlCipher</a> </td> |
| <td> Cipher,</td> |
| </tr> |
| <tr> |
| <td><a href="t-rtlCipherDirection.html">rtlCipherDirection</a></td> |
| <td>Direction,</td> |
| </tr> |
| <tr> |
| <td>const <a href="t-sal_uInt8.html">sal_uInt8</a> *</td> |
| <td>pKeyData,</td> |
| </tr> |
| <tr> |
| <td><a href="t-sal_uInt32.html">sal_uInt32</a></td> |
| <td>nKeyLen,</td> |
| </tr> |
| <tr> |
| <td>const <a href="t-sal_uInt8.html">sal_uInt8</a> *</td> |
| <td>pArgData,</td> |
| </tr> |
| <tr> |
| <td><a href="t-sal_uInt32.html">sal_uInt32</a></td> |
| <td>nArgLen );</td> |
| </tr> |
| </table> |
| </dd> |
| </dl> |
| <br> |
| </dd> |
| <dd class="member"><table border cellspacing="0"> |
| <tr> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">virtual</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">abstract</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">const</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">volatile</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">template</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">static</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">inline</td> |
| <td bgcolor="#eeeeff" width="12%" style="font-family:Arial; font-size:8pt; font-weight:bold;">C-linkage</td> |
| </tr> |
| <tr> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt;">NO</td> |
| <td style="font-family:Arial; font-size:8pt; font-weight:bold;">YES</td> |
| </tr> |
| </table> |
| <br> |
| </dd> |
| <dd class="member"><dl> |
| <dt>Summary</dt> |
| <dd>Inititialize a Blowfish cipher for the given direction. |
| </dd> |
| <dt>See Also</dt> |
| <dd><a href="o-cipher.h.html#rtl_cipher_init-491">rtl_cipher_init()</a> <br> |
| </dd> |
| </dl> |
| </dd> |
| </dl> |
| <hr> |
| <a href="#_top_" class="objchapter">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.</p> |
| </body> |