Skip to content
Permalink
85f85e1f33
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
205 lines (197 sloc) 9.51 KB
<!-- HTML header for doxygen 1.8.13-->
<!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.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>PSoC64 Secure Boot Utilities Middleware Library 1.0: Memory operation</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="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</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>
<link href="doxygen_style.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 id="projectlogo"><a href="http://www.cypress.com/"><img alt="Logo" src="IFXCYP_one-line.png"/></a></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">PSoC64 Secure Boot Utilities Middleware Library 1.0</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__mem.html','');});
</script>
<div id="doc-content">
<!-- 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">Memory operation<div class="ingroups"><a class="el" href="group__psacrypto.html">PSA crypto</a></div></div> </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">General Description</h2>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga710ce35bff5fc6c654f76217becc615b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__psacrypto__error.html#gae79cfe5e478f111f9f93e5d7e69d5e2a">cy_p64_psa_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mem.html#ga710ce35bff5fc6c654f76217becc615b">cy_p64_psa_memset</a> (void *dst_addr, uint8_t val, size_t data_size)</td></tr>
<tr class="memdesc:ga710ce35bff5fc6c654f76217becc615b"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function fills the first <code>data_size</code> bytes of the array pointed to by <code>dst_addr</code> to the value <code>val</code>. <a href="#ga710ce35bff5fc6c654f76217becc615b">More...</a><br /></td></tr>
<tr class="separator:ga710ce35bff5fc6c654f76217becc615b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae2e417f66c1cee5141f588c53d755516"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__psacrypto__error.html#gae79cfe5e478f111f9f93e5d7e69d5e2a">cy_p64_psa_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__mem.html#gae2e417f66c1cee5141f588c53d755516">cy_p64_psa_memcpy</a> (void *dst_addr, void const *src_addr, size_t data_size)</td></tr>
<tr class="memdesc:gae2e417f66c1cee5141f588c53d755516"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function copies the <code>data_size</code> bytes from the memory area pointed by <code>src_addr</code> in to the memory area pointed by <code>dst_addr</code>. <a href="#gae2e417f66c1cee5141f588c53d755516">More...</a><br /></td></tr>
<tr class="separator:gae2e417f66c1cee5141f588c53d755516"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga710ce35bff5fc6c654f76217becc615b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga710ce35bff5fc6c654f76217becc615b">&#9670;&nbsp;</a></span>cy_p64_psa_memset()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__psacrypto__error.html#gae79cfe5e478f111f9f93e5d7e69d5e2a">cy_p64_psa_status_t</a> cy_p64_psa_memset </td>
<td>(</td>
<td class="paramtype">void *&#160;</td>
<td class="paramname"><em>dst_addr</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint8_t&#160;</td>
<td class="paramname"><em>val</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t&#160;</td>
<td class="paramname"><em>data_size</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>This function fills the first <code>data_size</code> bytes of the array pointed to by <code>dst_addr</code> to the value <code>val</code>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">dst_addr</td><td>Destination memory area, must be aligned to 4 bytes for CY_DEVICE_PSOC6ABLE2 device </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">val</td><td>The value </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">data_size</td><td>The size of the data buffer in bytes.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Pointer to the destination memory block or NULL on error </dd></dl>
</div>
</div>
<a id="gae2e417f66c1cee5141f588c53d755516"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae2e417f66c1cee5141f588c53d755516">&#9670;&nbsp;</a></span>cy_p64_psa_memcpy()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__psacrypto__error.html#gae79cfe5e478f111f9f93e5d7e69d5e2a">cy_p64_psa_status_t</a> cy_p64_psa_memcpy </td>
<td>(</td>
<td class="paramtype">void *&#160;</td>
<td class="paramname"><em>dst_addr</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void const *&#160;</td>
<td class="paramname"><em>src_addr</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t&#160;</td>
<td class="paramname"><em>data_size</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>This function copies the <code>data_size</code> bytes from the memory area pointed by <code>src_addr</code> in to the memory area pointed by <code>dst_addr</code>. </p>
<p>Returns a pointer to the first byte of the out area.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">dst_addr</td><td>Destination memory area, must be aligned to 4 bytes for CY_DEVICE_PSOC6ABLE2 device </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">src_addr</td><td>Source memory area, must be aligned to 4 bytes for CY_DEVICE_PSOC6ABLE2 device </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">data_size</td><td>The size of the data buffer in bytes.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The pointer to the destination memory block or NULL on error. </dd></dl>
</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part
<div id="nav-path" class="navpath">
<ul>
<li class="footer">
Generated for <b>PSoC64 Secure Boot Utilities Middleware Library 1.0</b> by <b>Cypress Semiconductor Corporation</b>.
All rights reserved.
</li>
</ul>
</div>
-->
</body>
</html>