Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 9e72f3e7ecf68cce016a7c5c59e863d3 > files > 514

lib64polarssl-devel-1.3.8-1.mga4.x86_64.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>PolarSSL v1.3.8: Encryption/decryption module</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">PolarSSL v1.3.8
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">Encryption/decryption module</div>  </div>
</div><!--header-->
<div class="contents">

<p>The Encryption/decryption module provides encryption/decryption functions.  
<a href="#details">More...</a></p>
<p>The Encryption/decryption module provides encryption/decryption functions. </p>
<p>One can differentiate between symmetric and asymmetric algorithms; the symmetric ones are mostly used for message confidentiality and the asymmetric ones for key exchange and message integrity. Some symmetric algorithms provide different block cipher modes, mainly Electronic Code Book (ECB) which is used for short (64-bit) messages and Cipher Block Chaining (CBC) which provides the structure needed for longer messages. In addition the Cipher Feedback Mode (CFB-128) stream cipher mode, Counter mode (CTR) and Galois Counter Mode (GCM) are implemented for specific algorithms.</p>
<p>All symmetric encryption algorithms are accessible via the generic cipher layer (see <code><a class="el" href="cipher_8h.html#adc7c37e925193805884085ca87587f64" title="Initialises and fills the cipher context structure with the appropriate values. ">cipher_init_ctx()</a></code>).</p>
<p>The asymmetric encryptrion algorithms are accessible via the generic public key layer (see <code><a class="el" href="pk_8h.html#af9dc9fb5c88b9192f27b71688ecedb33" title="Initialize a pk_context (as NONE) ">pk_init()</a></code>).</p>
<p>The following algorithms are provided:</p>
<ul>
<li>Symmetric:<ul>
<li>AES (see <code><a class="el" href="aes_8h.html#a0c80313f1e98a573f0876366c35f0445" title="AES-ECB block encryption/decryption. ">aes_crypt_ecb()</a></code>, <code><a class="el" href="aes_8h.html#a2eecec5f7c59c04c29dcbf476d8520a3" title="AES-CBC buffer encryption/decryption Length should be a multiple of the block size (16 bytes) ...">aes_crypt_cbc()</a></code>, <code><a class="el" href="aes_8h.html#a46a76a5b0d2d5597a4144fb5949ddb67" title="AES-CFB128 buffer encryption/decryption. ">aes_crypt_cfb128()</a></code> and <code><a class="el" href="aes_8h.html#a06439f86425ff375c77c7daef4d624f9" title="AES-CTR buffer encryption/decryption. ">aes_crypt_ctr()</a></code>).</li>
<li>ARCFOUR (see <code><a class="el" href="arc4_8h.html#aa67f458b02967bbf09f14592de4edece" title="ARC4 cipher function. ">arc4_crypt()</a></code>).</li>
<li>Blowfish / BF (see <code><a class="el" href="blowfish_8h.html#a5400eb552a86b1235831a131a779b7e3" title="Blowfish-ECB block encryption/decryption. ">blowfish_crypt_ecb()</a></code>, <code><a class="el" href="blowfish_8h.html#a6582d23a9993d784761182c32426ea18" title="Blowfish-CBC buffer encryption/decryption Length should be a multiple of the block size (8 bytes) ...">blowfish_crypt_cbc()</a></code>, <code><a class="el" href="blowfish_8h.html#a63ca1aaffb247a5c5f4a51c39cd78264" title="Blowfish CFB buffer encryption/decryption. ">blowfish_crypt_cfb64()</a></code> and <code><a class="el" href="blowfish_8h.html#abf3faecfe5a6800701f4c6951f930743" title="Blowfish-CTR buffer encryption/decryption. ">blowfish_crypt_ctr()</a></code>)</li>
<li>Camellia (see <code><a class="el" href="camellia_8h.html#a781be26447d028c07f60247532992c3f" title="CAMELLIA-ECB block encryption/decryption. ">camellia_crypt_ecb()</a></code>, <code><a class="el" href="camellia_8h.html#a3f4173fc5d22df0b21d612aa43c95229" title="CAMELLIA-CBC buffer encryption/decryption Length should be a multiple of the block size (16 bytes) ...">camellia_crypt_cbc()</a></code>, <code><a class="el" href="camellia_8h.html#a46841d5b8cbe0cb72ccd83d17cba58f2" title="CAMELLIA-CFB128 buffer encryption/decryption. ">camellia_crypt_cfb128()</a></code> and <code><a class="el" href="camellia_8h.html#afed2c571ae0c2dc8606792188acdab3e" title="CAMELLIA-CTR buffer encryption/decryption. ">camellia_crypt_ctr()</a></code>).</li>
<li>DES/3DES (see <code><a class="el" href="des_8h.html#a92ee6c66c1fd47cd3eba61736d0478b1" title="DES-ECB block encryption/decryption. ">des_crypt_ecb()</a></code>, <code><a class="el" href="des_8h.html#a71a6423b0f22c8f619466c376176cebc" title="DES-CBC buffer encryption/decryption. ">des_crypt_cbc()</a></code>, <code><a class="el" href="des_8h.html#ac404a5ef3c0602cdc31c9e0e74530b0a" title="3DES-ECB block encryption/decryption ">des3_crypt_ecb()</a></code> and <code><a class="el" href="des_8h.html#ab632094bc0183a19d1108bcac3ec2ab2" title="3DES-CBC buffer encryption/decryption ">des3_crypt_cbc()</a></code>).</li>
<li>GCM (AES-GCM and CAMELLIA-GCM) (see <code><a class="el" href="gcm_8h.html#aa51998d315ab0c99cff40bbe7dd7f200" title="GCM initialization (encryption) ">gcm_init()</a></code>)</li>
<li>XTEA (see <code><a class="el" href="xtea_8h.html#a567fc0be7301210fa16f33a9062f71ed" title="XTEA cipher function. ">xtea_crypt_ecb()</a></code>).</li>
</ul>
</li>
<li>Asymmetric:<ul>
<li>Diffie-Hellman-Merkle (see <code><a class="el" href="dhm_8h.html#a04a6ae0b94659777f031820cb2eb1b5d" title="Import the peer&#39;s public value G^Y. ">dhm_read_public()</a></code>, <code><a class="el" href="dhm_8h.html#a1504ee72125df9a4f8ba4f732d231d31" title="Create own private value X and export G^X. ">dhm_make_public()</a></code> and <code><a class="el" href="dhm_8h.html#a4a0a7ae7821c1925baa33c2797052f30" title="Derive and export the shared secret (G^Y)^X mod P. ">dhm_calc_secret()</a></code>).</li>
<li>RSA (see <code><a class="el" href="rsa_8h.html#a29709d2f3d05d833b28081b743f9815f" title="Do an RSA public key operation. ">rsa_public()</a></code> and <code><a class="el" href="rsa_8h.html#a305bf558a7137a1037d3f0c536060f06" title="Do an RSA private key operation. ">rsa_private()</a></code>).</li>
<li>Elliptic Curves over GF(p) (see <code><a class="el" href="ecp_8h.html#a870fd59435f6519b4027050afe24fc7c" title="Initialize a point (as zero) ">ecp_point_init()</a></code>).</li>
<li>Elliptic Curve Digital Signature Algorithm (ECDSA) (see <code><a class="el" href="ecdsa_8h.html#a70bf12fe3c9062d5ee306378d94f8d67" title="Initialize context. ">ecdsa_init()</a></code>).</li>
<li>Elliptic Curve Diffie Hellman (ECDH) (see <code><a class="el" href="ecdh_8h.html#a80d76b7ea7bd03f987045790528fa9fe" title="Initialize context. ">ecdh_init()</a></code>).</li>
</ul>
</li>
</ul>
<p>This module provides encryption/decryption which can be used to provide secrecy.</p>
<p>It also provides asymmetric key functions which can be used for confidentiality, integrity, authentication and non-repudiation. </p>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Thu Jul 31 2014 11:35:56 for PolarSSL v1.3.8 by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.5
</small></address>
</body>
</html>