<html>
<head>
<title>/vobs/ttcn/TCC_Common/Libraries/TCCUsefulFunctions_CNL113472/src/zuc.h - TCCUsefulFunctions</title>
<link rel="stylesheet" type="text/css" href="../styles/main.css">
<script language=JavaScript src="../javascript/main.js"></script></head>
<body class="FramedContentPage" onLoad="NDOnLoad()">
<script language=JavaScript>
<!--
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>

<!--  Generated by Natural Docs, version 1.4 -->
<!--  http://www.naturaldocs.org  -->

<!-- saved from url=(0026)http://www.naturaldocs.org -->




<div id=Content>
<div class="CFile">
<div class=CTopic id=MainTopic>
<h1 class=CTitle>
<a name="zuc.h"></a>zuc.h</h1>
<div class=CBody>
<!--START_ND_SUMMARY-->
<div class=Summary>
<div class=STitle>Summary</div>
<div class=SBorder>
<table border=0 cellspacing=0 cellpadding=0 class=STable>
<tr class="SMain">
<td class=SEntry>
<a href="#zuc.h" >zuc.h</a></td>
<td class=SDescription></td></tr>
<tr class="SGroup">
<td class=SEntry>
<a href="#Functions" >Functions</a></td>
<td class=SDescription></td></tr>
<tr class="SFunction SIndent1 SMarked">
<td class=SEntry>
<a href="#EEA3" >EEA3</a></td>
<td class=SDescription>Purpose: Encrypt message using the confidentiality algorithm 128-EEA3</td></tr>
<tr class="SFunction SIndent1">
<td class=SEntry>
<a href="#EIA3" >EIA3</a></td>
<td class=SDescription>Purpose: Calculate 32 bit message authentication code (MAC) using integrity algorithm 128-EIA3</td></tr></table></div></div>
<!--END_ND_SUMMARY--></div></div></div>

<div class="CGroup">
<div class=CTopic>
<h3 class=CTitle>
<a name="Functions"></a>Functions</h3></div></div>

<div class="CFunction">
<div class=CTopic>
<h3 class=CTitle>
<a name="EEA3"></a>EEA3</h3>
<div class=CBody>
<p>Purpose: Encrypt message using the confidentiality algorithm 128-EEA3</p>
<h4 class=CHeading>Parameters</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>CK</td>
<td class=CDLDescription>
<b>in</b>
<b>u8*</b>    - confidentiality key</td></tr>
<tr>
<td class=CDLEntry>COUNT</td>
<td class=CDLDescription>
<b>in</b>
<b>u32</b>    - counter</td></tr>
<tr>
<td class=CDLEntry>BEARER</td>
<td class=CDLDescription>
<b>in</b>
<b>u32</b>    - bearer identity</td></tr>
<tr>
<td class=CDLEntry>DIRECTION</td>
<td class=CDLDescription>
<b>in</b>
<b>u32</b>    - direction of transmission</td></tr>
<tr>
<td class=CDLEntry>LENGTH</td>
<td class=CDLDescription>
<b>in</b>
<b>u32</b>    - length of input bit stream</td></tr>
<tr>
<td class=CDLEntry>M</td>
<td class=CDLDescription>
<b>in</b>
<b>u32*</b>   - input bit stream (message to be encrypted)</td></tr>
<tr>
<td class=CDLEntry>C</td>
<td class=CDLDescription>
<b>out</b>
<b>u32*</b>  - output bit stream (encrypted message)</td></tr></table>
<h4 class=CHeading>Return Value</h4>
<p>-</p>
<h4 class=CHeading>Errors</h4>
<p>-</p>
<h4 class=CHeading>Detailed description</h4>
<p>-</p></div></div></div>

<div class="CFunction">
<div class=CTopic>
<h3 class=CTitle>
<a name="EIA3"></a>EIA3</h3>
<div class=CBody>
<p>Purpose: Calculate 32 bit message authentication code (MAC) using integrity algorithm 128-EIA3</p>
<h4 class=CHeading>Parameters</h4>
<table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList>
<tr>
<td class=CDLEntry>IK</td>
<td class=CDLDescription>
<b>in</b>
<b>u8*</b>   - integrity key key</td></tr>
<tr>
<td class=CDLEntry>COUNT</td>
<td class=CDLDescription>
<b>in</b>
<b>u32</b>   - counter</td></tr>
<tr>
<td class=CDLEntry>DIRECTION</td>
<td class=CDLDescription>
<b>in</b>
<b>u32</b>   - direction of transmission</td></tr>
<tr>
<td class=CDLEntry>BEARER</td>
<td class=CDLDescription>
<b>in</b>
<b>u32</b>   - bearer identity</td></tr>
<tr>
<td class=CDLEntry>LENGTH</td>
<td class=CDLDescription>
<b>in</b>
<b>u32</b>   - length of input bit stream</td></tr>
<tr>
<td class=CDLEntry>M</td>
<td class=CDLDescription>
<b>in</b>
<b>u32*</b>  - input bit stream (the message)</td></tr>
<tr>
<td class=CDLEntry>MAC</td>
<td class=CDLDescription>
<b>out</b>
<b>u32*</b> - message authentication code (MAC)</td></tr></table>
<h4 class=CHeading>Return Value</h4>
<p>-</p>
<h4 class=CHeading>Errors</h4>
<p>-</p>
<h4 class=CHeading>Detailed description</h4>
<p>-</p></div></div></div>

</div>
<!--Content-->



<!--START_ND_TOOLTIPS-->
<!--END_ND_TOOLTIPS-->

<script language=JavaScript>
<!--
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>