2014-06-08 21:44:14 +00:00
<!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" / >
2014-06-08 23:33:25 +00:00
< meta name = "generator" content = "Doxygen 1.8.7" / >
2014-06-08 21:44:14 +00:00
< title > post quantum cryptography: /home/travis/build/hasufell/pqc/src/ntru_poly.h Source File< / title >
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "jquery.js" > < / script >
2014-06-08 23:33:25 +00:00
< script type = "text/javascript" src = "dynsections.js" > < / script >
< link href = "search/search.css" rel = "stylesheet" type = "text/css" / >
2014-06-08 21:44:14 +00:00
< script type = "text/javascript" src = "search/search.js" > < / script >
< script type = "text/javascript" >
$(document).ready(function() { searchBox.OnSelectItem(0); });
< / script >
2014-06-08 23:33:25 +00:00
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
2014-06-08 21:44:14 +00:00
< / head >
< body >
2014-06-08 23:33:25 +00:00
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
2014-06-08 21:44:14 +00:00
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr style = "height: 56px;" >
< td style = "padding-left: 0.5em;" >
< div id = "projectname" > post quantum cryptography
< / div >
< div id = "projectbrief" > Highly optimized implementation of the NTRUEncrypt algorithm< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
2014-06-08 23:33:25 +00:00
<!-- end header part -->
<!-- Generated by Doxygen 1.8.7 -->
2014-06-08 21:44:14 +00:00
< 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  Page< / span > < / a > < / li >
< li > < a href = "annotated.html" > < span > Data  Structures< / span > < / a > < / li >
< li class = "current" > < 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 id = "navrow2" class = "tabs2" >
< ul class = "tablist" >
< li > < a href = "files.html" > < span > File  List< / span > < / a > < / li >
< li > < a href = "globals.html" > < span > Globals< / span > < / a > < / li >
< / ul >
< / div >
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
2014-06-08 23:33:25 +00:00
< a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(0)" > < span class = "SelectionMark" >   < / span > All< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(1)" > < span class = "SelectionMark" >   < / span > Data Structures< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(2)" > < span class = "SelectionMark" >   < / span > Files< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(3)" > < span class = "SelectionMark" >   < / span > Functions< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(4)" > < span class = "SelectionMark" >   < / span > Variables< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(5)" > < span class = "SelectionMark" >   < / span > Typedefs< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(6)" > < span class = "SelectionMark" >   < / span > Macros< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(7)" > < span class = "SelectionMark" >   < / span > Pages< / a > < / div >
2014-06-08 21:44:14 +00:00
<!-- iframe showing the search results (closed by default) -->
< div id = "MSearchResultsWindow" >
< iframe src = "javascript:void(0)" frameborder = "0"
name="MSearchResults" id="MSearchResults">
< / iframe >
< / div >
2014-06-08 23:33:25 +00:00
< div id = "nav-path" class = "navpath" >
< ul >
< li class = "navelem" > < a class = "el" href = "dir_68267d1309a1af8e8297ef4c3efbcdba.html" > src< / a > < / li > < / ul >
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "headertitle" >
< div class = "title" > ntru_poly.h< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< a href = "ntru__poly_8h.html" > Go to the documentation of this file.< / a > < div class = "fragment" > < div class = "line" > < a name = "l00001" > < / a > < span class = "lineno" > 1< / span >   < span class = "comment" > /*< / span > < / div >
< div class = "line" > < a name = "l00002" > < / a > < span class = "lineno" > 2< / span >   < span class = "comment" > * Copyright (C) 2014 FH Bielefeld< / span > < / div >
< div class = "line" > < a name = "l00003" > < / a > < span class = "lineno" > 3< / span >   < span class = "comment" > *< / span > < / div >
< div class = "line" > < a name = "l00004" > < / a > < span class = "lineno" > 4< / span >   < span class = "comment" > * This file is part of a FH Bielefeld project.< / span > < / div >
< div class = "line" > < a name = "l00005" > < / a > < span class = "lineno" > 5< / span >   < span class = "comment" > *< / span > < / div >
< div class = "line" > < a name = "l00006" > < / a > < span class = "lineno" > 6< / span >   < span class = "comment" > * This library is free software; you can redistribute it and/or< / span > < / div >
< div class = "line" > < a name = "l00007" > < / a > < span class = "lineno" > 7< / span >   < span class = "comment" > * modify it under the terms of the GNU Lesser General Public< / span > < / div >
< div class = "line" > < a name = "l00008" > < / a > < span class = "lineno" > 8< / span >   < span class = "comment" > * License as published by the Free Software Foundation; either< / span > < / div >
< div class = "line" > < a name = "l00009" > < / a > < span class = "lineno" > 9< / span >   < span class = "comment" > * version 2.1 of the License, or (at your option) any later version.< / span > < / div >
< div class = "line" > < a name = "l00010" > < / a > < span class = "lineno" > 10< / span >   < span class = "comment" > *< / span > < / div >
< div class = "line" > < a name = "l00011" > < / a > < span class = "lineno" > 11< / span >   < span class = "comment" > * This library is distributed in the hope that it will be useful,< / span > < / div >
< div class = "line" > < a name = "l00012" > < / a > < span class = "lineno" > 12< / span >   < span class = "comment" > * but WITHOUT ANY WARRANTY; without even the implied warranty of< / span > < / div >
< div class = "line" > < a name = "l00013" > < / a > < span class = "lineno" > 13< / span >   < span class = "comment" > * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU< / span > < / div >
< div class = "line" > < a name = "l00014" > < / a > < span class = "lineno" > 14< / span >   < span class = "comment" > * Lesser General Public License for more details.< / span > < / div >
< div class = "line" > < a name = "l00015" > < / a > < span class = "lineno" > 15< / span >   < span class = "comment" > *< / span > < / div >
< div class = "line" > < a name = "l00016" > < / a > < span class = "lineno" > 16< / span >   < span class = "comment" > * You should have received a copy of the GNU Lesser General Public< / span > < / div >
< div class = "line" > < a name = "l00017" > < / a > < span class = "lineno" > 17< / span >   < span class = "comment" > * License along with this library; if not, write to the Free Software< / span > < / div >
< div class = "line" > < a name = "l00018" > < / a > < span class = "lineno" > 18< / span >   < span class = "comment" > * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,< / span > < / div >
< div class = "line" > < a name = "l00019" > < / a > < span class = "lineno" > 19< / span >   < span class = "comment" > * MA 02110-1301 USA< / span > < / div >
< div class = "line" > < a name = "l00020" > < / a > < span class = "lineno" > 20< / span >   < span class = "comment" > */< / span > < / div >
< div class = "line" > < a name = "l00021" > < / a > < span class = "lineno" > 21< / span >   < / div >
< div class = "line" > < a name = "l00028" > < / a > < span class = "lineno" > 28< / span >   < span class = "preprocessor" > #ifndef NTRU_POLY_H< / span > < / div >
< div class = "line" > < a name = "l00029" > < / a > < span class = "lineno" > 29< / span >   < span class = "preprocessor" > #define NTRU_POLY_H< / span > < / div >
< div class = "line" > < a name = "l00030" > < / a > < span class = "lineno" > 30< / span >   < / div >
< div class = "line" > < a name = "l00031" > < / a > < span class = "lineno" > 31< / span >   < span class = "preprocessor" > #include " < a class = "code" href = "ntru__err_8h.html" > ntru_err.h< / a > " < / span > < / div >
< div class = "line" > < a name = "l00032" > < / a > < span class = "lineno" > 32< / span >   < span class = "preprocessor" > #include " < a class = "code" href = "ntru__params_8h.html" > ntru_params.h< / a > " < / span > < / div >
< div class = "line" > < a name = "l00033" > < / a > < span class = "lineno" > 33< / span >   < / div >
< div class = "line" > < a name = "l00034" > < / a > < span class = "lineno" > 34< / span >   < span class = "preprocessor" > #include < stdarg.h> < / span > < / div >
< div class = "line" > < a name = "l00035" > < / a > < span class = "lineno" > 35< / span >   < span class = "preprocessor" > #include < stdbool.h> < / span > < / div >
< div class = "line" > < a name = "l00036" > < / a > < span class = "lineno" > 36< / span >   < span class = "preprocessor" > #include < stdint.h> < / span > < / div >
< div class = "line" > < a name = "l00037" > < / a > < span class = "lineno" > 37< / span >   < span class = "preprocessor" > #include < stdlib.h> < / span > < / div >
< div class = "line" > < a name = "l00038" > < / a > < span class = "lineno" > 38< / span >   < / div >
< div class = "line" > < a name = "l00039" > < / a > < span class = "lineno" > 39< / span >   < span class = "preprocessor" > #include < fmpz_poly.h> < / span > < / div >
< div class = "line" > < a name = "l00040" > < / a > < span class = "lineno" > 40< / span >   < / div >
< div class = "line" > < a name = "l00041" > < / a > < span class = "lineno" > 41< / span >   < / div >
< div class = "line" > < a name = "l00050" > < / a > < span class = "lineno" > 50< / span >   < span class = "keywordtype" > int< / span > < / div >
< div class = "line" > < a name = "l00051" > < / a > < span class = "lineno" > 51< / span >   < a class = "code" href = "ntru__poly_8h.html#aaaac83ec72414aa208832442657c3520" > fmpz_cmp_si_n< / a > (< span class = "keyword" > const< / span > fmpz_t f, slong g);< / div >
< div class = "line" > < a name = "l00052" > < / a > < span class = "lineno" > 52< / span >   < / div >
< div class = "line" > < a name = "l00066" > < / a > < span class = "lineno" > 66< / span >   < span class = "keywordtype" > void< / span > < / div >
< div class = "line" > < a name = "l00067" > < / a > < span class = "lineno" > 67< / span >   < a class = "code" href = "ntru__poly_8h.html#a20f86085d5eb5372fd25dc270069d38c" > poly_new< / a > (fmpz_poly_t new_poly,< / div >
< div class = "line" > < a name = "l00068" > < / a > < span class = "lineno" > 68< / span >   < span class = "keywordtype" > int< / span > < span class = "keyword" > const< / span > * < span class = "keyword" > const< / span > c,< / div >
< div class = "line" > < a name = "l00069" > < / a > < span class = "lineno" > 69< / span >   < span class = "keyword" > const< / span > < span class = "keywordtype" > size_t< / span > len);< / div >
< div class = "line" > < a name = "l00070" > < / a > < span class = "lineno" > 70< / span >   < / div >
< div class = "line" > < a name = "l00077" > < / a > < span class = "lineno" > 77< / span >   < span class = "keywordtype" > void< / span > < / div >
< div class = "line" > < a name = "l00078" > < / a > < span class = "lineno" > 78< / span >   < a class = "code" href = "ntru__poly_8h.html#a27ff2116f70bcbf5028219adcae4c5f0" > poly_delete< / a > (fmpz_poly_t poly);< / div >
< div class = "line" > < a name = "l00079" > < / a > < span class = "lineno" > 79< / span >   < / div >
< div class = "line" > < a name = "l00088" > < / a > < span class = "lineno" > 88< / span >   < span class = "keywordtype" > void< / span > < / div >
< div class = "line" > < a name = "l00089" > < / a > < span class = "lineno" > 89< / span >   < a class = "code" href = "ntru__poly_8h.html#a3f53c63383ff301b20dcede0783869a7" > poly_delete_array< / a > (fmpz_poly_t **poly_array);< / div >
< div class = "line" > < a name = "l00090" > < / a > < span class = "lineno" > 90< / span >   < / div >
< div class = "line" > < a name = "l00099" > < / a > < span class = "lineno" > 99< / span >   < span class = "keywordtype" > void< / span > < / div >
< div class = "line" > < a name = "l00100" > < / a > < span class = "lineno" > 100< / span >   < a class = "code" href = "ntru__poly_8h.html#a83297bc2ab5b6e7ce42553570dd8268f" > poly_delete_all< / a > (fmpz_poly_t poly, ...);< / div >
< div class = "line" > < a name = "l00101" > < / a > < span class = "lineno" > 101< / span >   < / div >
< div class = "line" > < a name = "l00114" > < / a > < span class = "lineno" > 114< / span >   < span class = "keywordtype" > void< / span > < / div >
< div class = "line" > < a name = "l00115" > < / a > < span class = "lineno" > 115< / span >   < a class = "code" href = "ntru__poly_8h.html#ae7d0d8364dba689df3fb4904610634cc" > fmpz_poly_mod_unsigned< / a > (fmpz_poly_t a,< / div >
< div class = "line" > < a name = "l00116" > < / a > < span class = "lineno" > 116< / span >   < span class = "keyword" > const< / span > uint32_t mod);< / div >
< div class = "line" > < a name = "l00117" > < / a > < span class = "lineno" > 117< / span >   < / div >
< div class = "line" > < a name = "l00130" > < / a > < span class = "lineno" > 130< / span >   < span class = "keywordtype" > void< / span > < / div >
< div class = "line" > < a name = "l00131" > < / a > < span class = "lineno" > 131< / span >   < a class = "code" href = "ntru__poly_8h.html#a7c4f5e96355518dc97a23da8f34b661a" > fmpz_poly_mod< / a > (fmpz_poly_t a,< / div >
< div class = "line" > < a name = "l00132" > < / a > < span class = "lineno" > 132< / span >   < span class = "keyword" > const< / span > uint32_t mod);< / div >
< div class = "line" > < a name = "l00133" > < / a > < span class = "lineno" > 133< / span >   < / div >
< div class = "line" > < a name = "l00143" > < / a > < span class = "lineno" > 143< / span >   < span class = "keywordtype" > void< / span > < / div >
< div class = "line" > < a name = "l00144" > < / a > < span class = "lineno" > 144< / span >   < a class = "code" href = "ntru__poly_8h.html#ab1f966fe680d1ce7c19c8c812d1932a7" > fmpz_poly_set_coeff_fmpz_n< / a > (fmpz_poly_t poly,< / div >
< div class = "line" > < a name = "l00145" > < / a > < span class = "lineno" > 145< / span >   slong n,< / div >
< div class = "line" > < a name = "l00146" > < / a > < span class = "lineno" > 146< / span >   < span class = "keyword" > const< / span > fmpz_t x);< / div >
< div class = "line" > < a name = "l00147" > < / a > < span class = "lineno" > 147< / span >   < / div >
< div class = "line" > < a name = "l00156" > < / a > < span class = "lineno" > 156< / span >   < span class = "keywordtype" > int< / span > < / div >
< div class = "line" > < a name = "l00157" > < / a > < span class = "lineno" > 157< / span >   < a class = "code" href = "ntru__poly_8h.html#a59da1b7962829af8f18d58c05f588606" > fmpz_invmod_ui< / a > (fmpz_t f,< / div >
< div class = "line" > < a name = "l00158" > < / a > < span class = "lineno" > 158< / span >   < span class = "keyword" > const< / span > fmpz_t g,< / div >
< div class = "line" > < a name = "l00159" > < / a > < span class = "lineno" > 159< / span >   < span class = "keyword" > const< / span > uint32_t mod);< / div >
< div class = "line" > < a name = "l00160" > < / a > < span class = "lineno" > 160< / span >   < / div >
< div class = "line" > < a name = "l00165" > < / a > < span class = "lineno" > 165< / span >   < span class = "keywordtype" > void< / span > < / div >
< div class = "line" > < a name = "l00166" > < / a > < span class = "lineno" > 166< / span >   < a class = "code" href = "ntru__poly_8h.html#ad2a11e832808ef1cfee0eed1cc02f4b9" > fmpz_add_n< / a > (fmpz_t f, < span class = "keyword" > const< / span > fmpz_t g, < span class = "keyword" > const< / span > fmpz_t h);< / div >
< div class = "line" > < a name = "l00167" > < / a > < span class = "lineno" > 167< / span >   < / div >
< div class = "line" > < a name = "l00178" > < / a > < span class = "lineno" > 178< / span >   < span class = "keywordtype" > void< / span > < / div >
< div class = "line" > < a name = "l00179" > < / a > < span class = "lineno" > 179< / span >   < a class = "code" href = "ntru__poly_8h.html#ae96f479ddd97af709a0ed50817fd3fb3" > poly_starmultiply< / a > (< span class = "keyword" > const< / span > fmpz_poly_t a,< / div >
< div class = "line" > < a name = "l00180" > < / a > < span class = "lineno" > 180< / span >   < span class = "keyword" > const< / span > fmpz_poly_t b,< / div >
< div class = "line" > < a name = "l00181" > < / a > < span class = "lineno" > 181< / span >   fmpz_poly_t c,< / div >
< div class = "line" > < a name = "l00182" > < / a > < span class = "lineno" > 182< / span >   < span class = "keyword" > const< / span > < a class = "code" href = "structntru__params.html" > ntru_params< / a > *params,< / div >
< div class = "line" > < a name = "l00183" > < / a > < span class = "lineno" > 183< / span >   uint32_t modulus);< / div >
< div class = "line" > < a name = "l00184" > < / a > < span class = "lineno" > 184< / span >   < / div >
< div class = "line" > < a name = "l00197" > < / a > < span class = "lineno" > 197< / span >   < span class = "keywordtype" > bool< / span > < / div >
< div class = "line" > < a name = "l00198" > < / a > < span class = "lineno" > 198< / span >   < a class = "code" href = "ntru__poly_8h.html#ace66beb516186e52f9b5b1ed8a397849" > poly_inverse_poly_q< / a > (< span class = "keyword" > const< / span > fmpz_poly_t a,< / div >
< div class = "line" > < a name = "l00199" > < / a > < span class = "lineno" > 199< / span >   fmpz_poly_t Fq,< / div >
< div class = "line" > < a name = "l00200" > < / a > < span class = "lineno" > 200< / span >   < span class = "keyword" > const< / span > < a class = "code" href = "structntru__params.html" > ntru_params< / a > *params);< / div >
< div class = "line" > < a name = "l00201" > < / a > < span class = "lineno" > 201< / span >   < / div >
< div class = "line" > < a name = "l00212" > < / a > < span class = "lineno" > 212< / span >   < span class = "keywordtype" > bool< / span > < / div >
< div class = "line" > < a name = "l00213" > < / a > < span class = "lineno" > 213< / span >   < a class = "code" href = "ntru__poly_8h.html#ae77b2014df42e5ed612206d5930ac608" > poly_inverse_poly_p< / a > (< span class = "keyword" > const< / span > fmpz_poly_t a,< / div >
< div class = "line" > < a name = "l00214" > < / a > < span class = "lineno" > 214< / span >   fmpz_poly_t Fp,< / div >
< div class = "line" > < a name = "l00215" > < / a > < span class = "lineno" > 215< / span >   < span class = "keyword" > const< / span > < a class = "code" href = "structntru__params.html" > ntru_params< / a > *params);< / div >
< div class = "line" > < a name = "l00216" > < / a > < span class = "lineno" > 216< / span >   < / div >
< div class = "line" > < a name = "l00222" > < / a > < span class = "lineno" > 222< / span >   < span class = "keywordtype" > void< / span > < / div >
< div class = "line" > < a name = "l00223" > < / a > < span class = "lineno" > 223< / span >   < a class = "code" href = "ntru__poly_8h.html#a80a8ce0f2944bc3df94291ef2f781498" > poly_draw< / a > (< span class = "keyword" > const< / span > fmpz_poly_t poly);< / div >
< div class = "line" > < a name = "l00224" > < / a > < span class = "lineno" > 224< / span >   < / div >
< div class = "line" > < a name = "l00231" > < / a > < span class = "lineno" > 231< / span >   < span class = "keywordtype" > void< / span > < / div >
< div class = "line" > < a name = "l00232" > < / a > < span class = "lineno" > 232< / span >   < a class = "code" href = "ntru__poly_8h.html#aec098d00160d2d502eb1f8a7c3fa5453" > poly_draw_pretty< / a > (< span class = "keyword" > const< / span > fmpz_poly_t poly);< / div >
< div class = "line" > < a name = "l00233" > < / a > < span class = "lineno" > 233< / span >   < / div >
< div class = "line" > < a name = "l00234" > < / a > < span class = "lineno" > 234< / span >   < / div >
< div class = "line" > < a name = "l00235" > < / a > < span class = "lineno" > 235< / span >   < span class = "preprocessor" > #endif < / span > < span class = "comment" > /* NTRU_POLY_H */< / span > < span class = "preprocessor" > < / span > < / div >
< div class = "ttc" id = "ntru__poly_8h_html_a83297bc2ab5b6e7ce42553570dd8268f" > < div class = "ttname" > < a href = "ntru__poly_8h.html#a83297bc2ab5b6e7ce42553570dd8268f" > poly_delete_all< / a > < / div > < div class = "ttdeci" > void poly_delete_all(fmpz_poly_t poly,...)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "ntru__poly_8c_source.html#l00149" > ntru_poly.c:149< / a > < / div > < / div >
< div class = "ttc" id = "ntru__poly_8h_html_ab1f966fe680d1ce7c19c8c812d1932a7" > < div class = "ttname" > < a href = "ntru__poly_8h.html#ab1f966fe680d1ce7c19c8c812d1932a7" > fmpz_poly_set_coeff_fmpz_n< / a > < / div > < div class = "ttdeci" > void fmpz_poly_set_coeff_fmpz_n(fmpz_poly_t poly, slong n, const fmpz_t x)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "ntru__poly_8c_source.html#l00198" > ntru_poly.c:198< / a > < / div > < / div >
< div class = "ttc" id = "ntru__poly_8h_html_a59da1b7962829af8f18d58c05f588606" > < div class = "ttname" > < a href = "ntru__poly_8h.html#a59da1b7962829af8f18d58c05f588606" > fmpz_invmod_ui< / a > < / div > < div class = "ttdeci" > int fmpz_invmod_ui(fmpz_t f, const fmpz_t g, const uint32_t mod)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "ntru__poly_8c_source.html#l00210" > ntru_poly.c:210< / a > < / div > < / div >
< div class = "ttc" id = "ntru__poly_8h_html_a20f86085d5eb5372fd25dc270069d38c" > < div class = "ttname" > < a href = "ntru__poly_8h.html#a20f86085d5eb5372fd25dc270069d38c" > poly_new< / a > < / div > < div class = "ttdeci" > void poly_new(fmpz_poly_t new_poly, int const *const c, const size_t len)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "ntru__poly_8c_source.html#l00110" > ntru_poly.c:110< / a > < / div > < / div >
< div class = "ttc" id = "ntru__poly_8h_html_a80a8ce0f2944bc3df94291ef2f781498" > < div class = "ttname" > < a href = "ntru__poly_8h.html#a80a8ce0f2944bc3df94291ef2f781498" > poly_draw< / a > < / div > < div class = "ttdeci" > void poly_draw(const fmpz_poly_t poly)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "ntru__poly_8c_source.html#l00574" > ntru_poly.c:574< / a > < / div > < / div >
< div class = "ttc" id = "structntru__params_html" > < div class = "ttname" > < a href = "structntru__params.html" > ntru_params< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "ntru__params_8h_source.html#l00043" > ntru_params.h:43< / a > < / div > < / div >
< div class = "ttc" id = "ntru__params_8h_html" > < div class = "ttname" > < a href = "ntru__params_8h.html" > ntru_params.h< / a > < / div > < div class = "ttdoc" > NTRU parameters. < / div > < / div >
< div class = "ttc" id = "ntru__poly_8h_html_a7c4f5e96355518dc97a23da8f34b661a" > < div class = "ttname" > < a href = "ntru__poly_8h.html#a7c4f5e96355518dc97a23da8f34b661a" > fmpz_poly_mod< / a > < / div > < div class = "ttdeci" > void fmpz_poly_mod(fmpz_poly_t a, const uint32_t mod)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "ntru__poly_8c_source.html#l00182" > ntru_poly.c:182< / a > < / div > < / div >
< div class = "ttc" id = "ntru__poly_8h_html_aec098d00160d2d502eb1f8a7c3fa5453" > < div class = "ttname" > < a href = "ntru__poly_8h.html#aec098d00160d2d502eb1f8a7c3fa5453" > poly_draw_pretty< / a > < / div > < div class = "ttdeci" > void poly_draw_pretty(const fmpz_poly_t poly)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "ntru__poly_8c_source.html#l00583" > ntru_poly.c:583< / a > < / div > < / div >
< div class = "ttc" id = "ntru__poly_8h_html_ae77b2014df42e5ed612206d5930ac608" > < div class = "ttname" > < a href = "ntru__poly_8h.html#ae77b2014df42e5ed612206d5930ac608" > poly_inverse_poly_p< / a > < / div > < div class = "ttdeci" > bool poly_inverse_poly_p(const fmpz_poly_t a, fmpz_poly_t Fp, const ntru_params *params)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "ntru__poly_8c_source.html#l00409" > ntru_poly.c:409< / a > < / div > < / div >
< div class = "ttc" id = "ntru__poly_8h_html_ae96f479ddd97af709a0ed50817fd3fb3" > < div class = "ttname" > < a href = "ntru__poly_8h.html#ae96f479ddd97af709a0ed50817fd3fb3" > poly_starmultiply< / a > < / div > < div class = "ttdeci" > void poly_starmultiply(const fmpz_poly_t a, const fmpz_poly_t b, fmpz_poly_t c, const ntru_params *params, uint32_t modulus)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "ntru__poly_8c_source.html#l00239" > ntru_poly.c:239< / a > < / div > < / div >
< div class = "ttc" id = "ntru__poly_8h_html_a3f53c63383ff301b20dcede0783869a7" > < div class = "ttname" > < a href = "ntru__poly_8h.html#a3f53c63383ff301b20dcede0783869a7" > poly_delete_array< / a > < / div > < div class = "ttdeci" > void poly_delete_array(fmpz_poly_t **poly_array)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "ntru__poly_8c_source.html#l00131" > ntru_poly.c:131< / a > < / div > < / div >
< div class = "ttc" id = "ntru__poly_8h_html_ad2a11e832808ef1cfee0eed1cc02f4b9" > < div class = "ttname" > < a href = "ntru__poly_8h.html#ad2a11e832808ef1cfee0eed1cc02f4b9" > fmpz_add_n< / a > < / div > < div class = "ttdeci" > void fmpz_add_n(fmpz_t f, const fmpz_t g, const fmpz_t h)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "ntru__poly_8c_source.html#l00222" > ntru_poly.c:222< / a > < / div > < / div >
< div class = "ttc" id = "ntru__poly_8h_html_ace66beb516186e52f9b5b1ed8a397849" > < div class = "ttname" > < a href = "ntru__poly_8h.html#ace66beb516186e52f9b5b1ed8a397849" > poly_inverse_poly_q< / a > < / div > < div class = "ttdeci" > bool poly_inverse_poly_q(const fmpz_poly_t a, fmpz_poly_t Fq, const ntru_params *params)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "ntru__poly_8c_source.html#l00297" > ntru_poly.c:297< / a > < / div > < / div >
< div class = "ttc" id = "ntru__poly_8h_html_a27ff2116f70bcbf5028219adcae4c5f0" > < div class = "ttname" > < a href = "ntru__poly_8h.html#a27ff2116f70bcbf5028219adcae4c5f0" > poly_delete< / a > < / div > < div class = "ttdeci" > void poly_delete(fmpz_poly_t poly)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "ntru__poly_8c_source.html#l00123" > ntru_poly.c:123< / a > < / div > < / div >
< div class = "ttc" id = "ntru__err_8h_html" > < div class = "ttname" > < a href = "ntru__err_8h.html" > ntru_err.h< / a > < / div > < div class = "ttdoc" > error handling < / div > < / div >
< div class = "ttc" id = "ntru__poly_8h_html_ae7d0d8364dba689df3fb4904610634cc" > < div class = "ttname" > < a href = "ntru__poly_8h.html#ae7d0d8364dba689df3fb4904610634cc" > fmpz_poly_mod_unsigned< / a > < / div > < div class = "ttdeci" > void fmpz_poly_mod_unsigned(fmpz_poly_t a, const uint32_t mod)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "ntru__poly_8c_source.html#l00166" > ntru_poly.c:166< / a > < / div > < / div >
< div class = "ttc" id = "ntru__poly_8h_html_aaaac83ec72414aa208832442657c3520" > < div class = "ttname" > < a href = "ntru__poly_8h.html#aaaac83ec72414aa208832442657c3520" > fmpz_cmp_si_n< / a > < / div > < div class = "ttdeci" > int fmpz_cmp_si_n(const fmpz_t f, slong g)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "ntru__poly_8c_source.html#l00093" > ntru_poly.c:93< / a > < / div > < / div >
< / div > <!-- fragment --> < / div > <!-- contents -->
<!-- start footer part -->
2014-06-08 21:44:14 +00:00
< hr class = "footer" / > < address class = "footer" > < small >
2014-06-08 23:33:25 +00:00
Generated on Sun Jun 8 2014 23:33:23 for post quantum cryptography by   < a href = "http://www.doxygen.org/index.html" >
2014-06-08 21:44:14 +00:00
< img class = "footer" src = "doxygen.png" alt = "doxygen" / >
2014-06-08 23:33:25 +00:00
< / a > 1.8.7
2014-06-08 21:44:14 +00:00
< / small > < / address >
< / body >
< / html >