Files
discoverpixy/group___c_r_y_p___group1.html
2015-05-12 11:12:43 +02:00

537 lines
38 KiB
HTML

<!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.9.1"/>
<title>discoverpixy: Initialization and Configuration functions</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="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</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">discoverpixy
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">Initialization and Configuration functions<div class="ingroups"><a class="el" href="group___s_t_m32_f4xx___std_periph___driver.html">STM32F4xx_StdPeriph_Driver</a> &raquo; <a class="el" href="group___c_r_y_p.html">CRYP</a> &raquo; <a class="el" href="group___c_r_y_p___private___functions.html">CRYP_Private_Functions</a></div></div> </div>
</div><!--header-->
<div class="contents">
<p>Initialization and Configuration functions.
<a href="#details">More...</a></p>
<div class="dynheader">
Collaboration diagram for Initialization and Configuration functions:</div>
<div class="dyncontent">
<center><table><tr><td><img src="group___c_r_y_p___group1.png" border="0" alt="" usemap="#group______c__r__y__p______group1"/>
<map name="group______c__r__y__p______group1" id="group______c__r__y__p______group1">
<area shape="rect" id="node2" href="group___c_r_y_p___private___functions.html" title="CRYP_Private_Functions" alt="" coords="5,13,173,39"/></map>
</td></tr></table></center>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gae19e54c9910b697e38f6c7577704ffae"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___c_r_y_p___group1.html#gae19e54c9910b697e38f6c7577704ffae">CRYP_DeInit</a> (void)</td></tr>
<tr class="memdesc:gae19e54c9910b697e38f6c7577704ffae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deinitializes the CRYP peripheral registers to their default reset values. <a href="#gae19e54c9910b697e38f6c7577704ffae">More...</a><br /></td></tr>
<tr class="separator:gae19e54c9910b697e38f6c7577704ffae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7b72c458d95581ab0a36be3e017fcf02"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___c_r_y_p___group1.html#ga7b72c458d95581ab0a36be3e017fcf02">CRYP_Init</a> (<a class="el" href="struct_c_r_y_p___init_type_def.html">CRYP_InitTypeDef</a> *CRYP_InitStruct)</td></tr>
<tr class="memdesc:ga7b72c458d95581ab0a36be3e017fcf02"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes the CRYP peripheral according to the specified parameters in the CRYP_InitStruct. <a href="#ga7b72c458d95581ab0a36be3e017fcf02">More...</a><br /></td></tr>
<tr class="separator:ga7b72c458d95581ab0a36be3e017fcf02"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8fb8ec75fe72d55046c8220825dfe41e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___c_r_y_p___group1.html#ga8fb8ec75fe72d55046c8220825dfe41e">CRYP_StructInit</a> (<a class="el" href="struct_c_r_y_p___init_type_def.html">CRYP_InitTypeDef</a> *CRYP_InitStruct)</td></tr>
<tr class="memdesc:ga8fb8ec75fe72d55046c8220825dfe41e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills each CRYP_InitStruct member with its default value. <a href="#ga8fb8ec75fe72d55046c8220825dfe41e">More...</a><br /></td></tr>
<tr class="separator:ga8fb8ec75fe72d55046c8220825dfe41e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad4baa3865415215cae07c9fbfa131cb9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___c_r_y_p___group1.html#gad4baa3865415215cae07c9fbfa131cb9">CRYP_KeyInit</a> (<a class="el" href="struct_c_r_y_p___key_init_type_def.html">CRYP_KeyInitTypeDef</a> *CRYP_KeyInitStruct)</td></tr>
<tr class="memdesc:gad4baa3865415215cae07c9fbfa131cb9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes the CRYP Keys according to the specified parameters in the CRYP_KeyInitStruct. <a href="#gad4baa3865415215cae07c9fbfa131cb9">More...</a><br /></td></tr>
<tr class="separator:gad4baa3865415215cae07c9fbfa131cb9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaeecd86b00d0d0137d97b06108789bcb2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___c_r_y_p___group1.html#gaeecd86b00d0d0137d97b06108789bcb2">CRYP_KeyStructInit</a> (<a class="el" href="struct_c_r_y_p___key_init_type_def.html">CRYP_KeyInitTypeDef</a> *CRYP_KeyInitStruct)</td></tr>
<tr class="memdesc:gaeecd86b00d0d0137d97b06108789bcb2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills each CRYP_KeyInitStruct member with its default value. <a href="#gaeecd86b00d0d0137d97b06108789bcb2">More...</a><br /></td></tr>
<tr class="separator:gaeecd86b00d0d0137d97b06108789bcb2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga133964b50a07db3a32864308f6355a8b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___c_r_y_p___group1.html#ga133964b50a07db3a32864308f6355a8b">CRYP_IVInit</a> (<a class="el" href="struct_c_r_y_p___i_v_init_type_def.html">CRYP_IVInitTypeDef</a> *CRYP_IVInitStruct)</td></tr>
<tr class="memdesc:ga133964b50a07db3a32864308f6355a8b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes the CRYP Initialization Vectors(IV) according to the specified parameters in the CRYP_IVInitStruct. <a href="#ga133964b50a07db3a32864308f6355a8b">More...</a><br /></td></tr>
<tr class="separator:ga133964b50a07db3a32864308f6355a8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga58899074e08bbd65f2ed304cf0f42987"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___c_r_y_p___group1.html#ga58899074e08bbd65f2ed304cf0f42987">CRYP_IVStructInit</a> (<a class="el" href="struct_c_r_y_p___i_v_init_type_def.html">CRYP_IVInitTypeDef</a> *CRYP_IVInitStruct)</td></tr>
<tr class="memdesc:ga58899074e08bbd65f2ed304cf0f42987"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills each CRYP_IVInitStruct member with its default value. <a href="#ga58899074e08bbd65f2ed304cf0f42987">More...</a><br /></td></tr>
<tr class="separator:ga58899074e08bbd65f2ed304cf0f42987"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4370106a2baf2b8e6cb360865050a027"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___c_r_y_p___group1.html#ga4370106a2baf2b8e6cb360865050a027">CRYP_PhaseConfig</a> (uint32_t CRYP_Phase)</td></tr>
<tr class="memdesc:ga4370106a2baf2b8e6cb360865050a027"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configures the AES-CCM and AES-GCM phases. <a href="#ga4370106a2baf2b8e6cb360865050a027">More...</a><br /></td></tr>
<tr class="separator:ga4370106a2baf2b8e6cb360865050a027"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga23ada9d9464e1362299d7612a1409a57"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___c_r_y_p___group1.html#ga23ada9d9464e1362299d7612a1409a57">CRYP_FIFOFlush</a> (void)</td></tr>
<tr class="memdesc:ga23ada9d9464e1362299d7612a1409a57"><td class="mdescLeft">&#160;</td><td class="mdescRight">Flushes the IN and OUT FIFOs (that is read and write pointers of the FIFOs are reset) <a href="#ga23ada9d9464e1362299d7612a1409a57">More...</a><br /></td></tr>
<tr class="separator:ga23ada9d9464e1362299d7612a1409a57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad39ccd9b1f2e088e3a227d7a1c410d7c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___c_r_y_p___group1.html#gad39ccd9b1f2e088e3a227d7a1c410d7c">CRYP_Cmd</a> (FunctionalState NewState)</td></tr>
<tr class="memdesc:gad39ccd9b1f2e088e3a227d7a1c410d7c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables or disables the CRYP peripheral. <a href="#gad39ccd9b1f2e088e3a227d7a1c410d7c">More...</a><br /></td></tr>
<tr class="separator:gad39ccd9b1f2e088e3a227d7a1c410d7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p>Initialization and Configuration functions. </p>
<pre class="fragment"> ===============================================================================
##### Initialization and Configuration functions #####
===============================================================================
[..] This section provides functions allowing to
(+) Initialize the cryptographic Processor using CRYP_Init() function
(++) Encrypt or Decrypt
(++) mode : TDES-ECB, TDES-CBC,
DES-ECB, DES-CBC,
AES-ECB, AES-CBC, AES-CTR, AES-Key, AES-GCM, AES-CCM
(++) DataType : 32-bit data, 16-bit data, bit data or bit-string
(++) Key Size (only in AES modes)
(+) Configure the Encrypt or Decrypt Key using CRYP_KeyInit() function
(+) Configure the Initialization Vectors(IV) for CBC and CTR modes using
CRYP_IVInit() function.
(+) Flushes the IN and OUT FIFOs : using CRYP_FIFOFlush() function.
(+) Enable or disable the CRYP Processor using CRYP_Cmd() function </pre> <h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="gad39ccd9b1f2e088e3a227d7a1c410d7c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CRYP_Cmd </td>
<td>(</td>
<td class="paramtype">FunctionalState&#160;</td>
<td class="paramname"><em>NewState</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Enables or disables the CRYP peripheral. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">NewState</td><td>new state of the CRYP peripheral. This parameter can be: ENABLE or DISABLE. </td></tr>
</table>
</dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
<table class="retval">
<tr><td class="paramname">None</td><td></td></tr>
</table>
</dd>
</dl>
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group___c_r_y_p___group1_gad39ccd9b1f2e088e3a227d7a1c410d7c_icgraph.png" border="0" usemap="#group___c_r_y_p___group1_gad39ccd9b1f2e088e3a227d7a1c410d7c_icgraph" alt=""/></div>
<map name="group___c_r_y_p___group1_gad39ccd9b1f2e088e3a227d7a1c410d7c_icgraph" id="group___c_r_y_p___group1_gad39ccd9b1f2e088e3a227d7a1c410d7c_icgraph">
<area shape="rect" id="node2" href="group___c_r_y_p___group6.html#ga79ff82ece0e9620dc86d6e57abe639e1" title="Encrypt and decrypt using AES in ECB Mode. " alt="" coords="149,5,275,32"/><area shape="rect" id="node3" href="group___c_r_y_p___group6.html#gaa43eadf707257710f6a53b3295b39d70" title="Encrypt and decrypt using AES in CBC Mode. " alt="" coords="149,56,275,83"/><area shape="rect" id="node4" href="group___c_r_y_p___group6.html#ga2f36aea6e94452e5e5e938547fb89d4c" title="Encrypt and decrypt using AES in CTR Mode. " alt="" coords="150,107,274,133"/><area shape="rect" id="node5" href="group___c_r_y_p___group6.html#ga74b48d820c5c360eb303fc2fb78af055" title="Encrypt and decrypt using AES in GCM Mode. The GCM and CCM modes are available only on STM32F437x Dev..." alt="" coords="147,157,277,184"/><area shape="rect" id="node6" href="group___c_r_y_p___group6.html#ga9d9f5c74b634b85b7aa8c2a2ea0bcd51" title="Encrypt and decrypt using AES in CCM Mode. The GCM and CCM modes are available only on STM32F437x Dev..." alt="" coords="148,208,276,235"/><area shape="rect" id="node7" href="group___c_r_y_p___group8.html#ga3b96b7608b39197209abed5f5845f590" title="Encrypt and decrypt using DES in ECB Mode. " alt="" coords="149,259,275,285"/><area shape="rect" id="node8" href="group___c_r_y_p___group8.html#ga75724391a8560c557e1152b805f5cad1" title="Encrypt and decrypt using DES in CBC Mode. " alt="" coords="149,309,275,336"/><area shape="rect" id="node9" href="group___c_r_y_p___group7.html#ga17c03ab4f0566fcbc3dd8c052e6f9886" title="Encrypt and decrypt using TDES in ECB Mode. " alt="" coords="145,360,279,387"/><area shape="rect" id="node10" href="group___c_r_y_p___group7.html#gabe52a368c4882450c1e82f16bc1eb686" title="Encrypt and decrypt using TDES in CBC Mode. " alt="" coords="145,411,279,437"/></map>
</div>
</p>
</div>
</div>
<a class="anchor" id="gae19e54c9910b697e38f6c7577704ffae"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CRYP_DeInit </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Deinitializes the CRYP peripheral registers to their default reset values. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">None</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
<table class="retval">
<tr><td class="paramname">None</td><td></td></tr>
</table>
</dd>
</dl>
<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group___c_r_y_p___group1_gae19e54c9910b697e38f6c7577704ffae_cgraph.png" border="0" usemap="#group___c_r_y_p___group1_gae19e54c9910b697e38f6c7577704ffae_cgraph" alt=""/></div>
<map name="group___c_r_y_p___group1_gae19e54c9910b697e38f6c7577704ffae_cgraph" id="group___c_r_y_p___group1_gae19e54c9910b697e38f6c7577704ffae_cgraph">
<area shape="rect" id="node2" href="group___r_c_c.html#gafb119d6d1955d1b8c361e8140845ac5a" title="Forces or releases AHB2 peripheral reset. " alt="" coords="152,5,340,32"/></map>
</div>
</p>
</div>
</div>
<a class="anchor" id="ga23ada9d9464e1362299d7612a1409a57"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CRYP_FIFOFlush </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Flushes the IN and OUT FIFOs (that is read and write pointers of the FIFOs are reset) </p>
<dl class="section note"><dt>Note</dt><dd>The FIFOs must be flushed only when BUSY flag is reset. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">None</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
<table class="retval">
<tr><td class="paramname">None</td><td></td></tr>
</table>
</dd>
</dl>
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group___c_r_y_p___group1_ga23ada9d9464e1362299d7612a1409a57_icgraph.png" border="0" usemap="#group___c_r_y_p___group1_ga23ada9d9464e1362299d7612a1409a57_icgraph" alt=""/></div>
<map name="group___c_r_y_p___group1_ga23ada9d9464e1362299d7612a1409a57_icgraph" id="group___c_r_y_p___group1_ga23ada9d9464e1362299d7612a1409a57_icgraph">
<area shape="rect" id="node2" href="group___c_r_y_p___group6.html#ga79ff82ece0e9620dc86d6e57abe639e1" title="Encrypt and decrypt using AES in ECB Mode. " alt="" coords="183,5,310,32"/><area shape="rect" id="node3" href="group___c_r_y_p___group6.html#gaa43eadf707257710f6a53b3295b39d70" title="Encrypt and decrypt using AES in CBC Mode. " alt="" coords="183,56,310,83"/><area shape="rect" id="node4" href="group___c_r_y_p___group6.html#ga2f36aea6e94452e5e5e938547fb89d4c" title="Encrypt and decrypt using AES in CTR Mode. " alt="" coords="185,107,309,133"/><area shape="rect" id="node5" href="group___c_r_y_p___group6.html#ga74b48d820c5c360eb303fc2fb78af055" title="Encrypt and decrypt using AES in GCM Mode. The GCM and CCM modes are available only on STM32F437x Dev..." alt="" coords="182,157,311,184"/><area shape="rect" id="node6" href="group___c_r_y_p___group6.html#ga9d9f5c74b634b85b7aa8c2a2ea0bcd51" title="Encrypt and decrypt using AES in CCM Mode. The GCM and CCM modes are available only on STM32F437x Dev..." alt="" coords="183,208,311,235"/><area shape="rect" id="node7" href="group___c_r_y_p___group8.html#ga3b96b7608b39197209abed5f5845f590" title="Encrypt and decrypt using DES in ECB Mode. " alt="" coords="183,259,310,285"/><area shape="rect" id="node8" href="group___c_r_y_p___group8.html#ga75724391a8560c557e1152b805f5cad1" title="Encrypt and decrypt using DES in CBC Mode. " alt="" coords="183,309,310,336"/><area shape="rect" id="node9" href="group___c_r_y_p___group7.html#ga17c03ab4f0566fcbc3dd8c052e6f9886" title="Encrypt and decrypt using TDES in ECB Mode. " alt="" coords="180,360,313,387"/><area shape="rect" id="node10" href="group___c_r_y_p___group7.html#gabe52a368c4882450c1e82f16bc1eb686" title="Encrypt and decrypt using TDES in CBC Mode. " alt="" coords="180,411,313,437"/></map>
</div>
</p>
</div>
</div>
<a class="anchor" id="ga7b72c458d95581ab0a36be3e017fcf02"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CRYP_Init </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_c_r_y_p___init_type_def.html">CRYP_InitTypeDef</a> *&#160;</td>
<td class="paramname"><em>CRYP_InitStruct</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Initializes the CRYP peripheral according to the specified parameters in the CRYP_InitStruct. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">CRYP_InitStruct</td><td>pointer to a <a class="el" href="struct_c_r_y_p___init_type_def.html" title="CRYP Init structure definition. ">CRYP_InitTypeDef</a> structure that contains the configuration information for the CRYP peripheral. </td></tr>
</table>
</dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
<table class="retval">
<tr><td class="paramname">None</td><td></td></tr>
</table>
</dd>
</dl>
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group___c_r_y_p___group1_ga7b72c458d95581ab0a36be3e017fcf02_icgraph.png" border="0" usemap="#group___c_r_y_p___group1_ga7b72c458d95581ab0a36be3e017fcf02_icgraph" alt=""/></div>
<map name="group___c_r_y_p___group1_ga7b72c458d95581ab0a36be3e017fcf02_icgraph" id="group___c_r_y_p___group1_ga7b72c458d95581ab0a36be3e017fcf02_icgraph">
<area shape="rect" id="node2" href="group___c_r_y_p___group6.html#ga79ff82ece0e9620dc86d6e57abe639e1" title="Encrypt and decrypt using AES in ECB Mode. " alt="" coords="139,5,266,32"/><area shape="rect" id="node3" href="group___c_r_y_p___group6.html#gaa43eadf707257710f6a53b3295b39d70" title="Encrypt and decrypt using AES in CBC Mode. " alt="" coords="139,56,266,83"/><area shape="rect" id="node4" href="group___c_r_y_p___group6.html#ga2f36aea6e94452e5e5e938547fb89d4c" title="Encrypt and decrypt using AES in CTR Mode. " alt="" coords="141,107,265,133"/><area shape="rect" id="node5" href="group___c_r_y_p___group6.html#ga74b48d820c5c360eb303fc2fb78af055" title="Encrypt and decrypt using AES in GCM Mode. The GCM and CCM modes are available only on STM32F437x Dev..." alt="" coords="138,157,267,184"/><area shape="rect" id="node6" href="group___c_r_y_p___group6.html#ga9d9f5c74b634b85b7aa8c2a2ea0bcd51" title="Encrypt and decrypt using AES in CCM Mode. The GCM and CCM modes are available only on STM32F437x Dev..." alt="" coords="139,208,267,235"/><area shape="rect" id="node7" href="group___c_r_y_p___group8.html#ga3b96b7608b39197209abed5f5845f590" title="Encrypt and decrypt using DES in ECB Mode. " alt="" coords="139,259,266,285"/><area shape="rect" id="node8" href="group___c_r_y_p___group8.html#ga75724391a8560c557e1152b805f5cad1" title="Encrypt and decrypt using DES in CBC Mode. " alt="" coords="139,309,266,336"/><area shape="rect" id="node9" href="group___c_r_y_p___group7.html#ga17c03ab4f0566fcbc3dd8c052e6f9886" title="Encrypt and decrypt using TDES in ECB Mode. " alt="" coords="136,360,269,387"/><area shape="rect" id="node10" href="group___c_r_y_p___group7.html#gabe52a368c4882450c1e82f16bc1eb686" title="Encrypt and decrypt using TDES in CBC Mode. " alt="" coords="136,411,269,437"/></map>
</div>
</p>
</div>
</div>
<a class="anchor" id="ga133964b50a07db3a32864308f6355a8b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CRYP_IVInit </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_c_r_y_p___i_v_init_type_def.html">CRYP_IVInitTypeDef</a> *&#160;</td>
<td class="paramname"><em>CRYP_IVInitStruct</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Initializes the CRYP Initialization Vectors(IV) according to the specified parameters in the CRYP_IVInitStruct. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">CRYP_IVInitStruct</td><td>pointer to a <a class="el" href="struct_c_r_y_p___i_v_init_type_def.html" title="CRYP Initialization Vectors (IV) structure definition. ">CRYP_IVInitTypeDef</a> structure that contains the configuration information for the CRYP Initialization Vectors(IV). </td></tr>
</table>
</dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
<table class="retval">
<tr><td class="paramname">None</td><td></td></tr>
</table>
</dd>
</dl>
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group___c_r_y_p___group1_ga133964b50a07db3a32864308f6355a8b_icgraph.png" border="0" usemap="#group___c_r_y_p___group1_ga133964b50a07db3a32864308f6355a8b_icgraph" alt=""/></div>
<map name="group___c_r_y_p___group1_ga133964b50a07db3a32864308f6355a8b_icgraph" id="group___c_r_y_p___group1_ga133964b50a07db3a32864308f6355a8b_icgraph">
<area shape="rect" id="node2" href="group___c_r_y_p___group6.html#gaa43eadf707257710f6a53b3295b39d70" title="Encrypt and decrypt using AES in CBC Mode. " alt="" coords="151,5,278,32"/><area shape="rect" id="node3" href="group___c_r_y_p___group6.html#ga2f36aea6e94452e5e5e938547fb89d4c" title="Encrypt and decrypt using AES in CTR Mode. " alt="" coords="153,56,277,83"/><area shape="rect" id="node4" href="group___c_r_y_p___group6.html#ga74b48d820c5c360eb303fc2fb78af055" title="Encrypt and decrypt using AES in GCM Mode. The GCM and CCM modes are available only on STM32F437x Dev..." alt="" coords="150,107,279,133"/><area shape="rect" id="node5" href="group___c_r_y_p___group6.html#ga9d9f5c74b634b85b7aa8c2a2ea0bcd51" title="Encrypt and decrypt using AES in CCM Mode. The GCM and CCM modes are available only on STM32F437x Dev..." alt="" coords="151,157,279,184"/><area shape="rect" id="node6" href="group___c_r_y_p___group8.html#ga75724391a8560c557e1152b805f5cad1" title="Encrypt and decrypt using DES in CBC Mode. " alt="" coords="151,208,278,235"/><area shape="rect" id="node7" href="group___c_r_y_p___group7.html#gabe52a368c4882450c1e82f16bc1eb686" title="Encrypt and decrypt using TDES in CBC Mode. " alt="" coords="148,259,281,285"/></map>
</div>
</p>
</div>
</div>
<a class="anchor" id="ga58899074e08bbd65f2ed304cf0f42987"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CRYP_IVStructInit </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_c_r_y_p___i_v_init_type_def.html">CRYP_IVInitTypeDef</a> *&#160;</td>
<td class="paramname"><em>CRYP_IVInitStruct</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Fills each CRYP_IVInitStruct member with its default value. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">CRYP_IVInitStruct</td><td>pointer to a <a class="el" href="struct_c_r_y_p___i_v_init_type_def.html" title="CRYP Initialization Vectors (IV) structure definition. ">CRYP_IVInitTypeDef</a> Initialization Vectors(IV) structure which will be initialized. </td></tr>
</table>
</dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
<table class="retval">
<tr><td class="paramname">None</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="gad4baa3865415215cae07c9fbfa131cb9"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CRYP_KeyInit </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_c_r_y_p___key_init_type_def.html">CRYP_KeyInitTypeDef</a> *&#160;</td>
<td class="paramname"><em>CRYP_KeyInitStruct</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Initializes the CRYP Keys according to the specified parameters in the CRYP_KeyInitStruct. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">CRYP_KeyInitStruct</td><td>pointer to a <a class="el" href="struct_c_r_y_p___key_init_type_def.html" title="CRYP Key(s) structure definition. ">CRYP_KeyInitTypeDef</a> structure that contains the configuration information for the CRYP Keys. </td></tr>
</table>
</dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
<table class="retval">
<tr><td class="paramname">None</td><td></td></tr>
</table>
</dd>
</dl>
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group___c_r_y_p___group1_gad4baa3865415215cae07c9fbfa131cb9_icgraph.png" border="0" usemap="#group___c_r_y_p___group1_gad4baa3865415215cae07c9fbfa131cb9_icgraph" alt=""/></div>
<map name="group___c_r_y_p___group1_gad4baa3865415215cae07c9fbfa131cb9_icgraph" id="group___c_r_y_p___group1_gad4baa3865415215cae07c9fbfa131cb9_icgraph">
<area shape="rect" id="node2" href="group___c_r_y_p___group6.html#ga79ff82ece0e9620dc86d6e57abe639e1" title="Encrypt and decrypt using AES in ECB Mode. " alt="" coords="162,5,289,32"/><area shape="rect" id="node3" href="group___c_r_y_p___group6.html#gaa43eadf707257710f6a53b3295b39d70" title="Encrypt and decrypt using AES in CBC Mode. " alt="" coords="162,56,289,83"/><area shape="rect" id="node4" href="group___c_r_y_p___group6.html#ga2f36aea6e94452e5e5e938547fb89d4c" title="Encrypt and decrypt using AES in CTR Mode. " alt="" coords="163,107,287,133"/><area shape="rect" id="node5" href="group___c_r_y_p___group6.html#ga74b48d820c5c360eb303fc2fb78af055" title="Encrypt and decrypt using AES in GCM Mode. The GCM and CCM modes are available only on STM32F437x Dev..." alt="" coords="161,157,290,184"/><area shape="rect" id="node6" href="group___c_r_y_p___group6.html#ga9d9f5c74b634b85b7aa8c2a2ea0bcd51" title="Encrypt and decrypt using AES in CCM Mode. The GCM and CCM modes are available only on STM32F437x Dev..." alt="" coords="161,208,289,235"/><area shape="rect" id="node7" href="group___c_r_y_p___group8.html#ga3b96b7608b39197209abed5f5845f590" title="Encrypt and decrypt using DES in ECB Mode. " alt="" coords="162,259,289,285"/><area shape="rect" id="node8" href="group___c_r_y_p___group8.html#ga75724391a8560c557e1152b805f5cad1" title="Encrypt and decrypt using DES in CBC Mode. " alt="" coords="162,309,289,336"/><area shape="rect" id="node9" href="group___c_r_y_p___group7.html#ga17c03ab4f0566fcbc3dd8c052e6f9886" title="Encrypt and decrypt using TDES in ECB Mode. " alt="" coords="159,360,292,387"/><area shape="rect" id="node10" href="group___c_r_y_p___group7.html#gabe52a368c4882450c1e82f16bc1eb686" title="Encrypt and decrypt using TDES in CBC Mode. " alt="" coords="159,411,292,437"/></map>
</div>
</p>
</div>
</div>
<a class="anchor" id="gaeecd86b00d0d0137d97b06108789bcb2"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CRYP_KeyStructInit </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_c_r_y_p___key_init_type_def.html">CRYP_KeyInitTypeDef</a> *&#160;</td>
<td class="paramname"><em>CRYP_KeyInitStruct</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Fills each CRYP_KeyInitStruct member with its default value. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">CRYP_KeyInitStruct</td><td>pointer to a <a class="el" href="struct_c_r_y_p___key_init_type_def.html" title="CRYP Key(s) structure definition. ">CRYP_KeyInitTypeDef</a> structure which will be initialized. </td></tr>
</table>
</dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
<table class="retval">
<tr><td class="paramname">None</td><td></td></tr>
</table>
</dd>
</dl>
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group___c_r_y_p___group1_gaeecd86b00d0d0137d97b06108789bcb2_icgraph.png" border="0" usemap="#group___c_r_y_p___group1_gaeecd86b00d0d0137d97b06108789bcb2_icgraph" alt=""/></div>
<map name="group___c_r_y_p___group1_gaeecd86b00d0d0137d97b06108789bcb2_icgraph" id="group___c_r_y_p___group1_gaeecd86b00d0d0137d97b06108789bcb2_icgraph">
<area shape="rect" id="node2" href="group___c_r_y_p___group6.html#ga79ff82ece0e9620dc86d6e57abe639e1" title="Encrypt and decrypt using AES in ECB Mode. " alt="" coords="197,5,323,32"/><area shape="rect" id="node3" href="group___c_r_y_p___group6.html#gaa43eadf707257710f6a53b3295b39d70" title="Encrypt and decrypt using AES in CBC Mode. " alt="" coords="197,56,323,83"/><area shape="rect" id="node4" href="group___c_r_y_p___group6.html#ga2f36aea6e94452e5e5e938547fb89d4c" title="Encrypt and decrypt using AES in CTR Mode. " alt="" coords="198,107,322,133"/><area shape="rect" id="node5" href="group___c_r_y_p___group6.html#ga74b48d820c5c360eb303fc2fb78af055" title="Encrypt and decrypt using AES in GCM Mode. The GCM and CCM modes are available only on STM32F437x Dev..." alt="" coords="195,157,325,184"/><area shape="rect" id="node6" href="group___c_r_y_p___group6.html#ga9d9f5c74b634b85b7aa8c2a2ea0bcd51" title="Encrypt and decrypt using AES in CCM Mode. The GCM and CCM modes are available only on STM32F437x Dev..." alt="" coords="196,208,324,235"/><area shape="rect" id="node7" href="group___c_r_y_p___group8.html#ga3b96b7608b39197209abed5f5845f590" title="Encrypt and decrypt using DES in ECB Mode. " alt="" coords="197,259,323,285"/><area shape="rect" id="node8" href="group___c_r_y_p___group8.html#ga75724391a8560c557e1152b805f5cad1" title="Encrypt and decrypt using DES in CBC Mode. " alt="" coords="197,309,323,336"/><area shape="rect" id="node9" href="group___c_r_y_p___group7.html#ga17c03ab4f0566fcbc3dd8c052e6f9886" title="Encrypt and decrypt using TDES in ECB Mode. " alt="" coords="193,360,327,387"/><area shape="rect" id="node10" href="group___c_r_y_p___group7.html#gabe52a368c4882450c1e82f16bc1eb686" title="Encrypt and decrypt using TDES in CBC Mode. " alt="" coords="193,411,327,437"/></map>
</div>
</p>
</div>
</div>
<a class="anchor" id="ga4370106a2baf2b8e6cb360865050a027"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CRYP_PhaseConfig </td>
<td>(</td>
<td class="paramtype">uint32_t&#160;</td>
<td class="paramname"><em>CRYP_Phase</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Configures the AES-CCM and AES-GCM phases. </p>
<dl class="section note"><dt>Note</dt><dd>This function is used only with AES-CCM or AES-GCM Algorithms </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">CRYP_Phase</td><td>specifies the CRYP AES-CCM and AES-GCM phase to be configured. This parameter can be one of the following values: <ul>
<li>CRYP_Phase_Init: Initialization phase </li>
<li>CRYP_Phase_Header: Header phase </li>
<li>CRYP_Phase_Payload: Payload phase </li>
<li>CRYP_Phase_Final: Final phase </li>
</ul>
</td></tr>
</table>
</dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
<table class="retval">
<tr><td class="paramname">None</td><td></td></tr>
</table>
</dd>
</dl>
<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group___c_r_y_p___group1_ga4370106a2baf2b8e6cb360865050a027_icgraph.png" border="0" usemap="#group___c_r_y_p___group1_ga4370106a2baf2b8e6cb360865050a027_icgraph" alt=""/></div>
<map name="group___c_r_y_p___group1_ga4370106a2baf2b8e6cb360865050a027_icgraph" id="group___c_r_y_p___group1_ga4370106a2baf2b8e6cb360865050a027_icgraph">
<area shape="rect" id="node2" href="group___c_r_y_p___group6.html#ga74b48d820c5c360eb303fc2fb78af055" title="Encrypt and decrypt using AES in GCM Mode. The GCM and CCM modes are available only on STM32F437x Dev..." alt="" coords="192,5,321,32"/><area shape="rect" id="node3" href="group___c_r_y_p___group6.html#ga9d9f5c74b634b85b7aa8c2a2ea0bcd51" title="Encrypt and decrypt using AES in CCM Mode. The GCM and CCM modes are available only on STM32F437x Dev..." alt="" coords="193,56,321,83"/></map>
</div>
</p>
</div>
</div>
<a class="anchor" id="ga8fb8ec75fe72d55046c8220825dfe41e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CRYP_StructInit </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_c_r_y_p___init_type_def.html">CRYP_InitTypeDef</a> *&#160;</td>
<td class="paramname"><em>CRYP_InitStruct</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Fills each CRYP_InitStruct member with its default value. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">CRYP_InitStruct</td><td>pointer to a <a class="el" href="struct_c_r_y_p___init_type_def.html" title="CRYP Init structure definition. ">CRYP_InitTypeDef</a> structure which will be initialized. </td></tr>
</table>
</dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
<table class="retval">
<tr><td class="paramname">None</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun May 10 2015 15:15:19 for discoverpixy by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>