</head><bodyclass="rustdoc mod crate"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="sidebar"><divclass="sidebar-menu"role="button">☰</div><aclass="sidebar-logo"href="../halo2_gadgets/index.html"><divclass="logo-container"><imgclass="rust-logo"src="../rust-logo.svg"alt="logo"></div>
</a><h2class="location"><ahref="#">Crate halo2_gadgets</a></h2><divclass="block version"><divclass="narrow-helper"></div><p>Version 0.1.0-beta.1</p></div><divclass="sidebar-elems"><aid="all-types"href="all.html"><p>See all halo2_gadgets's items</p></a><divclass="block items"><ul><li><ahref="#modules">Modules</a></li></ul></div><divid="sidebar-vars"data-name="halo2_gadgets"data-ty="mod"data-relpath=""></div><scriptdefersrc="sidebar-items.js"></script></div></nav><main><divclass="width-limiter"><divclass="sub-container"><aclass="sub-logo-container"href="../halo2_gadgets/index.html"><imgclass="rust-logo"src="../rust-logo.svg"alt="logo"></a><navclass="sub"><divclass="theme-picker"><buttonid="theme-picker"aria-label="Pick another theme!"aria-haspopup="menu"title="themes"><imgwidth="18"height="18"alt="Pick another theme!"src="../brush.svg"></button><divid="theme-choices"role="menu"></div></div><formclass="search-form"><divclass="search-container"><div>
<inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"></div><buttontype="button"id="help-button"title="help">?</button><aid="settings-menu"href="../settings.html"title="settings"><imgwidth="18"height="18"alt="Change settings"src="../wheel.svg"></a></div></form></nav></div><sectionid="main-content"class="content"><divclass="main-heading">
<h1class="fqn"><spanclass="in-band">Crate <aclass="mod"href="#">halo2_gadgets</a><buttonid="copy-path"onclick="copy_path(this)"title="Copy item path to clipboard"><imgsrc="../clipboard.svg"width="19"height="18"alt="Copy item path"></button></span></h1><spanclass="out-of-band"><aclass="srclink"href="../src/halo2_gadgets/lib.rs.html#1-19"title="goto source code">source</a> · <aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass="inner">−</span>]</a></span></div><detailsclass="rustdoc-toggle top-doc"open><summaryclass="hideme"><span>Expand description</span></summary><divclass="docblock"><h2id="halo2_gadgets"class="section-header"><ahref="#halo2_gadgets">halo2_gadgets</a></h2></div></details><h2id="modules"class="small-section-header"><ahref="#modules">Modules</a></h2>
<divclass="item-table"><divclass="item-row"><divclass="item-left module-item"><aclass="mod"href="ecc/index.html"title="halo2_gadgets::ecc mod">ecc</a></div><divclass="item-right docblock-short"><p>Gadgets for elliptic curve operations.</p>
</div></div><divclass="item-row"><divclass="item-left module-item"><aclass="mod"href="poseidon/index.html"title="halo2_gadgets::poseidon mod">poseidon</a></div><divclass="item-right docblock-short"><p>Gadget and chips for the Poseidon algebraic hash function.</p>
</div></div><divclass="item-row"><divclass="item-left module-item"><aclass="mod"href="primitives/index.html"title="halo2_gadgets::primitives mod">primitives</a></div><divclass="item-right docblock-short"><p>Primitives used in the Orchard protocol.</p>
</div></div><divclass="item-row"><divclass="item-left module-item"><aclass="mod"href="sha256/index.html"title="halo2_gadgets::sha256 mod">sha256</a></div><divclass="item-right docblock-short"><p>Gadget and chips for the <ahref="https://tools.ietf.org/html/rfc6234">SHA-256</a> hash function.</p>
</div></div><divclass="item-row"><divclass="item-left module-item"><aclass="mod"href="sinsemilla/index.html"title="halo2_gadgets::sinsemilla mod">sinsemilla</a></div><divclass="item-right docblock-short"><p>Gadgets for the Sinsemilla hash function.</p>